About this topic

  • Posted by Kevin 1 year ago. There are 4 posts. The latest reply is from byron.
  • This topic is resolved
  1. I feel like I have the hang of this, but for some reason I can't get this to work. I want to display the users Twitter name under the image they've uploaded and for it to be a link to their Twitter page.

    I've created a custom field named [twitter_name]. Which is displayed in the upload form.

    Here's the code...

    HTML Layout (no styling yet)

    <li>
    	<div>
    		<a href='[image_url]'>[thumb_image]</a>
    		<a href='http://www.twitter.com/[twitter_name]' target='_blank'>[twitter_name]</a>
    	</div>
    </li>

    Wrapper (used from one of the other layouts)

    <span style='float:right;'>[piclens]</span><div class='clear'></div>
    <h3>[gallery_name] Gallery</h3>
    <div class='bwbps_gallery_container0'>
    <ul class='bwbps_gallery'>
    [gallery]
    </ul>
    <div style='clear:both;'></div>
    </div>

    So I just can't get the [twitter_name] to give an output at all. Any ideas? Am I just not understanding how it works?

    Thanks for the help.

  2. Hi Kevin,

    Hmmm....not sure why that's not working. Is the name of your field "[twitter_name]" or "twitter_name"?

    Can I see a link where this is in action?

    BB

  3. Ahhh my bad... I just figured it out.

    When creating the custom field I was selecting the type as "Textbox", BUT I thought the numeric checkbox next to it was meant to allow the input of numbers in addition to, instead of just alphabet letters. I didn't realize that it meant only a numeric input. So it was working, just didn't have numeric data to display.

    Thanks again.

  4. Ah...thanks for the report. It'll be one more question to ask next time I see the problem!

    Glad you've got it figured!
    Cheers,
    Byron

RSS feed for this topic