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 > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 13th, 2006, 12:59 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Limit Ads in Upload and Edit product templates

I have tried to restrict the number of photos per ad to 3 on each of the uploadproduct and editproduct templates. The uploadproduct restriction appears to work fine. The edit looks like it works ok, but if I ad a photo using edit ad instead of during the initial load, the process appears to work, but the image comes up empty when you look at the recent ads or the ad itself in showproduct.php.
I've attached my editproduct template in hopes someone can spot what I've done wrong.
Thank you in advance for any help that may be rendered.
Attached Files
File Type: tmpl editproduct4.tmpl (17.3 KB, 1 views)
GateKeeper is offline   Reply With Quote
Old June 13th, 2006, 01:53 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Here's a link to the "Recent Ads".
http://www.timesharegateway.com/auctions/index.php
You can see that the link behaves as if an image is there, but there isn't one there to display.
GateKeeper is offline   Reply With Quote
Old June 13th, 2006, 02:28 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Really bizzarre

This is weird. The image that is produced when uploaded using editproduct.php seems to produce an imgage alt tag with the entire URL to the image, but the same process in uploadproduct.php simply displays the alt image tag as the base filename.
To see what I mean, mouse over the missing image thumb on the Recent Ads link I sent. Note the URL. Now mouse over the thumb (it actaully has an image) of the image to the right. It shows as the alt tag the name of the file. The only difference between these two thumbs is the missing one was uploaded using the editproduct.php and the good one using uploadproduct.php.
GateKeeper is offline   Reply With Quote
Old June 14th, 2006, 10:09 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Is this something you can help with. I used the standard editproduct.tmpl file as the basis for my template and simply trimmed the image section to allow for only three images. I don't understand the variance I noted between the alt tags, and of course the missing image. I suspect the alt tag will tell us something, if I could get a little help.
Thank you.
GateKeeper is offline   Reply With Quote
Old June 14th, 2006, 10:16 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
honestly dont know what to tell you. However you can ask mod questions in our modifications forums

The base code definately allows you to replace photos so it would appear your issue is with your modification to the code.
__________________
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 June 14th, 2006, 10:30 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Code?

Do you mean the template? I haven't touched the script. Just want to clarify this so I at least know where to look.
Thank you.
GateKeeper is offline   Reply With Quote
Old June 14th, 2006, 10:32 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
Can't say as but as long as your only removing the image tags in the template you should be fine.
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I cannot edit my templates DannyITR Photopost Pro How Do I...? 4 September 27th, 2006 03:52 PM
templates to edit nbento Photopost Pro How Do I...? 3 March 17th, 2006 06:11 PM
Edit ads without edit Auction sbuncha Classifieds How do I...? 1 January 16th, 2006 09:20 AM
Edit Product bugs? (blank fields in product edit & strange product order) Khashyar ReviewPost Bug Reports 0 April 23rd, 2005 12:51 AM


All times are GMT -5. The time now is 09:11 AM.

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