Wednesday, 17 August 2016 11:53

Joomla 3.6 Template Parameters - Tab Display Names & Text Parameters Tutorial Featured

Written by 
Rate this item
(0 votes)

In this tutorial, we go over how to create a template parameter fieldset, how to rename that fieldsets display tab, and how to display the fields within the fieldset on the webpage.


Code Snippets

templateDetails.xml

<fieldset name="legalModal">
<field name="welcomeText" type="text" default="" label="Welcome Text" description="Welcome" />
<field name="friendText" type="text" default="" label="Friend Text" description="Legal Age 21 Drinking" />
</fieldset>

en-GB.com_templates.ini

COM_TEMPLATES_LEGALMODAL_FIELDSET_LABEL="Legal Modal"

index.php

<p class="welcome text-center"> <?php echo $this->params->get('welcomeText'); ?></p>
<p class="text-center"> <?php echo $this->params->get('friendText'); ?></p>
Read 1802 times Last modified on Wednesday, 17 August 2016 13:49
Jeremy Lewis

Jeremy has an B.S. Degree IT: Software Development and over 5 years’ experience with system devlopment.

Slide background

Goza Tequila

Branded Website - June 2016

When I met Gabe and the rest of the team at Ringer I really felt like they could bring my site to the next level. They brought plenty of ideas to the table in our first consultation. That never stopped throughout the process of building the site out. That’s why we ended up with such a great website, custom to us. I’M HAPPY I HIRED A RINGER.

WATCH TESTIMONIAL

Slide background

Custom Suit Shop

Custom Responsive Website - June 2013

It was nice because there’s the professional photographer, there’s the models, everything’s coming together and I look up and there is Gabe, Gabe actually comes to the meeting to supervise for the whole day, it was something I didn’t expect, A very nice touch, a personal touch!

WATCH TESTIMONIAL

Slide background

Hidden Gems 411

Custom Social Network Platform - December 2016

"While working with Ringer, they always kept me abreast of what was going on with the project. I never had to ask what was happening. They always kept me informed. The website is way better then I ever dreamed of. I would highly recommend Ringer to work on your project."

WATCH TESTIMONIAL