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 Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 12th, 2006, 12:49 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 141
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
Adding Code to templates?

I am trying to test out a new feature I want to give me users but I can not figure out where to put the code in the Showphoto.tmpl file

The code is just javascript that pop's up a new window with the information I need to show.

Code:
Content visible to verified customers only.
</a>

I tried just putting the code in the template where I wanted it which is a new line under the UBBCode area.

Do I have the right template? (showphoto.tmpl)

Here is an example page of where I want the code:

http://www.thephotostation.net/proga...1/limit/recent


Any help would be appreciated.
kevinrstruck is offline   Reply With Quote
Old July 12th, 2006, 01:05 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Make sure your editing the showphoto template in the vb3enhanced folder
__________________
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 12th, 2006, 01:12 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 141
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
I was editing through the edit templates link in the admin screen. But, I went directly to the file via FTP and it still is not working.

I just think I am not doing something right.

Code:
Content visible to verified customers only.
Is that right?
kevinrstruck is offline   Reply With Quote
Old July 12th, 2006, 01:26 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
there is your issue you have the code under the if statement for showdirect and you have show direct html code off

try this instead

Code:
Content visible to verified customers only.
__________________
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 12th, 2006, 03:14 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 141
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
Thanks Chuck, that did the trick.
kevinrstruck is offline   Reply With Quote
Old July 13th, 2006, 12:43 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 141
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
One more question on this...

I have added the code and it works fine but I would like it to look like the rest of the information in the Additional Infor area.

Check this link to see the new code (under the UBBCode line).

http://www.thephotostation.net/proga...00/limit/views

It would be great for an additonal line with the title

For instance:

Mobile: Send to phone

With the same color background as the rest of the table.

Can you point me inthe right direction to do this?
kevinrstruck is offline   Reply With Quote
Old July 13th, 2006, 03:12 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
Just model the html like the other lines.

Code:
Content visible to verified customers only.
__________________
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 13th, 2006, 04:39 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Dec 2002
Location: Lone Tree, Colorado
Posts: 141
Send a message via AIM to kevinrstruck Send a message via Yahoo to kevinrstruck
That worked perfectly. Thank you for the quick replies, I really appreciate it.
kevinrstruck 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
Adding js code firstrebel Photopost Pro How Do I...? 4 May 23rd, 2006 05:18 PM
How do I remove the Direct Link Code, BB Image Code, img Tag Code Iridium1 How Do I? - vBulletin 3.5.X 8 January 13th, 2006 05:46 PM
php code in templates neurosis Before You Buy 1 March 15th, 2005 10:11 AM
Adding HTML code to item descriptions MikeM ReviewPost Installation & Upgrades 5 March 6th, 2005 06:34 PM


All times are GMT -5. The time now is 07:55 AM.

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