Post by project » Thu Jan 24, 2013 8:42 pm

Γειά σας παιδιά,
μήπως έχετε ιδέα τί μπορεί να παίζει με το παρακάτω? (το έχω γράψει στο αγγλικό forum αλλα δεν πήρα κάποια απάντηση)

1. I have created a new controller named "lighters.php" with the template "lighters.tpl".
2. I have created a new layout inside my admin with name "Lighters" and i added the "route product/lighters"
3. I assigned this new layout to an existing category eg.named "Lighters" as i set the layout to "Lighters"

If i go manually to http://xxx/index.php?route=product/lighters i see the template of this specific layout, BUT when i click on the category at the menu i going to http://xxx/index.php?route=product/category&path=90.

How to i assing this new layout to the category menu link?
What am i doing wrong?

Any ideas would me helpfull!
Thank you

New member

Posts

Joined
Tue May 22, 2012 6:20 pm
Location - Greece

Post by People's Code » Thu Jan 24, 2013 10:47 pm

Γιατί το μενού χρησιμοποιεί το controller category. Μία λύση για αυτό το πρόβλημα έχει προτείνει ο Qahar. Διάβασε αυτό το άρθρο που εξηγεί πως να κάνεις αυτό που θες.

http://www.opencartnews.com/tutorials/s ... duct-page/

PeoplesCode.com
Επίσημος Αντιπρόσωπος OpenCart | Extensions - Φιλοξενία - Αναβάθμιση - Τεχνική Υποστήριξη OpenCart
Opencart-Hellas.gr - Η Ελληνική κοινότητα του Opencart
Πλήρης Ελληνική μετάφραση OpenCart


User avatar
Active Member

Posts

Joined
Fri Jul 27, 2012 5:30 am
Location - Hellas
Who is online

Users browsing this forum: No registered users and 1 guest