normal Hide slideshow

More
11 years 8 months ago #2126 by Yury Borodaev
Hide slideshow was created by Yury Borodaev
Hi,

I need to display slideshow only on main page. I set menu assignment to slideshow only to Home. I have difficulties with hiding slideshow when clicking to manufacturer image. When clicking on manufacturer icon in manufacturers module it goes to Home page.

Is there solution?

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

More
11 years 8 months ago #2139 by Linh Robert
Replied by Linh Robert on topic Re: Hide slideshow
Hi,
You can modify manufactures module to add the custom Itemid to all links, so it will not show in home.

Thanks

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/

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

More
11 years 8 months ago #2164 by Yury Borodaev
Replied by Yury Borodaev on topic Re: Hide slideshow
linh_omg, you mean edit php code? which file? or edit joomla settings? please describe in detail


thanks

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

More
11 years 8 months ago #2165 by Linh Robert
Replied by Linh Robert on topic Re: Hide slideshow
Hi,
There are many discussion about "How to add Itemid into module" or same in this forum or anywhere.
All you need to do is:
1. Edit module xml file (mod_ot_k2slideshow.xml) and add a parameter field (input text box type), name="item_id" for example.
2. Edit helper.php and add Itemid
find this code:
Code:
//Read more link $item->link = urldecode(JRoute::_(K2HelperRoute::getItemRoute($item->id.':'.urlencode($item->alias), $item->catid.':'.urlencode($item->categoryalias))));
change to:
Code:
//Read more link $item->link = JRoute::_(K2HelperRoute::getItemRoute($item->id.':'.urlencode($item->alias), $item->catid.':'.urlencode($item->categoryalias))); $item->link = $item->link . 'Itemid=' . $params->get('item_id');

3. In module backend, type the Itemid of the page you want to display the K2 items, and that page not homepage.

That's idea and you need work on it to have the wanted results.

Thanks

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
The following user(s) said Thank You: Yury Borodaev

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

Time to create page: 0.256 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam