-
AuthorPosts
-
salvomic Friend
salvomic
- Join date:
- June 2008
- Posts:
- 200
- Downloads:
- 16
- Uploads:
- 23
- Thanks:
- 24
- Thanked:
- 6 times in 1 posts
July 27, 2008 at 6:07 pm #131403hi all,
please, help: I need:1. put a module below the banner position (long as this module) with custom code
2. put another banner module (and position) below the title barthanks in advance!
salvo
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
July 27, 2008 at 7:19 pm #262581Did you find an answer to this query?
salvomic Friendsalvomic
- Join date:
- June 2008
- Posts:
- 200
- Downloads:
- 16
- Uploads:
- 23
- Thanks:
- 24
- Thanked:
- 6 times in 1 posts
July 27, 2008 at 7:20 pm #262582<em>@jbrett 69928 wrote:</em><blockquote>Did you find an answer to this query?</blockquote>
no, I’m still searching for itJohn Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
July 27, 2008 at 7:37 pm #262584It will help to know a little PHP, but not necessary…and a keen power of observation and “cause and effect” will do just fine.
You will have to edit the template’s main file TEMPLATES>JA TELIINE II>INDEX.PHP (make sure you back it up before you start hack it…so you can come back after the first or second wrong attempts 😉 ).
Okay…in the code of the index.php file…you’ll notice several repeated pairings of the following with the “custom” replaced by the actual name of the module:
<?php if ($this->countModules('custom')) : ?>
<div>
<jdoc:include type="modules" name="custom" style="xhtml" />
</div>
<?php endif; ?>
So…basically you simply duplicate that block of code, change the name to the custom module name you want, and place it in your index.php file in the order in which you want it to appear in the template.
Next you go to TEMPLATE MANAGER > MODULE POSITIONS and add the new name(s) of your new modules to the list.
And finally you publish the module, with whatever content you are wanting…and cross your fingers!
Again these are the SIMPLEST terms of doing it…and EVERY TEMPLATE has it’s little quirks and CSS modifications that have to go with adding a module. But this should give you an idea of the road ahead.
As I mentioned above, you are likely to get it wrong the first couple of times…but it will soon come to you…as anything in Joomla always seems to.
Have fun!
John. -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by salvomic 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum