Post by kat240 » Mon Aug 13, 2012 5:04 am

Hello, I am fairly new at opencart. I realized there was a way to add a module to all of one page type (i.e. add slideshow to all information pages), but is there a way to add a module to only one information page?

Newbie

Posts

Joined
Mon Aug 13, 2012 5:01 am

Post by MarketInSG » Mon Aug 13, 2012 9:10 am

add new layout > the route will be the exact route to that page. Then you can apply the layout to the mod you wish.


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by pprmkr » Mon Aug 13, 2012 1:24 pm

I give this tip with one of my modules:

Tip: If you like to create an informationpage, with the module StoreLocator placed on that page only:

Goto System - Design - Layouts
Click Insert
Add Route
Layout name : StoreLocator
Route: information/storelocator
Save
Check if route Information = information/information

Thereafter goto Extensions - Modules - Storelocator - edit
Layout: StoreLocator
Save

Then create or edit an informationpage.
In tab Design choose Layout Override: StoreLocator
Save

Demo

User avatar
Active Member

Posts

Joined
Sat Jan 08, 2011 11:05 pm
Location - Netherlands

Post by kat240 » Tue Aug 14, 2012 4:52 am

Thank you so much, this worked flawlessly.

Newbie

Posts

Joined
Mon Aug 13, 2012 5:01 am
Who is online

Users browsing this forum: No registered users and 1 guest