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

YOU ARE HERE:
Hung Up on Hooks

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Hung Up on Hooks »
Welcome, Guest. Please Login or Register.
12/12/17 at 18:02:42
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Hung Up on Hooks
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Hung Up on Hooks  (Read 633 times)
carolinaswagger
White Dragon
**

Posts: 13



Go Scots!
   

Hung Up on Hooks
« on: 04/12/13 at 01:33:55 »
Reply with quote Modify message

SSI Includes, easy, Hooks....TBA

Followed the guide at:

1- Created a TXT file called: cpshop.cgi.pno.16826273.banner.txt

2-Created a folder called: cphooks

3- In the TXT file I put:

Code:
<table border="0">
 <tr>
   <td bgcolor="#FF0000"><strong>Hook Test Appear Here </strong><br />
   <img src="http://www.websitename.com/images/image-name.png" width="502" height="79" /></td>
 </tr>
</table>


4- In the CP Template, at the very top of the page hook code insert as:  
Code:
<div><[hook:banner]></div>


5- On the Admin page, 'Process Hooks in Template and Code' is selected.

: Result:
Nothing

Could the DIVs be messing things up? The file name seems to be correct...
« Last Edit: 04/12/13 at 01:34:52 by carolinaswagger » Logged
oph3lia
Gold Dragon
****

Posts: 58



Go Scots!
   

E-Mail
Re: Hung Up on Hooks
« Reply #1 on: 04/12/13 at 22:00:57 »
Reply with quote Modify message

cpshop.cgi.pno.16826273.banner.txt

Did you literally name it that? If so, you need to change the example number to one of your own products.

Also, you might be missing it because that hook is formatted for an individual product page (pno = product number) so it will only show up on that one page, if you were looking anyplace else it won't show.
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.