A catalogue of 'stuff' which somehow will help me through life by helping me remember problems I've solved, how I solved them and thoughts which will be otherwise forgotten (some of which might be of use later on).
Wednesday, 20 June 2012
Making buttons and content only for registered users in Joomla
It's simple really, but I did need to do a search on it. I wanted a button which registered users could press which made a new Article in the News category.
What I did in the end was to make a new module, changed "access" from "public" to "registered". This module would then only show if the user was logged in.
I made a new menu, and put it in this module. I then created a button in the menu of type "Create Article" and made the default Category "News".
But looking at it now, it appears you can change Access to Registered for any menu item. So I could have just added menu items. But it still looks good.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment