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 Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 12th, 2004, 04:15 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2004
Posts: 10
Can someome show me how to change templates?

Hi Everyone

I am trying to create different templates for my classifieds category. Based on the original "for sale" template, there are some fields that I must add and some I must take out.

For example, to make a babysitter cateogry, I would not want a "selling price" frield, as it is a default field in the "for sale" template.

How do I customize my own templates? I have not figured out the system yet based on the add/edit templates.

Thanks

Roy
royli57 is offline   Reply With Quote
Old May 14th, 2004, 08:57 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
You need to hand edit an existing set of templates you need to make new templates with the next number you assigned to them say 5

uploadproduct5.tmpl showcat5.tmpl editproduct5.tmpl showproduct5.tmpl

You can use any existing set to alter and make copies from
__________________
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 July 11th, 2004, 12:09 PM   #3 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
So far I've copied the "For sale" template files and have named them uploadproduct4.tmpl showcat4.tmpl editproduct4.tmpl showproduct4.tmpl as I want to create new templates that are similar to the "For sale" templates.

I've created the relevant ad type with an ID of 4.

When I attempt to upload an advert for the new categorey I go through the upload process, choosing the type of ad, then the category, and then I get a blank page.

Viewing the adverts I have the same problem - I get a blank page when I attempt to view adds in my new category.

What have I missed out or done wrong?

Last edited by criscokid; July 11th, 2004 at 12:11 PM.
criscokid is offline   Reply With Quote
Old July 13th, 2004, 05:16 AM   #4 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Are the support guys reading these forums or are they on holiday? Two days have passed and nobody's replied to this thread.
criscokid is offline   Reply With Quote
Old July 13th, 2004, 09:46 AM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
You are counting Sunday and posting at 5am.....

You also need to copy the other files with numbers in them to create a set of templates:

editproductX.tmpl
showcatX.tmpl
showproductX.tmpl
uploadproductX.tmpl

Would be the four files you need to make a complete set for a new template.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 13th, 2004, 10:51 AM   #6 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Quote:
Originally Posted by Michael P
You also need to copy the other files with numbers in them to create a set of templates:

editproductX.tmpl
showcatX.tmpl
showproductX.tmpl
uploadproductX.tmpl

Would be the four files you need to make a complete set for a new template.
Which is what I did on Sunday before making my posting. The four templates uploadproduct4.tmpl showcat4.tmpl editproduct4.tmpl showproduct4.tmpl are already in the templates directory.
criscokid is offline   Reply With Quote
Old July 13th, 2004, 11:34 AM   #7 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
The blank page might suggest a problem with the template file - can you PM me a link and an id to try an upload?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 17th, 2004, 08:46 AM   #8 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
Hi Michael,

Have you managed to make any progress with my problem since my last PM to you?
criscokid is offline   Reply With Quote
Old July 17th, 2004, 09:16 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Well I am not Michael but I would suggest you relook at your templates and verify they are accurate and no syntax errors. Also check in the database and make sure the new template type is number 4 in the ad types table. A white screen would be caused also by creating a new template set say showproduct4.tmpl and the add type your assigning is 5
__________________
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 July 17th, 2004, 12:53 PM   #10 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
I've checked the adtypes table and can confirm the id is 4.

"relook at your templates and verify they are accurate and no syntax errors"
I copied the For Sale templates which are id 0 and renamed them so that they are id 4 as in editproduct4.tmpl, showcat4.tmpl, showproduct4.tmpl & uploadproduct4.tmpl. I haven't started to edit them yet - nothing has changed within the templates yet.

Could the permissions of the files on the server maybe have any effect?
criscokid is offline   Reply With Quote
Old July 17th, 2004, 12:56 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
You have a category which is assigned to that adtype and is not a child of a parent of another ad type

You can PM me an admin login to see how you have things set up
__________________
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 July 17th, 2004, 04:23 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
OKay I responded to your PM

Check permissions on the template files themselves as I am unable to access them which means permissions are not right

http://www.scene-out.com/classifieds...dproduct4.tmpl

Also something also occured to me. You need to make sure you replicate the language files also for the new templates. There also should be a language file in the language directory for each php script with the 4 on the end containing the changed language strings
__________________
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 July 17th, 2004, 06:31 PM   #13 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 567
The OS is Windows Server 2003.

In a browser
http://www.scene-out.com/classifieds...adproduct.tmpl
http://www.scene-out.com/classifieds...dproduct1.tmpl
http://www.scene-out.com/classifieds...dproduct2.tmpl
http://www.scene-out.com/classifieds...dproduct3.tmpl
all give the same error message.

Replicated the language files for the new templates... and all works now :-) Thank you!!
criscokid 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
Templates Changes martell Photopost Pro How Do I...? 2 October 25th, 2005 10:09 AM
modifying templates to show one gallery ! msimonds How Do I? - vBulletin 3.0.X 2 April 16th, 2005 04:09 PM
Templates feldon23 Installs and Upgrade - vBulletin 3.0.X 2 April 7th, 2005 02:36 PM
source html output does not show begining or end of templates somerfeld ReviewPost Suggestions 0 September 6th, 2004 06:31 AM
Where do I change variables for new templates? ghern Classifieds Installation & Upgrades 1 September 1st, 2004 11:31 AM


All times are GMT -5. The time now is 05:48 PM.

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