Activity Stream
48,167 MEMBERS
62051 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Member
    Website's:
    Se7ensins.com

    Default Quick templet edit for postbit

    Ok so what I'm looking to do is add my gametag to my post bit. I've already got it in there but I want it to link to my GT on xbox.com so like this


    "GT: Nightcast "

    This is what I have now just for the name and no linking.
    Code: 
    <if condition="$post['field5']"><div style="border:1px solid #c9c9c9; background:#f6f6f6; padding:2px; margin-bottom:3px;">
    Gamer Tag: $post[field5]</div></if>
    Thanks for who ever helps.
    Nightcast Reviewed by Nightcast on . Quick templet edit for postbit Ok so what I'm looking to do is add my gametag to my post bit. I've already got it in there but I want it to link to my GT on xbox.com so like this "GT: Nightcast " This is what I have now just for the name and no linking. <if condition="$post"><div style="border:1px solid #c9c9c9; background:#f6f6f6; padding:2px; margin-bottom:3px;"> Gamer Tag: $post</div></if>Thanks for who ever helps. Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    nuclearwarez.com
    So you need the field5 to be a link?

  4.     
    #3
    Member
    Website's:
    Se7ensins.com
    It's fine, I already got it.

  5.     
    #4
    Member
    Website's:
    nuclearwarez.com
    Oh Ok then!

  6.     
    #5
    Member
    can you share how you figured it out. just interested.

    cheers

  7.     
    #6
    Member
    Website's:
    Se7ensins.com
    Code: 
    <if condition="$post['field5']">
    <div style="border:1px solid #c9c9c9; background:#f6f6f6; padding:2px; margin-bottom:3px;">
    
    Gamer Tag: <a href="http://live.xbox.com/member/$post[field5]">$post[field5]</a>
    
    </div>
    </if>
    I would suggest:

    Here is what you need:

    Code: 
    <if condition="$post['field5']">
    <div style="gamertag">
    
    Gamer Tag: <a href="http://live.xbox.com/member/$post[field5]">$post[field5]</a>
    
    </div>
    </if>
    And in the additional CSS area of your style add:

    Code: 
    /* ***** styling for Gamer Tags ***** */
    .gamertag { 
        background: #f6f6f6;
        border: 1px solid #c9c9c9;
        padding:2px;
        margin-bottom:3px;
        }
    This way if you change styles, you can change it one area and not have to mess with templates. And you may want to validate this code. I'm rusty.

    I did the first way but both work great.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Quick Edit Not Working
    By World Life in forum IP.Board
    Replies: 10
    Last Post: 8th Feb 2012, 11:42 AM
  2. WP Quick Edit WiP
    By _brazzO in forum Wordpress
    Replies: 4
    Last Post: 28th Nov 2011, 01:05 PM
  3. [Hiring] Quick vBulletin code edit...
    By DOPE in forum Completed Transactions
    Replies: 7
    Last Post: 1st Nov 2011, 08:41 PM
  4. Need a templet for ads for footer of WWT
    By MrPeanut420 in forum Web Development Area
    Replies: 0
    Last Post: 5th Feb 2011, 12:27 AM

Tags for this Thread

BE SOCIAL