How do you support per-page sidebar content in Zotonic?
I would like to have per-page sidebar content in Zotonic: Links White papers Webinars What is a good way to do this and what kind of template snippets would I need to make it work? ...
I would like to have per-page sidebar content in Zotonic: Links White papers Webinars What is a good way to do this and what kind of template snippets would I need to make it work? ...
The top menu in my Zotonic site renders in place without acting like a desktop application menu. All items in the menu are rendered on screen with none hidden and it looks terrible. It looks like it is supposed to be a superfish menu, but I don't see the necessary code for superfish to work. My stop-gap solution is to have a single-le...
I want to write my own style of menu, but I would prefer to do it in the templates rather than making my own menu scomp. I basically want to be able to do something like: {% if m.menu %} <ul> {% for top_level_id in m.menu %} {% with m.rsc[top_level_id] as top_level %} <li><a href="{{ top_level.page_url }}">{{ top_level.ti...
I would like to have alternative templates for each section of my website. How do you set up a page to use a different template in Zotonic? ...
Hello, Call me brain dead, but I'm having a very difficult time understanding the Zotonic development process. Docs on the Zotonic site are ok so far as they go, but they're terse, offer little to no contextual background, and very few examples. No blame -- I know the Zotonic developers are very busy with their own projects. If the Zot...
I would like to enforce a password policy in Zotonic. My first impression would be to do this as a validator on the new_password field in the Identity editor. Here is an example policy: Have be at least 8 characters in length Have at least one upper case letter Have at least one lower case letter Have at least one number Have at leas...
I would like to be able to refer to a System Configuration value set in the Zotonic admin interface within a template. In particular I would like to create a configurable password complexity regex so I can write a validate statement like the following: {% validate id="new_password" type={format pattern=config.mod_admin_identity.passwor...
I would like to render a random connected media item in Zotonic as follows: {% with m.rsc[id].banner as media %} {% if media %} {% with media.random as m %} {% media m %} {% endwith %} {% endif %} {% endwith %} How do you choose a media item at random from a Page Connection in a Zotonic template? ...
I would like to give my creative colleagues access to the CSS through the Zotonic CMS user interface. How do you control CSS styles from within the CMS interface in Zotonic? ...
I would like to display third-level menu items in Zotonic. For example if I have pages in a hierarchy like the following: About Us Careers Why work here? I want the Why work here? to be accessible in the drop-down menus. How do you get third-level menu items in Zotonic? ...
I would like to let my content authors upload PDFs and provide download links. Unfortunately, they get a page with a preview of the first page of the PDF instead of the PDF itself when they link to it. How do you provide download links for attached PDFs in Zotonic? ...
I would like to able to loop through past events in a template: {% for page in m.search[{past cat='event'}] %} {% if forloop.first %}<ul>{% endif %} <h2>{{ m.rsc[page].date_start|date:"M j, Y" }} {{ m.rsc[page].title }}</h2> <p>{{ m.rsc[page].body|show_media }}</p> <p><a href="{{ m.rsc[page].website }}">Regis...
The creative team wants to be able to use Zotonic to manage images used outside of the main website. In order to do this they are currently linking to images as follows: <img src="http://example.com/media/inline/2010/10/29/image.jpg" /> This has a huge flaw. Every time an one of these images is replaced in Zotonic the filename can c...