Forums / General Questions / error get template dir on home page

error get template dir on home page

Views: 1,016

Results 1 to 9 of 9
15 Oct 2015, 4:39 PM
#1
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

error get template dir on home page

Hello I bought a template, I have this message on home page, also if I see correctly the template
the message is
get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); */ ?>

Howo could I fix it?

thanks
:smile:

15 Oct 2015, 4:52 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: error get template dir on home page

First recommendation is to contact the template author/place of purchase. They ought to provide support for their product even if it relates to an improper installation.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Oct 2015, 4:57 PM
#3
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: error get template dir on home page

i tried to do that, but no answer.
For this I try to ask here, also because it is only a phrase, I hope it will be simple to fix

15 Oct 2015, 5:28 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: error get template dir on home page

giuly:

i tried to do that, but no answer.
For this I try to ask here, also because it is only a phrase, I hope it will be simple to fix

Well, it looks like the line was being commented out but wasn't fully performed.

My suggestion since really no other information (posting tips) has been provided is to use the tools->developers tool kit in the admin to search on the catalog (lower left corner) on something like:

get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base

Identify which file(s) have that in it, then lookat the source code of the page compared to the results and investigate the code "section" that appears to be providing the line of text and work from there...

There are other ways to approach, and that was the first that came to mind.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Oct 2015, 6:08 PM
#5
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: error get template dir on home page

i try that, but developers tool kit doesn't show anythinf if i insert the phrase

15 Oct 2015, 6:23 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: error get template dir on home page

giuly:

i try that, but developers tool kit doesn't show anythinf if i insert the phrase

Try the same with everything to the right of the single quote. Wasn't sure if that was going to be an issue or not which it might be/have been.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Oct 2015, 6:39 PM
#7
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: error get template dir on home page

I understand that problem is in the file tpl_header.php and concerns the tagline, now I don't know how to fix, but thank you very much for your support :)

15 Oct 2015, 6:55 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: error get template dir on home page

giuly:

I understand that problem is in the file tpl_header.php and concerns the tagline, now I don't know how to fix, but thank you very much for your support :)

Copy the code leading up to and including the trouble line,
Reply or reply with quote to this message.
Press the # button in the message box toolbar.
Paste the code (if using shortcut keys content will be pasted between the code tags generated by the previous step)
Await solution by someone willing/able to help. :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Oct 2015, 7:13 PM
#9
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: error get template dir on home page

I solve changing something from tpl_header.php (from the default template) and changing the relative file in mytemplate file.
Thankssssss