In the discontinued Pagesetter, I can add inline block in a publication. There was also inline block template.
Is it possible withe pagemaster?
My hyspothesis (but not tested) is to create a new position block and put this position in my template But I don't know if it will possible to manage the content of the block in context.
Example in a publication type "book", I used categories such as "thriller", "romance", "philosophy"
I want to blocks in my publication : one with the last 5 books added for the categorie of the reading publication and another for the list of categories... (I think it's easiest with the second block...)
Thanks for answers.
Pagemaster seems to be a killer module, but it's hard to configure it with "documentation in progress" and hard to compile the community knowledge disseminated in many message.
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
How to create inline block in pagemaster
-
- Rank: Freshman
- Registered: Sep 28, 2004
- Last visit: Apr 25, 2010
- Posts: 61
-
**unknown user**
- Rank: Helper
- Registered: Mar 16, 2002
- Last visit: May 18, 2010
- Posts: 985
I'm still in the learning process too...
[Before anyone asks... this is done in the template itself, not a block in 'admin' --> 'layout' --> 'blocks']
but this is what I got so far
Instead of an inlineList, I use this:
Quote
[pnmodfunc modname="pagemaster" type="user" func="main" tid=`$core_tid` filter="date:ge:@now,pubfield:ne:$core_pid" itemsperpage="5" countmode="just" template="optional_template"]
In this case I've included some filters and a template too...
You have to change the 'pubfield' and 'optional_template' to whatever you are using.
Before you ask... in this case I've added "," in Pagesetter that was 'AND' when I got time I'll dig further, or you [or anyone else] can try it... and report back
- Igor -
- Rank: Registered User
- Registered: Jul 04, 2010
- Last visit:
- Posts: 1
-
- Rank: Softmore
- Registered: May 10, 2010
- Last visit: May 18, 2010
- Posts: 165
Igor, you have no idea how happy I am that you have chosen to follow PageMaster. I was scared we would lose you when Pagesetter died.
--
-
- Rank: Softmore
- Registered: May 10, 2010
- Last visit: May 18, 2010
- Posts: 165
Igor, this works great! One note that may help others:
When using a template option, remember that the actual template filename has to have "publist_" preceding your specified template name.
Using your example above:Code
[pnmodfunc modname="pagemaster" type="user" func="main" tid=`$core_tid` filter="date:ge:@now,pubfield:ne:$core_pid" itemsperpage="5" countmode="just" template="optional_template"]
... the actual template's filename would be publist_optional_template.htm.
Thanks!
--
- Moderated by:
- Support
