PDA

View Full Version : Help with custom template and maintaining image link from image_template.


budgie
06-01-2006, 03:27 PM
All,
I'm new to PP but have managed to hack up what I think is becoming a nice'ish site. My issue now is that I've created a buy_template.html page with the idea that a person can click a link on the main page (image_template) and jump to the buy_template page to see the prices/paypal cart etc.

My new buy_template.html loads ok however I can't seem to get the PP tags to work on the new page. ie: one of my page items is "purchase <IMAGE_TITLE>" however the page only displays the "purchase" text (no image name). The URL I'm linking from the main page is this: <a href='index.php?x=buy&amp;showimage=<IMAGE_ID>'> (see the 'purchase' link above the image) and when I load the buy_template page I can see the current image ID transposed in the URL so I know the buy_template is receiving the image value however my buy_template PP tags aren't working..

I assume I'm missing something silly, any advice appreciated. My site if you need to see it is here: http://www.aspect-photography.com/pixelpost/index.php

Note: my site is based on the simple template with idea's and hacks from other PP photoblogs I've seen around.

cheers tony

-------------------- here my PP info------------------
You are running Pixelpost version 1.5 - April 2006
Latest pixelpost version: Check
Looking for help or want to give feedback, please step into pixelpost forum.: www.pixelpost.org/forum/


Host Information

URL http://www.aspect-photography.com/pixelpost/admin/index.php
PHP-version 4.4.2 (Pixelpost's min requirement: PHP version: 4.3.0 )

MySQL version 4.1.19-standard (Pixelpost's min requirement: MySQL: 3.23.58 )

GD-lib bundled (2.0.28 compatible) with JPEG support

File Uploads to pixelpost site are possible.

Server Software Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a

EXIF Pixelpost is using exifer v1.5 for EXIF-information.


Paths
Guessed imagepath: /home/commitco/public_html/aspect-photography/pixelpost/images/
Configured Imagepath: ../images/

Image Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0777

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

Templates Directory: OK

dakwegmo
08-31-2006, 06:58 PM
budgie did you ever find an answer for this? I think I am trying to do the same thing as you and finding that some of the tags don't work on the custom template pages, even when you pass the appropriate data through the URL.

codepoit
08-31-2006, 07:10 PM
Check this thread... (http://forum.pixelpost.org/showthread.php?t=3461&highlight=pages) for information on the addon you need to use for accomplishing this.

dakwegmo
09-01-2006, 01:59 PM
Thanks codepoit, that's a pretty cool addon, but, unless I am missing something, it doesn't address the issue of using the thumbnail and title tags in the pages.

Ability to parse Pixelpost tags in your pages would be great but there is no simple way to code it....

Has anyone figured out how to read the image_id in a new template page?