zikula-modules / Pages

Simple HTML Pages
https://ziku.la/
18 stars 4 forks source link

Shorturls of view method not working #18

Closed matheo closed 11 years ago

matheo commented 11 years ago

the view shorturl is encoded with the category name, and the user controller is always expecting a category ID, but when shorturls are enabled it should use: $category = CategoryUtil::getCategoryByPath($cat, 'name'); and make the query accordingly: ->setParameter('categories', $category['id']);

espaan commented 11 years ago

@phaidon can you take a look at it, since you have worked on Pages a lot in the last couple of months ?