Results 1 to 8 of 8

Thread: Full category path (e.g.) for \mail\approved.mail

  1. #1
    Join Date
    Oct 2007
    Posts
    31

    Default Full category path (e.g.) for \mail\approved.mail

    Since <%$category%> does not return the URL, is there another way to show the URL (http://...) of the category where a newly approved link has been added? <%$category_path%> or <%$category_path_with_link%> do not return anything in the emails.

    I wish to add this to the "\mail\approved.mail" template, so that the category can be accessed with one click from the approval email.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    As found in other mail templates, just use <%$site_url%>

  3. #3
    Join Date
    Oct 2007
    Posts
    31

    Default Sorry, requiring the full path to the categories

    <%$site_url%> is understood, but how to compose the url down to individual categories within a site, something like: <%$cat_url%> that would work for the email templates?

    Quote Originally Posted by Bruceper View Post
    As found in other mail templates, just use <%$site_url%>

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    You would probably need to add cat_path to the file calling the mail templates, then you can use <%$site_url%>/<%$cat_path..

  5. #5
    Join Date
    Oct 2007
    Posts
    31

    Default How to implement showing category path in \mail\approved.mail?

    Does anyone know how to implement this? Some directories based on systems other than indexu have this as standard.

  6. #6
    Join Date
    Nov 2007
    Posts
    227

    Default

    Try this:

    Code:
    <%$site_url%>/<%$category%>
    I did not test it, so I am unsure how it will work.

  7. #7
    Join Date
    Oct 2007
    Posts
    31

    Default No, this doesn't work.

    No, this doesn't work. I also tried:

    <%$site_url%>/<%$category_path%>

    which doesn't work either. How can <%$category_path%> ( <%$category_path_url%> ?) passed to the email templates?

  8. #8
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Add the variable to the corresponding PHP files.

Similar Threads

  1. notification e-mail different than contact e-mail
    By vsevedko in forum Blocks and Modification
    Replies: 2
    Last Post: 09-23-2006, 09:53 AM
  2. No Mail on IIS 6.0 Fix
    By Akarin in forum iDesk - Customer Service Helpdesk
    Replies: 0
    Last Post: 12-15-2005, 09:45 AM
  3. approved e-mail coming from indexu.com
    By lewisw in forum v5.x
    Replies: 2
    Last Post: 08-18-2005, 10:00 AM
  4. Related Categories full path
    By lexpression in forum v5.x
    Replies: 0
    Last Post: 04-06-2005, 01:20 PM
  5. Approved e-mail cannot change
    By Geert81 in forum v5.x
    Replies: 6
    Last Post: 09-28-2004, 05:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •