Field inside link

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

Field inside link

Postby diogenes2100 » Wed Jan 09, 2008 4:48 am

I have a project where I'm trying to set up Coranto as an interface to post daily newslinks found across the net.

The following style is not working, however. Anybody have any ideas?

<If: Sub: isNewDate><b><Field: Date></b></If><br>
<a href="<Field: CustomField_url>"><Field: Subject></a> -- <Field: CustomField_source>

I also tried:

<a href="<TextField: CustomField_url>"><Field: Subject></a> -- <Field: CustomField_source>

A little better but still not working. I'm stumped on this one. Thank you for your help.
User avatar
diogenes2100
 
Posts: 21
Joined: Mon Mar 14, 2005 6:33 pm
Location: Florida

Re: Field inside link

Postby Dale Ray » Wed Jan 09, 2008 5:53 am

diogenes2100 wrote:<a href="<Field: CustomField_url>"><Field: Subject></a>


That looks like it should work.

What is being output?

Do you still see the '<Field: CustomField_url>' in the output file or is it just a blank spot?

In the settings for your custom field do you it set to allow HTML? Do you have autolinking on? Coranto's autolinking will mess up fields you want to use for links.

Post the section of style that you are having problems with and the output of that style (or a link to the page).
Dale Ray
User avatar
Dale Ray
 
Posts: 1001
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana

Postby diogenes2100 » Wed Jan 09, 2008 6:22 am

You were right. It was the autolinking from the Change Settings page. Thank you so much.
User avatar
diogenes2100
 
Posts: 21
Joined: Mon Mar 14, 2005 6:33 pm
Location: Florida

Postby Dale Ray » Wed Jan 09, 2008 2:05 pm

Glad you got it working.
Dale Ray
User avatar
Dale Ray
 
Posts: 1001
Joined: Sun Jan 19, 2003 6:02 pm
Location: NW Indiana


Return to Customization

Who is online

Users browsing this forum: No registered users and 1 guest

cron