Support Forums

listing link in contactowner.tpl not working

This is a discussion on listing link in contactowner.tpl not working within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? V4.2.1 Developer What template are you using? Sigma Please describe in detail ...


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

Reply
 
Thread Tools Display Modes
Old 02-28-2011, 12:43 PM   #1
Customer
 
Join Date: Oct 2009
Posts: 108
Rep Power: 8
belvedere is on a distinguished road
Default listing link in contactowner.tpl not working

What version of 68 Classifieds are you running?
V4.2.1 Developer

What template are you using? Sigma


Please describe in detail the issue you are having:

Since upgrading to version 4.2.1 the link in the email received when owner is contacted does not work. It just says URL: listing/100/GBT_Building_Services.html

I have read the following post listing link in contact owner email not working and applied the solution suggested but still doesn't work.

Any suggestions.
belvedere is offline   Reply With Quote
Old 02-28-2011, 12:46 PM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,042
Rep Power: 75
seymourjames is a jewel in the rough
Default

What happens if you use the default template?

I remember there was on one of my sites an issue but I forget how it was solved.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com

Last edited by seymourjames; 02-28-2011 at 01:17 PM.
seymourjames is offline   Reply With Quote
Old 02-28-2011, 01:24 PM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,042
Rep Power: 75
seymourjames is a jewel in the rough
Default

Looks like a bug (although was solved - pretty sure about that) - tested it on the default template and the problem is there with the seo module deployed.

I just put in the domain explicitly like this and it worked.


<strong>{$smarty.const.LANG_URL}: </strong><a href="http://demo.templatecodes.com/{$listing_url}">{$listing_url}</a>

You may or may not need the oblique character after the domain name.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com

Last edited by seymourjames; 02-28-2011 at 01:29 PM.
seymourjames is offline   Reply With Quote
Old 02-28-2011, 02:01 PM   #4
Customer
 
Join Date: Oct 2009
Posts: 108
Rep Power: 8
belvedere is on a distinguished road
Default

I've put this into the contactowber.tpl and it works.

<strong>{$smarty.const.LANG_URL}: </strong><a href="{$smarty.const.URL}/{$listing_url}">{$smarty.const.URL}/{$listing_url}</a>

It was missing the "/" in Eric's solution.

My question is why has it suddenly stopped working? I've looked at an old contactowner.tpl file from a backup I had and the code is exactly the same as the one that doesn't worrk.
belvedere is offline   Reply With Quote
Old 02-28-2011, 02:06 PM   #5
Customer
 
Join Date: Oct 2009
Posts: 108
Rep Power: 8
belvedere is on a distinguished road
Default

Quote:
Originally Posted by seymourjames
What happens if you use the default template?
It seems to be using the contactowner.tpl within the default template and not the one within /templates/Sigma-Ocean/contact

Why is this?
belvedere is offline   Reply With Quote
Old 02-28-2011, 02:14 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,042
Rep Power: 75
seymourjames is a jewel in the rough
Default

Sorry - you are correct about that. Right - you needed the oblique character. Because listing_url has been changed - can't remember which core file but it is a bug. Put it on the bug tracker.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com

Last edited by seymourjames; 02-28-2011 at 02:17 PM.
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
listing link in contact owner email not working smkorby Technical Support 3 09-22-2010 07:19 AM
Contactowner link damiun Technical Support 3 01-07-2010 07:34 AM
Link to COMPLETE the listing (direct link) PimMC Customizations 3 09-30-2009 02:30 AM
changes done to contactowner.tpl? cwp Technical Support 5 03-27-2008 06:16 PM


All times are GMT -4. The time now is 06:13 AM.


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