Tips for working on themes

Tips for editing templates for creating your layout with Zikula

In this article I collect tips for working on the layout. If you don't program your own modules, you will most likely start creating your own layout after installing Zikula and making the necessary settings.

You must have a theme for this and make it known to the core of Zikula as an additional theme.

Then are usually working on templates necessary.

below you will find working methods that have proven useful to me.

Your page is already online

Add new menus

If you want to create a new menu on your page, you should only keep it visible for yourself during creation. This is very easy. If you installed Zikula yourself, your user id is 2, so just do the following in the template:

{% if currentUser.uid == 2 %}

    Your code for the new menu

{% endif %}

This way, the menu you're still working on is invisible to both guests and any registered users.

When your new menu is ready, you can remove the if-query.

You can also use this if query for other work on your templates.

Similar articles with corresponding issues

Php Application Framework Zikula - Theme Development 3
Theme Development - Part 3 - Block position and block creation For theme development it is sometimes... More
Php Application Framework Zikula - Theme Development 4
Overwriting of templates In the theme unproblematic Editing templates in your own Theme is not... More


  • Themes

Creation and update

Created by michael.ueberschaer on Oct 8, 2018, 9:29 PM
Last update
Updated by michael.ueberschaer on Nov 30, 2018, 9:40 PM
Categories in Blog The latest downloads
  • Zikula 1.5.9
    Read more
  • Zikula 2.0.12
    Read more
  • Bootstrap Standard Theme
    Für Zikula 2.0.11 oder höher - For Zikula 2.0.11 or higher. Dieses Theme ist als...
    Read more
  • Blogging 1.1.0
    Mehrsprachiges Bloggen - Multilingual blogging
    Read more
  • AutoLinks 1.0.1
    Automatische Linkerstellung - Automatic link creation
    Read more