I'd log this as a fault but it's so "off" it must be something I'm doing.
I have created a new publication using a few string, text and image upload fields. When to templates installed, it renders using the default output but displays the debug popup. I'm really not sure what to look for here. This looks odd:
pndebug plugin found at line 72 in template modules/pagemaster/pntemplates/-
The "-" at the end looks like its missing values surrounding it (?).
When I use the template generator and paste it into a template file, it doesn't seem to be used. I have tried it at my preferred location /config/templates/pagemaster/output/viewpub_testgallery.htm and also at /modules/pagemaster/pntemplates/output/viewpub_testgallery.htm.
Suggestions?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Pagemaster templates not being used
-
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
-
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
Yes, I copied the name from the pagemaster status box (development mode) and used that to create the file. Twice. -
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
Well it's still popping up the debug console - not sure why - but it's not because the templates are missing. I thought that was the case because of a caching issue and because in "dev mode" pagemaster is LYING!. When you have dev mode turned on, the message:
"This is a generic template. Your can get the pubview code and create a customized template (viewpub_testgallery.htm), then store it in the the config directory: /config/templates/pagemaster/output/viewpub_testgallery.htm or within your theme: /templates/modules/pagemaster/output/viewpub_testgallery.htm.
You can hide this message disabling the development mode."
appears even if you have a custom template in place. Silly me, I believed it. If you look in pagemaster_generic_navbar.htm there is no logic that would suppress that message when it is using a template file based on the "customized template" listed.
This is clearly a rookie mistake on my part. But yes, I am a pagemaster rookie and I've wasted two evenings trying to figure out why it's not using my template file when it actually is using it.
Now, can anyone tell me why the debug console is popping up? How do you decipher these things? -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
You must have: I think, tho I'm not sure, it may be in the code the nav bar uses to show that warning. CHeck the relevant templates forCode
<!--[pndebug]-->
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 07, 2010
- Posts: 507
Hmm, I am using the SVN version. So you're saying it may not be telling me there's something wrong, just popping up all the time. I'll try removing it. -
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
Hi Mr Bronto
,
I'm using the same version, in
pagemaster --> setting --> dev mode off
I don't get that pop-up anymore...
I'm still a rookie too, no doubt... but I think I'm getting used to it... don't forget, it's still a RC version
- Igor
- Moderated by:
- Support
