Rhuk Solar Flare templatedetails.xml No Positions?

Discuss the development and implementation of Joomla! 1.0.x templates here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
shoushan
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Tue Jul 15, 2008 7:25 pm

Rhuk Solar Flare templatedetails.xml No Positions?

Post by shoushan » Mon May 04, 2009 1:34 am

I thought in order to add a new module position in my template I had to add the position also in the templatedetails.xml. However, the template I am using (Rhuk Solar Flare) does not have this section in the file. Does anyone know why? Should I add the all the positions original and the new ones I want to create?

I ask b/c I created new positions and put mosloadmodule code into the html and published modules but they don't show up. I see the new positions that I have added when I go to "inline with positions" but the published modules don't show.

Joomla 1.0
VM1.1.0
Rhuk Solar Flare template
Last edited by shoushan on Sat May 09, 2009 5:30 am, edited 1 time in total.

sashi
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 102
Joined: Thu Dec 25, 2008 8:05 am

Re: Rhuk Solar Flare templatedetails.xml No Positions?

Post by sashi » Tue May 05, 2009 8:00 am

Hi shoushan,

For Joomla 1.0.x you can add new module positions from the backend.

Login as admin and go to site->Template Manager->Module Positions

and add the new position there. As far as I know you add template positions in Joomla 1.5.x series.

The second part of your question is not clear. could you give more details about the same?

shoushan
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Tue Jul 15, 2008 7:25 pm

Re: Rhuk Solar Flare templatedetails.xml No Positions?

Post by shoushan » Thu May 07, 2009 9:09 pm

Sorry,

So this is what I thought I had to do.

1. Create module position in Site-->Template Manager-->Module Positions
Here I can choose from this list if it's not being used or add a new one

2. GO to Templatedetails.xml and add the position name here under <positions>

3. Put mosLoadModules code into index.php under html tab in backend for template

4. Publish Module in that position

That is what all the directions say.
However, I don't have a positions section in my templatedetails.xml file (step2)
Should I add the <position>User6</position> inside the templatedetails.xml file even though none of the original positions are in this file?

sashi
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 102
Joined: Thu Dec 25, 2008 8:05 am

Re: Rhuk Solar Flare templatedetails.xml No Positions?

Post by sashi » Fri May 08, 2009 3:56 pm

shoushan,

If you are using Joomla 1.0.x then there's no need to add <position></position> parameters in the templatedetails.xml.

All you need to do is to ensure that you follow the steps 1 thru 4 except step 2 (step2, which is not applicable for Joomla 1.0.x series.)

Once you create a new module position and assign the required module that new position, ensure that it is displayed on required pages. (This you can verify by looking at the module parameters).

And specify the new position name in the phpmosloadmodules code.

Ex; If "test" is the new position then in the index.php file you'll write as -

<?php mosloadmodules("test"); ?>

I hope its clear.


Locked

Return to “Templates & CSS - 1.0.x”