
Search In
In order to add static block in page (.phtml) template. Follow the steps below:
Display Static Block in Phtml file & CMS page.
In XML File:
<referenceContainer name="content">
<block class="Magento\Cms\Block\Block" name="block_identi
Program:
You can print your message in C with using a semicolon. Let see how?
e.g. Let us print the message Welcome in C.
There is three ways:
1. Using switch:
#include<stdio.h>
void main(){
switch(printf("Welcome"))
For editing user information in cake php by clicking on edit button we have to first pass user id in URL by using below code in our view.
<?php echo $this->Html->link('Edit',array('action'=>'edit/'.$user['User']['id']));
A
For deleting user information in cake php by clicking on delete button we have to first pass user id in URL by using below code in our view.
<?php echo $this->Html->link('Delete',array('action'=>'del'.$user['User']['id']));
And we hav
This blog will help you to modify the column name of paginator sorting. I am writing this blog specially for beginners as I was also facing this small issue. If you want to rename the column then you need to pass second parameter as desired colu
The following code will show the Alert with textField :-
UIAlertController *alert=[UIAlertController alertControllerWithTitle:@"Alert Title" message:nil preferredStyle:UIAlertControllerStyleAlert];
// to add textField
[alert addTextFi
Hello Friends,
If you are looking to flash success messages in Symfony. Please review the code below:
1) Open your controller and put the below code with your changes:
// Define your success message as below
$request->getSession()
Hello Friends,
If you are looking to flash error message in Symfony. Please review the code as below:
Please open your controller function where you need to display error message. Please review the below example and update your code accordingly:
You need to parse an URL and return all the parameters from the URL, you can use the below javascript function:-
var getURLParameters = function(url) {
var result = {};
var searchIndex = url.indexOf("?");
if (searchIndex == -1 ) re
Creating a documentation of a Java source file is not a big task, it can be done in just 3 steps which are explained below.
We use Javadoc tool to create documentation API for a java source file. Let's create a file with class name Documenttool
