Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Overriding the pages folder files

Overriding the pages folder files

Locked

Views: 634

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Jul 2010, 6:40 AM
#1
mayilsamy avatar

mayilsamy

New Zenner

Join Date:
Jun 2010
Posts:
20
Plugin Contributions:
0

Overriding the pages folder files

Hi ,

I try to override the specials pages in the includes/modules/pages/specials path. How i can override this pages?? If i follow the normal overriding method it's not working. Like if i create a my template folder inside the pages folder then i copy and paste the specials folder. It's not accepting.. Can you help me on this???

12 Jul 2010, 8:05 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Overriding the pages folder files

There is no override mechanism for the pages folders.

12 Jul 2010, 8:37 AM
#3
mayilsamy avatar

mayilsamy

New Zenner

Join Date:
Jun 2010
Posts:
20
Plugin Contributions:
0

Re: Overriding the pages folder files

If it is not there. How i can do that?? any other ways to do that?? Please give me any idea.. But i should follow only the zen cart way of approach..

12 Jul 2010, 9:09 AM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Overriding the pages folder files

You are looking at some complicated coding and I doubt if you will get an answer in the Forum. You might, but I'm just preparing for what I think will happen.

For what you want to do requires a somewhat intimate knowledge of Zen Cart, which I can guess at but wouldn't know how to do.

For example, you would need to customize a core file:
includes/modules/pages/specials/main_template_vars.php

to work with a new file specifying your needs:
includes/templates/YOUR_TEMPLATE/templates/tpl_specials_custom.php

There is always the Commercial Section of the Forum where you post Jobs and deal with people who are familiar with Zen Cart and the coding required, if it comes to that.

12 Jul 2010, 9:27 AM
#5
mayilsamy avatar

mayilsamy

New Zenner

Join Date:
Jun 2010
Posts:
20
Plugin Contributions:
0

Re: Overriding the pages folder files

Thanks for your reply. What i thought to do , you explained me.. Thanks a lot for your help.