|
Haven't registered yet? Do it here now!
|
Tamashi
Joined: 17 Oct 2009 Posts: 6
|
|
|
|
|
|
|
Posted: Sat Oct 17, 2009 5:46 am Post subject: Link Seperator |
|
|
|
|
|
|
|
|
|
|
Hello.
Is there a possible way to seperate links with a pipe?
Something like: link 1 | link 2 | link 3 and so on
In theory, something like this would work:
{tradelinkformat,{ anchor } |}
{trades,1-10}<br />
{trades,11-20}<br />
{trades,21-30}<br />
{trades,31-40}<br />
{trades,41-50}<br />
{trades,51-60}<br />
{trades,61-70}<br />
{trades,71-80}<br />
{trades,81-90}<br />
{trades,91-100}<br /><br /><br />
Webmasters add your site
However, using that, the links would look like this:
Link 1 | Link 2 | Link 3 |
So the last link will always have an unwanted pipe behind it
Is it possible to use 2 diffrent formats in the same template? One for the first link of each row, and a second format for the 9 others |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Oct 17, 2009 8:20 am Post subject: |
|
|
|
|
|
|
|
|
|
|
what you pasted is correct as a template, but yes the last pipe will show up always. There's no support for 2 different formats in same template, sorry _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Tamashi
Joined: 17 Oct 2009 Posts: 6
|
|
|
|
|
|
|
Posted: Sat Oct 17, 2009 1:37 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Well, I could make a template like this:
{tradelinkformat,{anchor}}
{trade1} | {trade2} | {trade3} | {trade4} | {trade5} | {trade6} | {trade7} | {trade8} | {trade9} | {trade10}<br />
{trade11} | {trade12} | {trade13} | {trade14} | {trade15} | {trade16} | {trade17} | {trade18} | {trade19} | {trade20}<br />
{trade21} | {trade22} | {trade23} | {trade24} | {trade25} | {trade26} | {trade27} | {trade28} | {trade29} | {trade30}<br />
{trade31} | {trade32} | {trade33} | {trade34} | {trade35} | {trade36} | {trade37} | {trade38} | {trade39} | {trade40}<br />
{trade41} | {trade42} | {trade43} | {trade44} | {trade45} | {trade46} | {trade47} | {trade48} | {trade49} | {trade50}<br /><br />Webmasters add your site
Would this require more performance from the scripts side than {trade1-10} ?
Last edited by Tamashi on Sat Oct 17, 2009 11:37 pm; edited 1 time in total |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Oct 17, 2009 10:30 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
well, yes, that would work. No it doesn't require more resources.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |