We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Charles
  2. General Discussion
  3. Friday, 06 December 2013
  4.  Subscribe via email
Hi
I'm making a template using the T3 framework.
When people upload the template

I want the menu default set as the "Mega Menu"
not the joomla module menu.

Do you know how I do this please?

Many Thanks for your help
Charles
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Charles,

You can overwrite the default config of T3 by follow these steps:

1. Open \templates\t3_blank\templateDetails.xml and add these xml inside <fields> ... </fields> tag.

<fieldset name="navigation_params" label="T3_NAVIGATION_LABEL" description="T3_NAVIGATION_DESC">

<field name="navigation_type" type="list" class="btn-group" default="megamenu"
label="T3_NAVIGATION_TYPE_LABEL"
description="T3_NAVIGATION_TYPE_DESC">
<option value="joomla">Joomla Module</option>
<option value="megamenu">Megamenu</option>
</field>

</fieldset>


Open \templates\t3_blank\tpls\blocks\mainnav.php
Change
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>

to
<?php if ($this->getParam('navigation_type', 'megamenu') == 'megamenu') : ?>


Hope it helps,

Regads
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.