How can i add new module positions on a Joomla 1.5 site?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Mon Oct 16, 2006 10:43 pm
How can i add new module positions on a Joomla 1.5 site?
On the 1.0.x series we could add new module positions on the joomla installation via Template manager- module positions (total 50 places).
How can we do this in 1.5?
How can we do this in 1.5?
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Virtuoso
- Posts: 3592
- Joined: Sun Jun 25, 2006 12:12 am
- Location: Salisbury, NC/USA (N. of Charlotte)
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
Admin B/E >> Module Manager >> New >> select type >> then in location field, type in name of new module position.
Then in templateDetails.xml, in this section >> add your newly named module position.
breadcrumb
left
right
top
user1
user2
user3
user4
footer
debug
syndicate
Then, add the module to your template/index.php file like any other module.
Then in templateDetails.xml, in this section >> add your newly named module position.
breadcrumb
left
right
top
user1
user2
user3
user4
footer
debug
syndicate
Then, add the module to your template/index.php file like any other module.
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
- Quads
- Joomla! Intern
- Posts: 97
- Joined: Sat Jan 12, 2008 6:27 am
Re: How can i add new module positions on a Joomla 1.5 site?
The one thing I've been struggling on, and have mentioned it in other threads is module position.
Is there any standard or reference as to where module positions are?
Seems everyone is going their own thing in some of them, and some are by trial and error to find, but it would be nice if there was a reference to where the modules are typically located.
Is this documented in a thread, the wiki, or the joomla docs somewhere and I have never been able to find it?
Regards-
~Q
Is there any standard or reference as to where module positions are?
Seems everyone is going their own thing in some of them, and some are by trial and error to find, but it would be nice if there was a reference to where the modules are typically located.
Is this documented in a thread, the wiki, or the joomla docs somewhere and I have never been able to find it?
Regards-
~Q
- Quads
- Joomla! Intern
- Posts: 97
- Joined: Sat Jan 12, 2008 6:27 am
Re: How can i add new module positions on a Joomla 1.5 site?
Following up, I have a Joomla 1.5 book that shows one view of the template manager with a "module position" option as shown here:
However in my existing installation of 1.5.1 I don't have this option. (as seen here:)
Isthere something wrong with my install or did this go away with the final build of 1.5?
I'll also ask again if anyone has information on standard locations or positions on templates for each module?
However in my existing installation of 1.5.1 I don't have this option. (as seen here:)
Isthere something wrong with my install or did this go away with the final build of 1.5?
I'll also ask again if anyone has information on standard locations or positions on templates for each module?
-
- Joomla! Virtuoso
- Posts: 3592
- Joined: Sun Jun 25, 2006 12:12 am
- Location: Salisbury, NC/USA (N. of Charlotte)
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
None of our 1.5 installs have the "Module Positions" tab either.
Is that an SVN Nightly after the 1.5.1 Security Release???
Is that an SVN Nightly after the 1.5.1 Security Release???
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
- Quads
- Joomla! Intern
- Posts: 97
- Joined: Sat Jan 12, 2008 6:27 am
Re: How can i add new module positions on a Joomla 1.5 site?
I have no idea herb2000.
That image is from Building Sites with Joomla and it references Joomla 1.5 beta 1 in it.
Is that feature elsewhere or has it been dropped?
And is there a standard or reference for typical module positions in Joomla 1.5?
That image is from Building Sites with Joomla and it references Joomla 1.5 beta 1 in it.
Is that feature elsewhere or has it been dropped?
And is there a standard or reference for typical module positions in Joomla 1.5?
-
- Joomla! Virtuoso
- Posts: 3592
- Joined: Sun Jun 25, 2006 12:12 am
- Location: Salisbury, NC/USA (N. of Charlotte)
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
It must have been dropped. I just now installed a fresh SVN install and looked. It isn't there, so the core team must have nuked it back when. It sure would be helpful, eh? Anyway. Thanks for the response.
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
- Quads
- Joomla! Intern
- Posts: 97
- Joined: Sat Jan 12, 2008 6:27 am
Re: How can i add new module positions on a Joomla 1.5 site?
Any pointers with regards to me other question on templates and module position?
-
- Joomla! Virtuoso
- Posts: 3592
- Joined: Sun Jun 25, 2006 12:12 am
- Location: Salisbury, NC/USA (N. of Charlotte)
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
AH HA!
If you go to the template manager and click a template to edit and then at the top right "Preview" -- that's where it is now located. You can then open that display in a new window to see the full template.
MA VA LUS! Just MA VA LUS!!!
If you go to the template manager and click a template to edit and then at the top right "Preview" -- that's where it is now located. You can then open that display in a new window to see the full template.
MA VA LUS! Just MA VA LUS!!!
Author: Joomla! 5: Boots on the Ground, Volume 1 @ Amazon.com
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
Author: Joomla! 4: BASIC TRAINING - Boots on the Ground @ Amazon.com
Joomla! Magazine - https://magazine.joomla.org/all-issues/ ... c-training
-
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Feb 15, 2008 11:19 pm
Re: How can i add new module positions on a Joomla 1.5 site?
herb200mph,
All the preview in the template manager does is show how your site would look if the template were applied. Of course, it also shows the template positions marked but this is doable on the main site without going through the template manager just by using the ?tp=1 query string. The problem is, in 1.5, only positions with modules in them are shown. Is this true in the template manager preview as well?
All the preview in the template manager does is show how your site would look if the template were applied. Of course, it also shows the template positions marked but this is doable on the main site without going through the template manager just by using the ?tp=1 query string. The problem is, in 1.5, only positions with modules in them are shown. Is this true in the template manager preview as well?
- Quads
- Joomla! Intern
- Posts: 97
- Joined: Sat Jan 12, 2008 6:27 am
Re: How can i add new module positions on a Joomla 1.5 site?
If you play with it you will see / answer your question. Which is "no".
It doesn't show them as you would think in the template manager. The ?tp=1 string shows the same thing.
Modules which are in use.
Nice and all, but gives the user no idea of where other modules are located, should they be used. SO it's trial and error.
I've asked many times, in several different threads if this information exists, and it seems that nobody knows or the request for information is going on deaf ears.
Very frustrating.
It doesn't show them as you would think in the template manager. The ?tp=1 string shows the same thing.
Modules which are in use.
Nice and all, but gives the user no idea of where other modules are located, should they be used. SO it's trial and error.
I've asked many times, in several different threads if this information exists, and it seems that nobody knows or the request for information is going on deaf ears.
Very frustrating.
-
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Feb 15, 2008 11:19 pm
Re: How can i add new module positions on a Joomla 1.5 site?
Quads,
I agree. Very frustrating. Apparently the new templating logic precludes showing all posible positions because some positions can be stripped from the page contingent upon modules being assigned to them. I recently commented to another user that it would seem best to show only positions that are acutally available in the template, i.e. change templates or alter the current templates XML, get a new set of positions in the module position drop-down list. After all, what's the point in having positions listed that aren't actually in the template?
I agree. Very frustrating. Apparently the new templating logic precludes showing all posible positions because some positions can be stripped from the page contingent upon modules being assigned to them. I recently commented to another user that it would seem best to show only positions that are acutally available in the template, i.e. change templates or alter the current templates XML, get a new set of positions in the module position drop-down list. After all, what's the point in having positions listed that aren't actually in the template?
-
- Joomla! Intern
- Posts: 83
- Joined: Sun Dec 09, 2007 9:33 pm
Re: How can i add new module positions on a Joomla 1.5 site?
Well its terrible.
Who's idea was that to remove the previous easier way?
Nobody asked me..
Ive been following topics like this and nobody seems to have the answer.
Ive entered the crap into the xml file, ive added mod possition 5 and 6 into the index.php but does it show?
NOPE.
Im sure developers would say "its easier now" >:D
All i want is to add some extra module positions in the standard rhuk_milkyway because the developers forgot a few..
Anyone found out yet ?
Who's idea was that to remove the previous easier way?
Nobody asked me..
Ive been following topics like this and nobody seems to have the answer.
Ive entered the crap into the xml file, ive added mod possition 5 and 6 into the index.php but does it show?
NOPE.
Im sure developers would say "its easier now" >:D
All i want is to add some extra module positions in the standard rhuk_milkyway because the developers forgot a few..
Anyone found out yet ?
-
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Feb 15, 2008 11:19 pm
Re: How can i add new module positions on a Joomla 1.5 site?
Have you tried reinstalling your template AFTER you add the positions to the XML and index files? I'm wondering if the XML file only gets parsed during installation.
-
- Joomla! Intern
- Posts: 83
- Joined: Sun Dec 09, 2007 9:33 pm
Re: How can i add new module positions on a Joomla 1.5 site?
well i refreshed,cleared cache and on top...the extra modules also dont show in preview.
-
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Feb 15, 2008 11:19 pm
Re: How can i add new module positions on a Joomla 1.5 site?
I think you're refering to refresing the browser and browser cache. That's not what I meant. I'm thinking J! may require you to uninstall the template, add the positions you want to the XML and index files, then reinstall the template package.mozilla wrote:well i refreshed,cleared cache and on top...the extra modules also dont show in preview.
Fact is, if J! is not adding the positions to the DB in the first place, and if you can't see the new position in the 'Position: ' drop-down list in the Module Manager, it will never output the position in the code and it won't matter how much you refresh the browser.
Maybe I'm off the mark here. Curious, do you see the positions in the drop-down list in the Module Manager after you've added them to the template XML file?
-
- Joomla! Intern
- Posts: 83
- Joined: Sun Dec 09, 2007 9:33 pm
Re: How can i add new module positions on a Joomla 1.5 site?
yes from the dropdown de new added ones show..
part i added in the milky template is.
part i added in the milky template is.
Code: Select all
<?php if ($this->countModules('user5')) : ?>
<div>
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user6')) : ?>
<div>
<jdoc:include type="modules" name="user6" style="xhtml" />
</div>
<?php endif; ?>
-
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Feb 15, 2008 11:19 pm
Re: How can i add new module positions on a Joomla 1.5 site?
Well, ya got me then!
Do you have the J! cache turned off in the Global Configs?
Do you have the J! cache turned off in the Global Configs?
-
- Joomla! Intern
- Posts: 83
- Joined: Sun Dec 09, 2007 9:33 pm
Re: How can i add new module positions on a Joomla 1.5 site?
well i forgot to turn that on..
its off..
so that cant be it..huh
its off..
so that cant be it..huh
-
- Joomla! Apprentice
- Posts: 36
- Joined: Fri Feb 15, 2008 11:19 pm
Re: How can i add new module positions on a Joomla 1.5 site?
OK, I'd think the first thing would be to start debugging the index.php file where you have edited it. Maybe start by putting a position that's already working into your new code and see if the module in that position gets rendered. Like this:
If that fails, then it's not getting a positive value from the count of the 'user5' and 'user6' positions. So try this:
Of course, this assumes you have a module published in the footer position and that it has been working correctly elsewhere.
BTW, are you positive nothing is being generated in the HTML? have you checked the source?
Code: Select all
<?php if ($this->countModules('user5')) : ?>
<div>
<jdoc:include type="modules" name="footer" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('user6')) : ?>
<div>
<jdoc:include type="modules" name="footer" style="xhtml" />
</div>
<?php endif; ?>
Code: Select all
<?php if ($this->countModules('footer')) : ?>
<div>
<jdoc:include type="modules" name="user5" style="xhtml" />
</div>
<?php endif; ?>
<?php if ($this->countModules('footer')) : ?>
<div>
<jdoc:include type="modules" name="user6" style="xhtml" />
</div>
<?php endif; ?>
BTW, are you positive nothing is being generated in the HTML? have you checked the source?
-
- Joomla! Intern
- Posts: 83
- Joined: Sun Dec 09, 2007 9:33 pm
Re: How can i add new module positions on a Joomla 1.5 site?
i will give that a try tomorrow..
as its late here..
i will post back as soon as i tried it..
thank you.
as its late here..
i will post back as soon as i tried it..
thank you.
- vibby
- Joomla! Apprentice
- Posts: 32
- Joined: Tue Sep 19, 2006 10:48 am
- Location: Paris
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
To solve this problem, I modified manualy the mysql table "#_module". There I replace one module position by the new one and it works !
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Jan 27, 2006 8:44 am
Re: How can i add new module positions on a Joomla 1.5 site?
Lol hope they solve this quick, it's kinda important feature.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Feb 21, 2008 10:44 am
Re: How can i add new module positions on a Joomla 1.5 site?
I've got a similar issue.
I am using a template. http://www.simplybukovel.com
On my old site I have a small weather display box which I inserted into my html. I would like to use that on this site and for the box to appear to the right of the skier. How do I go about doing this? I imagine I first need to make that area a module area? Then how do I put the code there?
I am realy struggling with this and any help wold be greatly appreciated.
Thanks
SimplyB
I am using a template. http://www.simplybukovel.com
On my old site I have a small weather display box which I inserted into my html. I would like to use that on this site and for the box to appear to the right of the skier. How do I go about doing this? I imagine I first need to make that area a module area? Then how do I put the code there?
I am realy struggling with this and any help wold be greatly appreciated.
Thanks
SimplyB
-
- Joomla! Enthusiast
- Posts: 127
- Joined: Thu Nov 10, 2005 9:57 pm
Re: How can i add new module positions on a Joomla 1.5 site?
Where exactly in templateDetails.xml is this list? Because I see no such listing of module positions and therefore no where to enter the new position.
Then in templateDetails.xml, in this section >> add your newly named module position.
breadcrumb
left
right
top
user1
user2
user3
user4
footer
debug
syndicate
- Partic
- Joomla! Enthusiast
- Posts: 107
- Joined: Fri Sep 16, 2005 10:08 pm
- Location: Melbourne, Australia
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
The way it is in the beta as shown in Quads' post from the book would be very very very nice.
But thanks to my mate John Wood, who shared the trick in an email with me earlier this week, here's the gap filler in the instructions from above.
In your templateDetails.xml file, add the following into the XML with the list of the custom module positions you wish to add.
These will then appear in the Module Positions drop down list in the Module edit page.
But thanks to my mate John Wood, who shared the trick in an email with me earlier this week, here's the gap filler in the instructions from above.
In your templateDetails.xml file, add the following into the XML with the list of the custom module positions you wish to add.
Code: Select all
<positions>
<position>custom1</position>
<position>custom2</position>
<position>custom3</position>
</positions>
Patrick Jackson
Joomla Certified Administrator | Melbourne Australia
https://exam.joomla.org/directory/user/ ... ck-jackson
Joomla Certified Administrator | Melbourne Australia
https://exam.joomla.org/directory/user/ ... ck-jackson
- Partic
- Joomla! Enthusiast
- Posts: 107
- Joined: Fri Sep 16, 2005 10:08 pm
- Location: Melbourne, Australia
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
SimplyB,simplybukovel wrote:I've got a similar issue.
I am using a template. http://www.simplybukovel.com
On my old site I have a small weather display box which I inserted into my html. I would like to use that on this site and for the box to appear to the right of the skier. How do I go about doing this? I imagine I first need to make that area a module area? Then how do I put the code there?
Looks like you got it into your site... but for others wanting to add something like this, especially if you want to add it in a different position, I would...
- Add a custom module position into your templateDetails.xml file
- Next, either insert some code in your index.php file to show the module
- Or in your content, call the module position using the mosloadmodule plugin
- Finally, create a Custom HTML (1.5) or User (1.0) module to display your code
Patrick Jackson
Joomla Certified Administrator | Melbourne Australia
https://exam.joomla.org/directory/user/ ... ck-jackson
Joomla Certified Administrator | Melbourne Australia
https://exam.joomla.org/directory/user/ ... ck-jackson
- EightBall97128
- Joomla! Apprentice
- Posts: 28
- Joined: Fri Mar 16, 2007 2:41 am
- Location: McMinnville, Oregon
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
Ok ... I'm mostly happy with J! 1.5x but this module position thing is well ... to put it bluntly terrible design implementation. "Not functional or Elegant ... what do code monkies think?"
Sorry folks but this needs to get fixed. My clients like to self manage their sites a lot of the time, and this ... well they aren't coders and don't know PHP/XML from the on/off button on their TVs if you get my drift. They like it to be "pointy clicky" and it works. You know like J! 1.0x module position creation ... couple of mouse clicks, some simple words ... user# ... etc etc. save ... done.
Please fix this. I really don't want to switch back to 1.0.15 but if I have to I will.
Thanks for listening.
Sorry folks but this needs to get fixed. My clients like to self manage their sites a lot of the time, and this ... well they aren't coders and don't know PHP/XML from the on/off button on their TVs if you get my drift. They like it to be "pointy clicky" and it works. You know like J! 1.0x module position creation ... couple of mouse clicks, some simple words ... user# ... etc etc. save ... done.
Please fix this. I really don't want to switch back to 1.0.15 but if I have to I will.
Thanks for listening.
Stephen Proffitt
iDream Media Group http://www.idreammediagroup.com
In the immortal words of Socrates ... "I drank what?!"
Homer of Borg "Prepare to be Assimi.... oooo doughnuts."
iDream Media Group http://www.idreammediagroup.com
In the immortal words of Socrates ... "I drank what?!"
Homer of Borg "Prepare to be Assimi.... oooo doughnuts."
- victune
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Mar 22, 2006 10:53 am
- Contact:
Re: How can i add new module positions on a Joomla 1.5 site?
I agree, this "bug" should be fix.
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65
- Quads
- Joomla! Intern
- Posts: 97
- Joined: Sat Jan 12, 2008 6:27 am
Re: How can i add new module positions on a Joomla 1.5 site?
A start in the right direction to this issue would be simply asking theme developers to a) list where they are putting each module in the theme with a diagram of some sorts, and b) clearly listing their code which controls it.
It's not an issue that Joomla! per say can fix, but more so something that needs to be driven back out to the community from a development standards viewpoint.
I played with 1.0.x for a while, and finally settled on 1.5 for several production implementations and this has been one of the most frustrating things by far.
It's not an issue that Joomla! per say can fix, but more so something that needs to be driven back out to the community from a development standards viewpoint.
I played with 1.0.x for a while, and finally settled on 1.5 for several production implementations and this has been one of the most frustrating things by far.