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 18th, 2011, 02:28 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Question Display gallery in new tab

I want to display the gallery in a new tab instead of the main window, and I was wondering what should I change for this. Technically I have to add
target = "blank" somewhere in the code but not sure where. To be more precise from http://mydomain.com/showgallery.php?...&username=jdoe when clicking on a album, the new target (http://mydomain.com/showgallery.php?cat=599) should open in a new tab. Any help will be much appreciated.

Thank you!
artshock is offline   Reply With Quote
Old July 18th, 2011, 02:35 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If your referring to our code links are going to load in the same window so you would alter any script links in whatever files to add that target statement.

Maybe modify the construct_newpp_url function?
__________________
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 18th, 2011, 03:15 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Hi Chuck,

I think this is what I need - some changes in the construct_newpp_url. How can I modify it to achieve my goal?

Thank you!
artshock is offline   Reply With Quote
Old July 18th, 2011, 03:20 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Well there is no simply way. You would have to alter every single <a> tag in the program. The function returns the url but the <a> tags are formulated in every last script meaning you would have to alter every last script in the tags and add target=\"blank\"
__________________
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
Gallery Profile Tab Issues gatorsfootball Bugs - vBulletin 4.0 3 May 26th, 2011 06:53 PM
User profile - Blog tab - no info when gallery tab is enabled DDIG Bugs - vBulletin 4.0 5 November 9th, 2010 07:50 AM
How do I remove the gallery tab from profile tcbworld How Do I? - vBulletin 3.6x 1 January 22nd, 2009 07:02 PM
user cp gallery tab is missing MikeH2911 Installs and Upgrade - vBulletin 3.6x 4 July 25th, 2008 03:03 PM


All times are GMT -5. The time now is 02:40 PM.

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