Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Current template name/folder?

    I guess that ZC stores the current template name in some global variable, just can't find where it is. Can someone please tell me know the variable's name?

    Thank you.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Current template name/folder?

    Edit: I think I got it ($template_dir)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Aug 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Current template name/folder?

    Thats correct it solved my problem as well. To input the template name variable or browse to the folder within any string construct to go to a folder as your template name use $template_dir. Thanks for support.

 

 

Similar Threads

  1. Changing my current template
    By dawndmd in forum General Questions
    Replies: 4
    Last Post: 15 Dec 2012, 07:51 PM
  2. v150 change main host folder name and admin folder name after install?
    By Johnnycopilot in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Aug 2012, 08:25 PM
  3. Replace catagories title with current catagory name.
    By chalfontgifts in forum General Questions
    Replies: 2
    Last Post: 7 Sep 2008, 07:52 AM
  4. Current Web Template vs. New Zen Cart Friendly Template
    By bessy77 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Jul 2008, 04:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR