Support Forums

Old 04-10-2007, 12:56 AM   #1
Senior Member
 
SkGold's Avatar
 
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 22
SkGold has a spectacular aura about
Default Anchor text link in viewlisting.tpl

Is it possible to change the link to seller website in viewlisting.tpl to anchor text link? I would like to make ad title as an anchor text link. I would appreciate if somebody could tell me how to do it.
__________________
Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Business Directory V3.1.10 Dev - Calgary Classifieds V3.1.10 Dev - Calgary Real Estate V3.1.10 Dev - Calgary Used Cars V3.1.10 Dev - Calgary Rent V3.1.10 Dev - Calgary Dating V3.1.5 Dev

A website without well-done Internet Marketing and Search Engine Optimization is as good as non-existent.
SkGold is offline   Reply With Quote
Old 04-10-2007, 02:23 PM   #2
Staff
 
Join Date: Mar 2006
Posts: 388
Rep Power: 19
Blair will become famous soon enough
Default

Hi Sergey-

When your listers enter a site address as "google.com" (without the quotes), the address will not be active. When they enter "http://www.google.com", then the link will be active.

We suggest you modify the language file so that it includes an example for your customer on how to correctly enter the address.

Change
Code:
define("LANG_EXT_URL", "Link to your website");
to something like
Code:
define("LANG_EXT_URL", "Your site (Example: http://www.yoursite.com)");
Hope this helps.
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
Blair is offline   Reply With Quote
Old 04-10-2007, 05:37 PM   #3
Senior Member
 
SkGold's Avatar
 
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 22
SkGold has a spectacular aura about
Default

Hi Blair, thanks for reply.
But I actually want to show instead of http://www.clientsite.com anchor text link like Client Beautiful Dog.
__________________
Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Business Directory V3.1.10 Dev - Calgary Classifieds V3.1.10 Dev - Calgary Real Estate V3.1.10 Dev - Calgary Used Cars V3.1.10 Dev - Calgary Rent V3.1.10 Dev - Calgary Dating V3.1.5 Dev

A website without well-done Internet Marketing and Search Engine Optimization is as good as non-existent.

Last edited by SkGold; 04-10-2007 at 05:43 PM.
SkGold is offline   Reply With Quote
Old 04-10-2007, 06:39 PM   #4
Senior Member
 
gregbatch's Avatar
 
Join Date: Jun 2006
Posts: 172
Rep Power: 14
gregbatch is on a distinguished road
Default

In viewlisting.tpl.php OR viewlisting2.tpl.php (use debug to see which file you are using):

Change
Code:
{if $url<>""}
<tr> 
	<td><strong>{$smarty.const.LANG_EXT_URL}:</strong></td>
	 <td>{$url|linkurl:45}</td>
</tr>
To
Code:
{if $url<>""}
<tr> 
	<td><strong>{$smarty.const.LANG_EXT_URL}:</strong></td>
	 <td><a href='{$url}'>{$listingtitle}</a></td>
__________________
Greg
3.1.4 Designer
gregbatch is offline   Reply With Quote
Old 04-11-2007, 12:05 AM   #5
Senior Member
 
SkGold's Avatar
 
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 22
SkGold has a spectacular aura about
Default

Thank you Greg.
But it is still something missing. It is displaying it as a text.
You may take a look here. The 3-d row above the contact form.

Edited:
Never mind. It is working perfect.
It was something wrong with my html editor.

Thanks a lot Greg.
__________________
Thanks,
Sergey

Bargain Finder in Calgary, Alberta, Canada.
Calgary Business Directory V3.1.10 Dev - Calgary Classifieds V3.1.10 Dev - Calgary Real Estate V3.1.10 Dev - Calgary Used Cars V3.1.10 Dev - Calgary Rent V3.1.10 Dev - Calgary Dating V3.1.5 Dev

A website without well-done Internet Marketing and Search Engine Optimization is as good as non-existent.

Last edited by SkGold; 04-11-2007 at 12:19 AM.
SkGold is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display link in only 2 cats midi510 v3.1 Modules & Modifications 8 04-09-2007 06:20 PM
Yahoo Maps - I can not get it to display link redmtnex v3.1 Modules & Modifications 15 01-24-2007 12:09 AM
ad is about to expire link garysmith v3.1 Questions & Support 3 06-14-2006 07:27 PM
change name of nav link thecarsales v3.1 Questions & Support 2 06-02-2006 12:01 PM
How to Easily Find Link to "My Store" hppenterprises v3.1 Questions & Support 6 06-02-2006 11:23 AM


All times are GMT -4. The time now is 07:58 PM.


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