Changing link

7 posts by 2 authors in: Forums > CMS Builder
Last Post: November 11, 2008   (RSS)

Is it possible to change the way a link shows up?

Instead of it having the full, long link on screen, I'd rather have a link that says 'Read More', or better still, an image that is the link.

Is that possible?
High quality residential training for writers, actors & Film Making - Click Here for further information

Re: [Moonworks] Changing link

By Dave - November 11, 2008

Sure, can you post the little snippet of code that displays your link now?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Changing link

This is the line of code that I have:

<b>Click here for further info:</b> <a href="<?php echo $record['_link'] ?>"><?php echo $record['_link'] ?></a><br/>


I'm a rookie when it comes to PHP, just about reached 24 hours on it [blush]
High quality residential training for writers, actors &amp; Film Making - Click Here for further information

Re: [Moonworks] Changing link

By Dave - November 11, 2008

It's just HTML, try this:

<a href="<?php echo $record['_link'] ?>">Read More &gt;&gt;</a><br/>

Or

<a href="<?php echo $record['_link'] ?>"><img src="http://www.interactivetools.com/images/logo.gif" /></a><br/>
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Changing link

Thanks, that works great.

The only thing is, how do I get rid of the coloured square around the image?

http://www.theewf.com/news/breakingnewslist.php
High quality residential training for writers, actors &amp; Film Making - Click Here for further information

Re: [Dave] Changing link

Thanks, looking nice now
High quality residential training for writers, actors &amp; Film Making - Click Here for further information