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

YOU ARE HERE:
Using SSI in Caption? (or dynamic template header)

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Using SSI in Caption? (or dynamic template header) »
Welcome, Guest. Please Login or Register.
12/15/17 at 06:15:01
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Using SSI in Caption? (or dynamic template header)
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Using SSI in Caption? (or dynamic template header)  (Read 704 times)
techbuzz
Green Dragon
*

Posts: 7



Go Scots!
   

Using SSI in Caption? (or dynamic template header)
« on: 01/15/07 at 08:15:25 »
Reply with quote Modify message

Hi. I would like to have a template for each "Store ID" in cpshop and maybe I'm going about this the wrong way...

I have a store template but would like each filter (Store ID) to have some unique information at the top. I realize I can use the Caption but I am including a lot of html and don't want to have to go to the admin area to update that html every time.

I tried using a server side include in the Caption but cpshop but the included file is not included in the cpshop output. (SSI is enabled on the server, tried adding .cgi in .htaccess on a whim but no joy).

Anyone have a way to use SSI in the caption or recommended/alternative way to achieve this? (maybe my template could use script to display unique code based on the store Alias in the url?). As I said, I may be using the wrong method entirely.
« Last Edit: 01/15/07 at 08:46:59 by techbuzz » Logged
techbuzz
Green Dragon
*

Posts: 7



Go Scots!
   

Re: Using SSI in Caption? (or dynamic template hea
« Reply #1 on: 01/15/07 at 09:13:17 »
Reply with quote Modify message

I didn't figure out the include part, but did discover and read up on Hooks.  Just implemented one based on shop Alias and it appears that will work for me.  Great to have that option.  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.