Template positions missing

Template positions missing was created by jennymac

Posted 8 years 9 months ago #28462
Hi,
I have been working on my development site. Something has happened and Joomla is not recognizing my template.
If I create a module and try to assign it to a position, my template (petalsandpatches) is not an option: my only options are prostar and custom (I uninstalled beez) and most of the custom options do not match the positions I created in my template.
From the front end, the site seems to be working as expected, although I can't assign any new modules etc because of the position issue.
Any suggestions as to what has happened.
I have version 3.3.20 installed at the moment.
Thanks
Jenny

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Template positions missing

Posted 8 years 9 months ago #28472
Hi
check your XML file, this is what is used for the modules positions and options
may be a special character like "&" that you have put in a field, or a bad code somewhere
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by jennymac on topic Template positions missing

Posted 8 years 9 months ago #28486
Thanks - where do I find the xml file?
There is one called "templateDetails.xml" in components>com_templateck>projects>petalsandpatches. Is that what you mean?
i could not see any 'bad code' but I am not a coder so could have missed it.

File Attachment:

File Name: templateDe...File.txt
File Size:3 KB


Thanks.
Jenny
Attachments:

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Template positions missing

Posted 8 years 9 months ago #28489
yes, but you can fill this information into template creator

<author>Jenny McWilliam & Tim Knell</author>

remove the "&"

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by jennymac on topic Template positions missing

Posted 8 years 9 months ago #28490
Thanks Cedric - removed the '&' and the template is displaying in the potions section (yay), although not all positions. I used a module block of 5 and named them above-main-1 to 5. Above-main-2-5 are selectable but above-main-1 is missing.
Also, I created an horizontal menu and selected right justified. In the template creator is is right justified, but live ( www.admingba.org.au ) is is left justified.
Have I got more code wrong?
Thanks
Blessings
Jenny

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Template positions missing

Posted 8 years 9 months ago #28491
yes in your xml the position is missing.
Code:
<positions> <position>header</position> <position>topmenu</position> <position>breadcrumbs</position> <position>position-2</position> <position>abovemain-2</position> <position>abovemain-3</position> <position>abovemain-4</position> <position>abovemain-5</position> <position>left</position> <position>position-1</position> <position>position-0</position> <position>footer</position> </positions>

for the menu remove the nav-pills suffix of the module
then if you need more investigation, please use the support contact form that comes with your membership please

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.691 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1136 guests and 3 members online