|
|
#1 |
|
Senior Member
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 22 ![]() |
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.
|
|
|
|
|
|
#2 |
|
Staff
Join Date: Mar 2006
Posts: 388
Rep Power: 19 ![]() |
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");
Code:
define("LANG_EXT_URL", "Your site (Example: http://www.yoursite.com)");
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 22 ![]() |
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. |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2006
Posts: 172
Rep Power: 14 ![]() |
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>
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 |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2006
Location: Best city in the World � Calgary, Canada
Posts: 466
Rep Power: 22 ![]() |
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. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |