Support Forums

External website links only showing as text not links

This is a discussion on External website links only showing as text not links within the Technical Support forums, part of the Technical Support Forums category; Hi I'm probably doinf something very silly but my site at Wedding Yellow Pages has just gone 'live' and I ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 02-16-2009, 08:14 AM   #1
Member
 
Join Date: Jan 2009
Posts: 42
Rep Power: 9
sunshinemike is on a distinguished road
Default External website links only showing as text not links

Hi

I'm probably doinf something very silly but my site at Wedding Yellow Pages has just gone 'live' and I have noticed a problem.

When a customer places a listing their website URL is shown in the ad but not as a clickable link - just a text string.

Have a done something wrong or do I need to change some code.

Many thanks

Mike McCann
__________________
V4.1.2 Developer

Beer.....so much more than a breakfast drink!
sunshinemike is offline  
Old 02-16-2009, 08:36 AM   #2
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,097
Rep Power: 62
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

That most likely reason for this is that the end user is not putting in the "http://" at the beginning of the URL which is what tells the browser that this is a full clickable link.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out

Last edited by Mike-N-Tosh; 02-16-2009 at 12:56 PM.
Mike-N-Tosh is offline  
Old 02-16-2009, 12:40 PM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,982
Rep Power: 73
seymourjames is a jewel in the rough
Default

I just looked at your site and I do not see the problem as most links appear to have been entered correctly.

Links should take this form when you look at the source:

<a href="http://www.thedomain.com" title="some title text" >some more text</a>

This is a correctly formatted link with minimum attributes. Often you and in your case you will see it like this

<a href="http://www.thedomain.com" title="www.thedomain.com" target="_blank">http://www.thedomain.com</a>

It is the first http:// part of the code that does the work.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline  
Old 02-16-2009, 01:46 PM   #4
Member
 
Join Date: Jan 2009
Posts: 42
Rep Power: 9
sunshinemike is on a distinguished road
Default

Thanks

That is exactly the problem ! I think the user should be warned when entering a website URL that it MUST start with http://

I wanted to change the text displayed in userjoin.tpl (via english.php - LANG_EXT_URL") to say Please ensure link starts with http:// but then realised this text is also displayed in viewlisting.tpl so have had to add an extra line in english.php

define("LANG_EXT_URL", "Link to your website - must start http://");
define("LANG_EXT_URL2","Link to your website");

... and call the first in userjoin.tpl and the second in viewlisting.tpl

Works fine now
__________________
V4.1.2 Developer

Beer.....so much more than a breakfast drink!
sunshinemike is offline  
Old 02-16-2009, 02:02 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,982
Rep Power: 73
seymourjames is a jewel in the rough
Default

That is a very good idea. Well done. Many do not realize that they can add new constants to their language file and use them throughout in their templates.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds Version 5 Themes and Version 4 Templates
seymourjames is offline  
Old 02-16-2009, 02:29 PM   #6
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,497
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Just to add to this in v4.1.0 we have included better checking that they enter a full url. To prevent this.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
external url not showing Adam Waxler Technical Support 8 01-01-2009 07:51 PM
Website links goyadi Technical Support 2 06-06-2008 10:32 AM
Google showing internal links calaf6 Templates, HTML, CSS, and Design Help 3 02-22-2008 06:57 PM


All times are GMT -4. The time now is 11:56 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0