strange output of links
Posted: 01 September 2008 03:31 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  143
Joined  09-18-2007

i have a weblog with a custom text field in which the client pastes links to documents on external sites. the urls are long and ugly ones so i just want to display them with anchor text “view document”. when i create my link as follows:

<td><a href="{rep_extlink}">View Document</a></td>

it gets output as such

<td><a href=“http://www.google.com”>http://www.google.com</a>’>View Document</a></td>

the data pasted in to the custom field is: http://www.google.com

what would be the best way to print this link using my own anchor text? it seems EE adds the <a> tags itself ... ? im not using any other plugins or extensions in this template but i seem to recall a “auto parse url’s” feature (or bug grin) somewhere. can this be turned off at the weblog or template level somehow?

Profile
 
 
Posted: 01 September 2008 03:51 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6543
Joined  04-15-2006

Hi stef,

Try going to :

Admin->Weblog Administration->Weblog Management->Edit Preferences (Your Weblog)->Weblog Posting Preferences

Turn off the :

Automatically turn URLs and email addresses into links?

option and hopefully that should help?

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 01 September 2008 04:28 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12381
Joined  04-29-2002

Thanks for the assist, Mark!

Stef, does the information from Mark help?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 02 September 2008 12:48 PM   [ Ignore ]   [ # 3 ]  
Lab Assistant
RankRank
Total Posts:  143
Joined  09-18-2007

that fixed it, thanks mark & sue.

Profile
 
 
Posted: 02 September 2008 12:51 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12381
Joined  04-29-2002

Glad to hear things are working for you again. Please don’t hesitate to post again if needed.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 02 September 2008 12:52 PM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12381
Joined  04-29-2002

Really closing the thread now. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64912 Total Logged-in Users: 27
Total Topics: 81864 Total Anonymous Users: 16
Total Replies: 440101 Total Guests: 185
Total Posts: 521965    
Members ( View Memberlist )
Newest Members:  bjmohrAqua193Bios Elementmjpoteetguimogranwelshmrcfthenetmonkeybenekwhobutsb