Fork me on GitHub

How to create inline block in pagemaster  Bottom

  • 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.
  • 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 icon_wink

    - Igor
  • thanks! that helps me too :)
  • 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.

    --
    Harness Technology
  • 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! icon_smile

    --
    Harness Technology

This list is based on users active over the last 60 minutes.