I installed the latest Cozi version of Pagemaster in Zikula 1.2.3 today. I created a couple of pubtypes, added some publications, then created a block (list of N publications). The default template name was set to block_list, so I left it at that. I've tried putting it pretty much everywhere but nothing is working. It just keeps showing the default styling. What do I call the template and where do I put it?
My first guess was to follow the same format as the viewpub and publist templates by naming it block_list_Reviews.htm (Reviews is the title of my publication) and put it in the themes/mytheme/templates/modules/pagemaster/output folder. But that didn't work. Then I tried various other namings and putting it in various template folders, but Pagemaster won't recognize it.
Please help.
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 Block List Template
-
- Rank: Registered User
- Registered: Mar 09, 2010
- Last visit: May 26, 2010
- Posts: 24
-
- Rank: Registered User
- Registered: Mar 09, 2010
- Last visit: May 26, 2010
- Posts: 24
I turned on development mode in Pagemaster settings and it told me what it should be named. I forgot I could do that!
Turns out if you put the template name of block_list in your block settings, the template would be put in the output folder and named publist_block_list.htm. That doesn't make it specific to the pubtype in question, so I changed the block template to block_Reviews, which then made my template name publist_block_Reviews.htm, which makes the most sense to me.
- Moderated by:
- Support
