Caption positions and URLs

4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 24, 2008   (RSS)

By Wolf-E - September 23, 2008

HI Folks

Two minor glitches to solve: When we add a URL from a client detail page back to their website, the end result is like this: "Home page (url): http://www.clientshomesite.com" except is does not display as a hyper link merely as this text entry. How do we modify the admin code to get it to generate a real URL link from the detail page to the client?

Caption problem: Geting the caption to appear beneath the upload images (instead of at the sides) without forciing the rest of the images (and relevant captions) to end up displaying as disjointed columns? We have the detail page set to display rows of four images using vspace, hspace, border etc - works fine - but the moment we add the caption facilty to the code, it loses all cohesion.

I saw an answer to this a while back but cannot find it in the forums again. Any quick fixes appreciated!

Thanks ~ Wolf-E

Re: [Wolf-E] Caption positions and URLs

By kevbarker - September 23, 2008

Wolf-E,

To solve the URL issue, make sure you include your link within anchor tags.

Example: (change values to match what you have set up)
<a href="<?php echo $record['weblink'] ?>"><?php echo $record['weblink'] ?></a>

Instead of this:
<?php echo $record['weblink'] ?>

Give that a try and and let me know if you need more help.

For the caption problem, I have recently done something, using CSS, similar to what you are trying to do. It sounds like you are using a table for layout though. Can you post a link to the site so I can get an idea of what we are working with? I may be able to come up with a solution.

Hope this helps.
Kevin

Re: [kevbarker] Caption positions and URLs

By Wolf-E - September 24, 2008

Hi Kevin

[:)] Thanks for the URL workaround, that solved that glitch a treat. I've mailed you privately with the info required on the captions problem site.

Many thanks ~ Wolf-E