ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

External URL being added on to Site URL instead of opening new site

January 21, 2010 4:34am

Subscribe [2]
  • #1 / Jan 21, 2010 4:34am

    lcr

    3 posts

    Hi all - I hope someone can spot what I’ve done wrong here.

    My template code:

    <a href="http://{event_tickets}" target="_blank" rel="noopener">http://www.oxfordjazzfestival.com/2010Fest/images/tickets.png{event_ticket_price}</a>

    {event_tickets} custom field in my weblog is just a straight url containing the http://
    {event_ticket_price} is a number, i.e. £5

    Ideally, a person clicks on the price and gets sent to a page on wegottickets. Simple, right? Well, when I click on the price, the wegottickets url gets tacked on to the end of my website url and looks like this:

    <a href="http://www.oxfordjazzfestival.com/2010Fest/index.php/schedule/http://www.wegottickets.com/event/70350">http://www.oxfordjazzfestival.com/2010Fest/index.php/schedule/http://www.wegottickets.com/event/70350</a>

    What am I doing wrong in my <a > ?

    Mod Edit: Moved to the Technical Support Forum

  • #2 / Jan 21, 2010 2:46pm

    lcr

    3 posts

    I was able to fix this, thanks to the advice of an ee expert I am lucky enough to know. The problem was that the field causing the problem didn’t have the formatting set to ‘none’, so it was picking up a paragraph tag.

  • #3 / Jan 21, 2010 2:51pm

    Ingmar

    29245 posts

    Glad to see you’re all set. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases