Fork me on GitHub

pageconfigurations.ini and ShortUrls in Zikula 1.2.7  Bottom

  • I wish to load several templates depending on the page id of pages in module content. Without shorturls ( directory-based ) there is no problem. If I enable shorturls, the master.htm will be loaded and not the template I wish. If it is a bug that's a real bother.

    What to do to use special templates and shorturls?

    --
    MU(t) Beratung Internet

    Modul MUTransport
  • The theme engine pageconfiguration relies on the URL,
    and if it doesn't include the ID you need, you need another way to determine the template.

    I guess that you need an EventHandler attached to view.init
    and catch the Zikula_View_Theme creation to setup its themeconfig according your needs when Content is the topLevelModule. The Theme Engine cannot guess in this point, it relies in the URL to figure out the passed arguments and determine a matching pageconfiguration.

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Hmmhmm....thank you for your meaning. I'm a little bit confused icon_confused . What does it mean?

    Is the feature to load different templates with the pageconfiguration only a feature without using shorturls?

    Or does it depend on content?

    Have I build an eventhandler by myself?

    Please spend me some time again!

    Greetings Michael

    --
    MU(t) Beratung Internet

    Modul MUTransport
  • 0 users

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