PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 29th, 2004, 07:51 PM   #1 (permalink)
Registered User
 
Join Date: Aug 2004
Location: baltimore
Posts: 14
Send a message via AIM to painfulpleasures
2. editting the showproduct.tmpl file to your liking

Im trying to edit the 6 extra global fields that i have in my story board

http://bodypiercingstories.painfulpl...7/cat/2/page/1

if ( $Globals['extra1name'] != "" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}">
<span class="{$Style['small']}">{$Globals['extra1name']}:</span>
</td>
<td class="{$Style['tddetails']}">
<span class="{$Style['small']}">$extra1</span>
</td>
</tr>
PPPRINT;



how do i edit this code so they display like this

Author of this Story: Marc
Shop Pierced @ and Location: Jimmy Harris
Was the inital Piercing Painful: nope
Initial Jewelry used: 14g 1/2 inch straight barbell with 5mm balls
Current Jewelry being used: 14g 1/2 inch straight barbell with 3mm balls
Date Pierced: 10-14-2003

Also how do i edit it so it appears to be in its own little box, just like the
Reviews Views Date of Last Review
and
Recommended by, Price

How do i get that small gray image to appear under the 6 extra fields i have above?

Also when you view this page the background image isn't being displayed?
it should be blue straight across? but for somereason it only displays on the main index page and not on any other page.

thanks

marc
painfulpleasures is offline   Reply With Quote
Old August 30th, 2004, 07:52 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,647
well you have them displayed how you asking so on to 2 and 3

2. To display them in a box like the ones above simple html edit placing them in a table Look at your existing code in the template to see how

3. As far as your header image your using spider url's so edit your header and replace any relative url's with full url's to the images.

You can ask hacking questions related to your install on http://www.photopostdev.com

We don't support code modifications on this site; this site is strictly for support of an unmodified product.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 31st, 2004, 12:11 AM   #3 (permalink)
Registered User
 
Join Date: Aug 2004
Location: baltimore
Posts: 14
Send a message via AIM to painfulpleasures
well you have them displayed how you asking so on to 2 and 3

nope i don't

if you look at the page more closely you can see that they are all jumbled together.

i need them so they appear to be nice and unjumbled.

Author of this Marc
Story:

not like above but like i had asked already

Author of this Story: Marc






<tr> <td height="3" class="{$Style['menubar']}"><img src="{$Globals['idir']}/spacer.gif" height="1" width="1"></td></tr>
<tr> <td> <table width="100%" cellpadding="2" cellspacing="1"> </table> </td> </tr>


This is the code to create the little Grey box like under the Reviews Stats

but when i enter it inbetween the last extrafield # 6 and the product desctiption

if ( $Globals['extra6name'] != "" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['tddetails']}">
<span class="{$Style['small']}">{$Globals['extra6name']}:</span>
</td>
<td class="{$Style['tddetails']}">
<span class="{$Style['small']}">$extra6</span>
</td>
</tr>
PPPRINT;
}


if ( $Globals['dispdesc'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td width="10%" class="{$Style['tddetails']}" align="left" valign="top">
<span class="{$Style['small']}">{$Globals['pp_lang']['desc']}:
</td>
<td class="{$Style['tddetails']}" align="left">
<span class="{$Style['small']}">$desc</span>
</td>
</tr>
PPPRINT;
}




i get an error


Parse error: parse error, unexpected '<' in /home/lbtinoff/public_html/bodypiercingstories/templates/showproduct.tmpl on line 241


i don't understand what is happneing?

marc
painfulpleasures is offline   Reply With Quote
Old August 31st, 2004, 07:48 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,647
Well as I already stated this is a support forum for the unmodified product. We do not support code changes. I posted the address of the hack site so you could ask how to modify your product at the proper site.

If you look at what your posting you can solve your issue with posting there.

The first is a width issue where you can place a width statement to that td

The second issue has to do with understanding what your doing in a template file and what the result means. You can not use html in a php file without escaping it or placing it in an echo command

This between those two should work

echo <<<PPPRINT
<tr> <td height="3" class="{$Style['menubar']}"><img src="{$Globals['idir']}/spacer.gif" height="1" width="1"></td></tr>
<tr> <td> <table width="100%" cellpadding="2" cellspacing="1"> </table> </td> </tr>
PPPRINT;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify body tag for showproduct.php pages only ywickham ReviewPost Installation & Upgrades 3 September 13th, 2005 03:40 PM
Showproduct - medium image is missing thorzzzten ReviewPost Bug Reports 2 March 30th, 2005 01:45 PM
showproduct.php not working criscokid Classifieds Installation & Upgrades 23 March 26th, 2005 05:47 PM
Next Reviews link not showing up in showproduct MRaburn ReviewPost Bug Reports 1 March 10th, 2005 03:54 PM
Any problem with renaming showproduct.php? Lee Wilde Classifieds Installation & Upgrades 0 December 28th, 2004 09:36 PM


All times are GMT -5. The time now is 06:42 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0