[advanced] Incorrect Prefix Called in Navbar
Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/0782f4052a3225a6#
In /in-news/articles/modify_articles.tpl, we display the navbar using the following code
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticle" templates="platform/my_account/my_account,in-news/my_account/my_articles,__ default__,in-news/articles/modify_article"/>
If I use it in another category, where I actually display links, then "__item__" is referring to the item you try to edit, but using default "l" prefix, leading to a 404 page, here is debug output:
Notice: Requested ID for prefix l not passed in ...\core\kernel\db\db_event_handler.php on line 327 Notice: ItemLoad Permission Failed for prefix [l] in checkItemStatus, leading to "404 Not Found" in ...\core\kernel\db\db_event_handler.php on line 488
If I remove "__item__" then page loads correctly. I checked for category permissions, I setup rights to view links and news. Why In-Portal is looking for "l" prefix, rather than another one? May it belong to a specific permission, I didn't tried all of them to be honest
, multiple selections available, Use left or right arrow keys to navigate selected items