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 November 7th, 2006, 08:55 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 15
How do I replace the "Place an Ad" link with a button?

Would like to have a prominent Place an Ad button in the menubar and replace the existing text hyperlink. How can I go about doing that?

Last edited by joerns; November 7th, 2006 at 10:30 AM.
joerns is offline   Reply With Quote
Old November 7th, 2006, 12:11 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
In the topmenu function in pp-inc.php replace the language string in the hyperlink and include an img tag.
__________________
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 November 7th, 2006, 02:28 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 15
Parse error

OK, so if I understand correctly I do this?

Take from pp-inc.php:

$menu .= " &middot; <a href=\"{$Globals['maindir']}/uploadproduct.php$catquery\">{$Globals['pp_lang']['upload']}</a>";

and convert to

$menu .= " &middot; <a href=\"{$Globals['maindir']}/uploadproduct.php$catquery\">{<img src="./images/place.GIF" style="width: 40px; height: 40px">}</a>";


That gives me an SQL parse error. I probably don't have the format right?
joerns is offline   Reply With Quote
Old November 7th, 2006, 03:45 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Right you dont need to leave those brackets {} it should be this


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
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
change font color of "Place and Ad" clasione Classifieds How do I...? 5 May 1st, 2006 02:48 AM
Replace "Place An Ad" with image? zOrg Classifieds How do I...? 2 January 16th, 2006 07:11 AM
"Search" button in VB3.x uses "GO" instead of "Search"(NOT A BUG) Jeremy Classifieds Bug Reports 2 November 21st, 2005 11:14 AM
Query: Place An Add requires "Allow edit own ads?" permission. mawby Classifieds Bug Reports 12 June 27th, 2005 09:59 AM


All times are GMT -5. The time now is 03:44 PM.

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