Forums / Templates, Stylesheets, Page Layout / How to override files under pages

How to override files under pages

Locked

Views: 2,826

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 May 2006, 9:40 PM
#1
ericpeng avatar

ericpeng

Zen Follower

Join Date:
Jan 2006
Posts:
115
Plugin Contributions:
0

How to override files under pages

Is anyone know how to override files under include/modules/pages/specials

Thanks
ERIC

27 May 2006, 10:27 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: How to override files under pages

Exactly what do you want to do?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

27 May 2006, 10:35 PM
#3
ericpeng avatar

ericpeng

Zen Follower

Join Date:
Jan 2006
Posts:
115
Plugin Contributions:
0

Re: How to override files under pages

Kim:

Exactly what do you want to do?

I'd like to edit main_template_vars.php to dispaly specials using different template.

Thanks

27 May 2006, 11:05 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: How to override files under pages

The template for the Specials is called from tpl_modules_specials_default.php for the centerbox or tpl_specials_default for the listing page. You can override either of these without touching the main_template_vars.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

27 May 2006, 11:40 PM
#5
ericpeng avatar

ericpeng

Zen Follower

Join Date:
Jan 2006
Posts:
115
Plugin Contributions:
0

Re: How to override files under pages

Kim:

The template for the Specials is called from tpl_modules_specials_default.php for the centerbox or tpl_specials_default for the listing page. You can override either of these without touching the main_template_vars.

Thanks for your reply.
Acturally, I already made changes on tpl_modules_specials_default.php and specials_index.php. if I can override, then I don't have to made same changes again in tpl_specials_default.php.

27 May 2006, 11:45 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: How to override files under pages

Sorry- the pages directory is not overridable.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.