listing link in contactowner.tpl not working

Discussion in 'Technical Support' started by belvedere, Feb 28, 2011.

  1. belvedere Customer

    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 http://www.68classifieds.com/forums...ing-link-contact-owner-email-not-working.html and applied the solution suggested but still doesn't work.

    Any suggestions.
  2. seymourjames All Hands On Deck

    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.
  3. seymourjames All Hands On Deck

    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.
  4. belvedere Customer

    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.
  5. belvedere Customer

    It seems to be using the contactowner.tpl within the default template and not the one within /templates/Sigma-Ocean/contact

    Why is this?
  6. seymourjames All Hands On Deck

    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.

Share This Page