<ktml:modules position="[position]"> <ktml:modules:content></html:modules>
--
---
You received this message because you are subscribed to the Google Groups "Nooku Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framework+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framework+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.
Actually - strike that (i haven't fixed it). There's something else going on. This only happens on certain views in our site, will investigate a little further to find what's causing the tags to be rendered correctly sometimes and not other times.to be continued...
Met vriendelijke groet,
On 13 November 2014 09:42, Babs Gösgens <ba...@crossinghippos.nl> wrote:
Hi Johan,I found a bug in the way module blocks are parsed. In a nutshell, the closing tags are never removed, thus invalidating the markup (and breaking the layout). I have issued a PR with a proposed patch: https://github.com/nooku/nooku-platform/pull/16
Met vriendelijke groet,
On 12 November 2014 07:01, Johan Janssens <jjan...@gmail.com> wrote:
Great, if you need more help let me know.
Johan
On Tuesday, November 11, 2014 4:22:32 PM UTC+8, Babs wrote:
It does, thanks :)I'll keep you posted on the page configuration solution that we ultimately end up with.
Met vriendelijke groet,
On 11 November 2014 06:26, Johan Janssens <jjan...@gmail.com> wrote:
About your question. We have a helper to count the modules in a certain position. See : https://github.com/nooku/nooku-platform/blob/develop/component/pages/template/helper/module.php#L87Call it as helper('module.count', [condition]); Example helper('module.count', 'user1 + user2');Does that help ?
Johan
On Monday, November 10, 2014 6:16:32 PM UTC+8, Babs wrote:
Hi Johan,Thanks. I found the block implementation of the module (<ktml:modules></html:modules>) which I find very cool btw.Regarding question two, I wanted to assign a different page layout for only the landingpage and the login and signup view. Now, the login and signup I control by (un)assigning modules, but in the case of the landingpage I have a little more changes from the 'regular' layout that apply. I somehow expected that to be configurable from the pages component by assigned page-wide layouts on that level.I suppose I could get around this keeping the default page layout really bare and check for the existence of modules, however I would also need some method to identify the current view so that I could - for instance - apply a specific body class to control which styling applies. I suppose I could check which view is being rendered, or map page ID's or something, but adding it to the page configuration as a class or something seems appropriate. I guess we override the some of the configuration files to add such behavior.I'll figure this out, am trying to stick to Nooku best practices where possible.In the meantime, what is the way to check for modules (in a specific position) in a template?
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.
<nav>
<ktml:modules position="menu">
</nav>
<ktml:modules position="left" chrome="wrapped">
<aside class="sidebar col-md-3">
<ktml:modules:content>
</aside>
</ktml:modules>
<ktml:modules position="menu"></nav><ktml:modules position="left" chrome="wrapped"> <aside class="sidebar col-md-3"> <ktml:modules:content> </aside></ktml:modules>
#<ktml:modules\s+position="([^"]+)"(.*)>(.*)</ktml:modules>#siU
<ktml:modules position="menu"/>
--
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framework+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nooku-framewo...@googlegroups.com.