Tag Archives: Template

Play With Structure/Template In Liferay

Hi All, When we are creating a structure for a webcontent with some name, then some time we require to get structureId of that structure programmatically. Below is the sample code for that: private String getStructureId() { String STRUCTUREID = null; try { DynamicQuery dynamicQuery = DynamicQueryFactoryUtil.forClass(JournalStructure.class, PortalClassLoaderUtil.getClassLoader()).add(PropertyFactoryUtil. forName(“name”).like(“%YOUR_STRUCTURE_NAME_HERE%”)); List structures = JournalStructureLocalServiceUtil.dynamicQuery(dynamicQuery, 0, 1); […]


How to add custom template using woocommerce.

How to add custom template using woocommerce. 1.Find the template file you want to change inside “wp-content/plugins/woocommerce/templates” . For Ex: “wp-content/plugins/woocommerce/templates/order/order-details.php” 2.Create folders in your plugin “wp-content/plugins/YOUR-PLUGIN/templates/order/order-details.php”. You can make changes in this file as per your needs. 3. Add the following code in your plugin file: 4.Thats it. Default template will be overridden with […]


Setting up an Apache server using AWS CloudFormation

This a is a brief and simple guide to spinning up an instance, installing Apache, and writing output to a webpage. Note that by following this guide you can incur charges. Im not responsible for them and will not be picking up your bill. Setup 1. Have an AWS account. You can signup for one […]


Lite Free Admin Panel v1.0 – Free Bootstrap Theme

Lite Fee Admin Panel es otra plantilla de administración hecha con HTML5,CSS3, Bootstrap Framework con algunos efectos JQuery, la plantilla me tarde en subirla ya que no tenia mucho tiempo disponible frente al ordenador, tiene unos ligeros cambios a los otros paneles de administración, ya que este es muy ligero pero trata de usar todo […]