Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-22-2008, 03:38 PM
New Pligger
Pligg Version: 9.9
 
Join Date: May 2008
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
OUtgoing links in a new window when seeing a story

If I set "Use story title as link" to true in my installation, it will take me to that site when I click on it. But I want this to happen when the user is seeing the description of the story (in the second click of the user).

In Ximmy.com when you go to "news" and click on any story, it will take you to the description page inside ximmy.com, and then you click on the title of that story and it will open a new window with the link of the story.

How can I replicate this on my site?
Reply With Quote
  #2 (permalink)  
Old 05-23-2008, 03:09 PM
rubber2002's Avatar
Pligg Donor
 
Join Date: Jul 2007
Posts: 208
Thanks: 25
Thanked 5 Times in 4 Posts
Me to looking for the answer.
Reply With Quote
  #3 (permalink)  
Old 05-23-2008, 03:12 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Thanks: 171
Thanked 17 Times in 17 Posts
guys I'm sure this is an option right inside your admin cp

go to configure your site, select story and from there select true to Use story title as link

P.S. nice site totalpad! Keep it up :)

P.S.S - I think I misunderstood you guys... sorry if I did. If you want the story page to open in new link this I don't know how to do.
Reply With Quote
  #4 (permalink)  
Old 05-23-2008, 10:08 PM
rubber2002's Avatar
Pligg Donor
 
Join Date: Jul 2007
Posts: 208
Thanks: 25
Thanked 5 Times in 4 Posts
Smile

Quote:
Originally Posted by bbrian017 View Post
guys I'm sure this is an option right inside your admin cp

go to configure your site, select story and from there select true to Use story title as link

P.S. nice site totalpad! Keep it up :)

P.S.S - I think I misunderstood you guys... sorry if I did. If you want the story page to open in new link this I don't know how to do.
Thanks bbrian. BTW, we still don't have the solution... May be Chuckroast will help us out.
Reply With Quote
  #5 (permalink)  
Old 05-25-2008, 01:11 AM
rubber2002's Avatar
Pligg Donor
 
Join Date: Jul 2007
Posts: 208
Thanks: 25
Thanked 5 Times in 4 Posts
***bump***
Reply With Quote
  #6 (permalink)  
Old 05-26-2008, 05:43 PM
New Pligger
Pligg Version: 9.9
 
Join Date: May 2008
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Anybody else care to share a solution?
Reply With Quote
  #7 (permalink)  
Old 05-29-2008, 11:47 AM
rubber2002's Avatar
Pligg Donor
 
Join Date: Jul 2007
Posts: 208
Thanks: 25
Thanked 5 Times in 4 Posts
Surprisely no solution so far...
Reply With Quote
  #8 (permalink)  
Old 06-01-2008, 12:11 AM
rubber2002's Avatar
Pligg Donor
 
Join Date: Jul 2007
Posts: 208
Thanks: 25
Thanked 5 Times in 4 Posts
***Forced to bump***
Reply With Quote
  #9 (permalink)  
Old 06-02-2008, 08:01 PM
chuckroast's Avatar
Pligg Developer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,219
Thanks: 163
Thanked 425 Times in 264 Posts
Try this.. Open link_summary.tpl and find

Code:
{if $pagename eq "story"}
                    <a href="{$url}">{$title_short}</a>
                {else} 
                  <a href="{$story_url}">{$title_short}</a>
                {/if}
Try changing it to
Code:
{if $pagename eq "story"}
                    <a href="{$url}">{$title_short} target="_blank"</a>
                {else} 
                  <a href="{$story_url}">{$title_short}</a>
                {/if}
Hope that helps
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #10 (permalink)  
Old 06-02-2008, 09:37 PM
rubber2002's Avatar
Pligg Donor
 
Join Date: Jul 2007
Posts: 208
Thanks: 25
Thanked 5 Times in 4 Posts
Quote:
Originally Posted by chuckroast View Post
Try this.. Open link_summary.tpl and find

Code:
{if $pagename eq "story"}
                    <a href="{$url}">{$title_short}</a>
                {else} 
                  <a href="{$story_url}">{$title_short}</a>
                {/if}
Try changing it to
Code:
{if $pagename eq "story"}
                    <a href="{$url}">{$title_short} target="_blank"</a>
                {else} 
                  <a href="{$story_url}">{$title_short}</a>
                {/if}
Hope that helps
Thanks Chuckroast, but it didn't work. BTW, this is my current code:
Quote:
<div class="toptitle" id="ls_thetitle-{$link_shakebox_index}">
{if $use_title_as_link eq true}
{if $url_short neq "http://" && $url_short neq "://" && $url_short neq "1"}
<a href="{$url}" {if $open_in_new_window eq true} target="_blank"{/if}>{$title_short}</a>
{else}
<a href="{$story_url}">{$title_short}</a>
{/if}
{else}
{if $pagename eq "story"}
{if $url_short neq "http://" && $url_short neq "://" && $url_short neq "1"}
<a href="{$url}">{$title_short}</a>
{else}
<span class="toptitle-nolink">{$title_short}</span>
{/if}
{else}
<a href="{$story_url}">{$title_short}</a>
{/if}
{/if}
Reply With Quote
Reply

Thread Tools
Display Modes
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 Off
[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
How do I update homepage story title links to be internal? LovableCritters General Help 4 09-24-2007 05:44 AM
edit story and outgoing link returns blank page crusty General Help 0 08-23-2007 01:30 PM
Why does outgoing links not work with url method2? mbs348 General Help 10 02-28-2007 04:11 AM
Story outgoing link not working daone General Help 2 12-31-2006 11:00 AM
Not all story links work newby General Help 4 11-26-2006 08:01 AM


Search Engine Friendly URLs by vBSEO 3.2.0