Fork me on GitHub

Bug or feature: No {modurl} with type!="user/admin"  Bottom

  • Hi I have tested Zikula 1.3. With the newest version modurl just work with the type user and admin.

    Code

    {modurl modname=MyModule type=MyType func=view id=1}
    returns
    http://myhompage.com/MyModule/view/id/1
    insted of
    http://myhompage.com/MyModule/MyType/view/id/1.


    Is that a bug or is it just possible to use user and admin with Zikula 1.3?

    --
    https://github.com/phaidon/
  • try with quotation marks:

    Code

    {modurl modname="MyModule" type="MyType" func="view" id=1}
  • The Zikula 1.3 change about this is that we can encode/decode URLs not only for type=user but for every type, and uses api.encodeurl/decodeurl.

    I'll review the code and test this too

    --
    - Mateo T. -
    Mis principios... son mis fines
  • It's seems to be that it is a shorturl problem. With normal urls it works.
    @craigh: Thanks for the hint, but unfortunately it doesn't help. BTW. I have the same problem with postcalendar.

    --
    https://github.com/phaidon/
  • please submit a bug report for the core if it is a shorturl problem.
  • Okay I will do that. I just wanted to be sure that it is not a new rule.

    --
    https://github.com/phaidon/
  • http://code.zikula.org/core/ticket/2679

    pull request submitted with fix

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