marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
includes and master templates

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « includes and master templates »
Welcome, Guest. Please Login or Register.
12/12/17 at 17:50:56
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   includes and master templates
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: includes and master templates  (Read 871 times)
jen
Guest

E-Mail
includes and master templates
« on: 10/09/05 at 00:04:44 »
Reply with quote Modify message

Marty, meeee again

i'm wondering if there is a recommendation for a universal template of sorts. when i build php sites, i usually have a single header and footer i include every where, and then individual pages.. so any universal site changes are done more efficiently. is there a way i can do this when im using multiple cpshop.cgi files withinn a single site? i tried php files for the templates, but ovbiously that doesnt work so well haha.

im drawing a complete blank here... help?


ALSO>... if you go to the meet and greet, Marty, i will personally bring you brownies. (yes.. all the way from colorado, they travel well) id bring a winning lottery ticket, but i dont happen to have one on me.


thank you!

jen aka lilgoodies
Logged
Tony
Gold Dragon
****

Gender: male
Posts: 85



Hello?  Where am I?
   

WWW
Re: includes and master templates
« Reply #1 on: 10/09/05 at 19:19:09 »
Reply with quote Modify message

Hey Jen

All my pages are php and they work just fine.  You have to call for them with the absolute URL like htt p://www.site.com/template.php in order for it to work.  That way, the server processes your php files first with your header and footer, like mine do, then when it's done, the cpshop script goes through the processed file and replaces the tags it needs.  
Logged

----------------
http://www.astphotos.com
lilgoodies
White Dragon
**

Posts: 11



Go Scots!
   

E-Mail
Re: includes and master templates
« Reply #2 on: 11/09/05 at 20:46:43 »
Reply with quote Modify message

ok.. a month later from me... does anyone have any tutorials or examples they'd like to share to help me grash how im incorporating the two?

if its a php page.. do i simply include a filter cpshop url?  (e.g. domain.com/store.cgi/filter)

and viola? i guess i could try that before i ask.. but if i try and find it didnt work.. what was i supposed to do? lol thanks
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright 2000-2001, X-Null. All Rights Reserved.