module id override new position

GK User
Sat May 21, 2016 12:53 am
Hello,
I have created a new position in the template and it works perfectly. But when I go to template manager to create an ID override for this new position, it doesn't appear in the dropdown menu. I don't know if I have to add the position to another file, I have modify by now default.php and templatedetails.xml
Thanks
User avatar
Senior Boarder

GK User
Sat May 21, 2016 8:28 am
Hi,

I am pretty sure you forgot these lines in templateDetails.xml! (somewhere line 272)
Look for:
<!-- Menu settings --> and fined the line with>>>

<field name="menu_col_width" class="input-pixels" type="text" default="200" label="TPL_GK_LANG_MENU_COL_WIDTH" description="TPL_GK_LANG_MENU_COL_WIDTH_DESC" />
<field name="menu_duration" class="input-ms" type="text" default="500" label="TPL_GK_LANG_MENU_DURATION" description="TPL_GK_LANG_MENU_DURATION_DESC" />
<field name="moduleid_override" type="moduleidoverride" label="TPL_GK_LANG_MODULE_ID_OVERRIDE" description="TPL_GK_LANG_MODULE_ID_OVERRIDE_DESC" module_positions="mainbody,mainbody_top,mainbody_bottom,top1,top2,bottom1,bottom2,bottom3,bottom4,bottom5,bottom6,bottom7,bottom8,bottom9,bottom10" />
</fieldset>

Example: I add bottom7 bottom8 bottom9 bottom10

Best Regards,
Stef
User avatar
Expert Boarder

teitbite
Tue May 24, 2016 2:51 pm
Hi

Also please add new module position to list in the same file:

Code: Select all
<position>bottom4</position>
User avatar
Moderator

GK User
Tue May 24, 2016 4:28 pm
Perfect¡¡ Working¡¡
Thanks.
User avatar
Senior Boarder

teitbite
Fri May 27, 2016 2:38 pm
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron