Is it possible to disable the user bar? Currently I have a bar if the user is not a moderator, which is pointless, because I have nothing in there (login in the navbar)
How can I set the background image correctly? I tried covered style (using it, of course), the html and the body tag, but there is always the 1x1 spacer.
Hi there,
I want to find out how many items are in an array in a template file, is there something like <xen:helper array_size $array> or something?
Because there will be more things I need, like multiplying a width with the array size or subtraction.
More commonly to avoid following questions...
Remember what I said about some permissions don't working as I would assume?
Everybody still can see thread titles of private (!) groups in profiles of other users and in recent activity.
If they click on it, they get "no permission" as expected, but still can see the titles...
Hmm, so the dumping works in even in the index template of the addon (added dump in first line, outputs array contents correctly)
{xen:helper dump, {$featuredItems}}
using the correct template, but adding "<xen:container var="$featuredItems">{$featuredItems}</xen:container>" to the first line...
hmm, ok.
So I have a page (showcase plugin, so showcase index) which contains several boxes in the main content area which are single template files. In the featured items template is {$featuredItems} which I would need in the page container template. How I understood that is that I only can...
hmm. The problem is that variables are not parsed, even if you are on the site where the addon is shown in this case on the portal page.
Is there a easy way to change which template hooks an addon/template is using?