YII Frame Work

Yii is a high-performance PHP framework used for developing web applications. It’s an open-source framework that follows the MVC (Model-View-Controller) architectural pattern, which helps in organizing code and separating concerns. Features of Yii Framework: High Performance: Yii is known for its high performance. It is built with performance optimization in mind and utilizes caching mechanisms,… Continue reading YII Frame Work

Support SVG in WordPress dashboard media

To add support for SVG (Scalable Vector Graphics) images in the WordPress dashboard using the functions.php file of your theme or a custom plugin, you can use the wp_check_filetype_and_ext filter to allow SVG file uploads. Open your theme’s functions.php file or create a custom plugin: Appearance > Theme Editor // Allow SVG file uploads function… Continue reading Support SVG in WordPress dashboard media

How to Overwrite a File in the File Cabinet Using SuiteScript 2.0

This article will help you overwrite an existing file with the same name in the file cabinet using SuiteScript 2.0. 1. Create and upload a scheduled script: Save the below code as .js file: function execute(scriptContext) {   var fileId = ‘9505’; //file ID   var fileObj = file.load({     id: fileId   });   var fileType = fileObj.fileType;   var fileName… Continue reading How to Overwrite a File in the File Cabinet Using SuiteScript 2.0

How to resolve this issue while using map reduce script”TypeError: Cannot read property “OVERWRITE” from undefined”

This article will help you overwrite an existing file with the same name in the file cabinet using SuiteScript 2.0. 1. Create and upload a scheduled script: Save the below code as .js file: function execute(scriptContext) { var fileId = ‘9505‘; //file ID var fileObj = file.load({ id: fileId }); var fileType = fileObj.fileType; var fileName… Continue reading How to resolve this issue while using map reduce script”TypeError: Cannot read property “OVERWRITE” from undefined”

Model Checking in Software Testing

Model checking is a powerful formal verification technique used in software testing to ensure the correctness and reliability of systems. It involves systematically exploring all possible states and transitions of a finite-state model to verify whether it satisfies specified properties or requirements. Overview: In software testing, model checking begins with constructing a formal model of… Continue reading Model Checking in Software Testing

In extensions on SuiteCommerce 2020.1 and later, use SCModel instead of Backbone.Model.

define( ‘MySCModel.Model’, [ ‘SCModel’, ‘Utils’ ], function(SCModelComponent, Utils){ ‘use strict’; var SCModel = SCModelComponent.SCModel; function MySCModel() { SCModel.call(this); // Define properties of the model. this.urlRoot = function() { return Utils.getAbsoluteUrl( getExtensionAssetsPath(“services/MainModule.Service.ss”) ) } } MySCModel.prototype = Object.create(SCModel.prototype); MySCModel.prototype.constructor = MySCModel; // Return the AMD constructor. return MySCModel; } );

Create Carousel Slider

Here we have Created Carousel Slider in which we have 2 button left and right When we click on the button left or right each time 1 image will move to that Direction Smoothly and the image will highlight Example Html Code   <h1 class=”sliderHeader”>Carousel Slider Example JJ</h1>   <div style=”height: 20px”></div>   <div class=”wiper”>    <button class=”wiper-button wiper-button__right”>… Continue reading Create Carousel Slider

SCSS SCA Style Guide

Use the SCSS as given Below //**Paste the following code into the Sass file for the page that you would like to display the Style Guide on**// //Color classes for style table .sc-color-primary-cell {     background-color: $sc-color-primary;     text-align: center; } .sc-color-secondary-cell {     background-color: $sc-color-secondary;     text-align: center; } .sc-neutral-shade-cell {     background-color: $sc-neutral-shade;     text-align: center; } .sc-neutral-shade-700-cell {… Continue reading SCSS SCA Style Guide

How to execute a header menu solely through CSS implementation

Showing example: No JS is required To create a responsive header menu using pure HTML and CSS, you can utilize CSS media queries to adjust the menu layout and styling based on the screen size. Below is an example of how you can implement a simple responsive header menu: HTML <!DOCTYPE html> <html lang=”en”> <head>… Continue reading How to execute a header menu solely through CSS implementation

Published
Categorized as Word Press Tagged

Breadcrumb using Yoast SEO Plugin in WP

Log in to your WordPress website. Click on ‘Yoast SEO’ in the left-hand menu. Navigate to the ‘Settings’ section. In the settings menu, click on ‘Advanced’. Select ‘Breadcrumbs’ from the expanded menu. Scroll down to the bottom of the screen and toggle the switch behind ‘Enable breadcrumbs for your theme’. If you’ve enabled breadcrumbs, configure the settings according to your preference. Add theme support for Yoast… Continue reading Breadcrumb using Yoast SEO Plugin in WP