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 December 26th, 2006, 06:54 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Hyperlinks in Additional fields.

Hi,

My new website has just gone live and I am using 2 Photopost licenses for 2 different areas of the website. One of the photopost installations takes advantage of extra text fields and also additional fields.

One issue I do have is that I am using BBcode to not only support external hyperlinks to other websites, but also to support internal hyperlinks, for other areas of the website. Problem is when a hyperlink is clicked on in a field it opens the page to a new window. I was wondering if there was a way that I could modify the php code so that the links in specific additional fields would not open to a new window, but would load the page into the existing window. For example, if I had an additional field which I knew would only hold internal hyperlinks, then could the code be modified to stop opening the link to a new window.

Thanks in advance.
PaulGN is offline   Reply With Quote
Old December 26th, 2006, 06:57 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
The bbcode links I beleive are normal links so they do not any sort of target tag so check your browser setup to make pages replace the current not open a new window
__________________
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 December 29th, 2006, 09:06 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2005
Posts: 26
Hi Chuck,

I've just taken a look at the bbcode that gets generated for the showphoto and it does add some target code:

Heres a snippet:
<td class="tddetails" align="left" valign="top">
<span class="small"><b>Special:</b>
<a href="http://www.the-commodore-zone.com/" target="_blank" class="bb-url">

The target="_blank" is being added - so if I could either stop the target code from being added or change it to _top etc. it should avoid the problem.

Problem is, I'm not sure where this code is in photopost, I've had a look in the php, but I can't see it - could you point me to the file which adds this.

Thanks in advance.
PaulGN is offline   Reply With Quote
Old December 29th, 2006, 09:29 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Code:
Content visible to verified customers only.
change blank to top in pp-inc.php
__________________
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
BBcode in Additional fields? PaulGN Photopost Pro How Do I...? 13 February 10th, 2006 05:25 PM
Additional and Extra Text fields agrajeda Photopost Pro Installation & Upgrades 1 May 27th, 2005 04:39 AM


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

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