
Search In
Hello reader's today we will discuss about "**Adding settings to template**" .
Add this code to your theme's functions.php file:
<!--?php
function setup_theme_admin_menus() {
add_menu_page('Theme settings', 'Example theme', 'manage_options'
Hello Guys
Below code will help you to build java applet in liferay portlet.
Write below code in view.jsp :
<applet name="Demo" id="Demo" code="com.AppletDemo" codebase='<%= themeDisplay.getCDNBaseURL()+"/PortletName" %>' width="450" heig
PHP is one of the scripting language. In which session handling is one of the key thing mostly using in web application.
Suppose you build a website and allow to login everyone in website, You need to track user every step until they log out our sys
We can modify Liferay JSP, services, properties by using Hooks. One of the main use of Hook is we can implement our Custom Action.
So what is Custom Action?
When you see portal.properties in your liferay source code. You will see there multiple
Hi guys,
So many times people search for how to create animated burger icon used for menu, that changes to cross on click.
Here I have written code for that using html, css and a very little javascript. where the 3 horizontal lines gets converted i
We are going to process ajax request in wordpress shortcode on button click. First of all you need to add the shortcode in wordpress. Kindly write below code in function.php
<?php
function callback_listing($atts, $content = null)
{
extract(sh
In PHP it is very easy to read data from CSV file using fgetcsv(), which is used to read data from a CSV file. This function reads each line of a CSV file and assign values into an array. The function returns the array of CSV fields. It returns FALSE
Accordion Menu are like the dropdown menu with some effects of animation. It has some top menu and dropdown list inside that menu and some other top menu and another dropdown list inside this menu.
When we click on the first top menu the dropdown li
Hello Reader's ,
Below is the code for showing multiple location .
Just create a HTML file 'index.html' and put the below code inside the body tag.
<script src="http://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"><
Hello Readers if you want to upload files (images or music) then now Angular JS offers you a way lot more esier. Using angular give user a light and fast interface which is very useful for low internet speed connections.
Lets see the working example
