-
AuthorPosts
-
June 23, 2012 at 12:41 pm #178445
Hi Guys,
I have trouble adding a module position in JA T3 Blank 2.5.
I want to add positions module slideshow for between top.mainnav – top.topsl, like JA Tiris template. Alone refer to the instructions in the wiki and Tom’s still not done.Check in the template Ja Tiris folder I found file hook.php with the code:
function custom_body_class () {
//return custom class for body tag.
$cls = ' ';
$tmpl = T3Template::getInstance();
if (!$tmpl->countModules ('slideshow') && !$tmpl->countModules ('masshead')) $cls = $cls.'no-sm ';
return $cls;
}Then I try to copy this file and find the relevant position in Ja Tiris slideshow module to add the corresponding place in JA T3 blank but not be . Hope anyone can help me solve the problem is. Thank you!
June 23, 2012 at 3:21 pm #458607up, help me pls :((
Scott Lavelle
Friend
Scott Lavelle
- Join date:
- November 2010
- Posts:
- 266
- Downloads:
- 16
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 64 times in 27 posts
June 24, 2012 at 3:42 am #458620Sounds like you just need to add a line to the “layout” you are using. Assuming you have the slideshow in user1 position, you might have something like this:
<block name=”myslideshow” type=”modules” main-inner=”1″>user1</block>
This would allow you to place this without having to mess with any of the core code, taking advantage of the T3 system of placing modules in positions.
Does that help?
Scott Lavelle - Technical Resource Solutions, LLC
Certified Joomla Administrator1 user says Thank You to Scott Lavelle for this useful post
June 24, 2012 at 3:54 am #458621<em>@slavelle 326959 wrote:</em><blockquote>Sounds like you just need to add a line to the “layout” you are using. Assuming you have the slideshow in user1 position, you might have something like this:
<block name=”myslideshow” type=”modules” main-inner=”1″>user1</block>
This would allow you to place this without having to mess with any of the core code, taking advantage of the T3 system of placing modules in positions.
Does that help?</blockquote>
Thank you, I’ve found a way before this guide. But thank your guide will be useful reference for people. 🙂
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by kingstone 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum