NYCPHP Meetup

NYPHP.org

[joomla] Admin template for non-technical users?

Helvécio da Silva helvecio.rj at gmail.com
Sun Jun 10 22:04:58 EDT 2012


If you want to simply not display the EDIT button, go to your site's joomla
roo then:

administrator > templates > rt_missioncontrol > lib >
missioncontrol.class.php

Just place // before the following line:

$output .= '<span
class="mc-button">'.$edit_link.JTEXT::_('MC_EDIT_BUTTON').'</a></span>';

It should be line 181 or around it.

Upload this file and your EDIT button is gone for good.

Make sure to back up this file prior to making changes, just in case.

I REALLY don't know if this change could affect anything system-wide.

G'luck!
2012/6/10 David Roth <davidalanroth at gmail.com>

> This is for a non-technical user who needs access to the back-end to edit
> a few Articles and nothing more. The Administrator would change their
> password if needed. Their e-mail address wouldn't change, and they would be
> registered by the Administrator. This would be for only one or two
> non-technical users at most, so there wouldn't be much for the
> Administrator to do past setting up their login to the back-end.
>
> A template override would be a good approach but it didn't look like this
> was available to do for this feature. But I'm new to the Mission Control
> template so I certainly could have missed something.
>
> David Roth
>
>
> On Sun, Jun 10, 2012 at 10:01 AM, Helvécio da Silva <helvecio.rj at gmail.com
> > wrote:
>
>> I'm not sure if I understand exactly what you mean, but preventing an
>> user from editing his/her own profile doesn't make sense to me. Say he/she
>> changed his/her email. What would be the procedure to perform this action?
>>
>> Have you tried using a template override to reduce the options visible to
>> edit?
>>
>> 2012/6/10 David Roth <davidalanroth at gmail.com>
>>
>>> I wanted to update everyone on my journey here to accomplish this. The
>>> Mission Control admin template from Rocket Theme looks like the winner. I
>>> was easily able to remove a bunch of stuff from the back-end for the
>>> 'newbie' user without having to make any code changes. I also disabled some
>>> modules that cluttered up and could possibly confuse a newbie.
>>>
>>> I have one task that remains:
>>>
>>> I've been able to remove many things from the webpage for the 'newbie'
>>> user, but the EDIT for the 'newbie' profile still displays and is enabled.
>>> I would like to remove the EDIT option from the web page. I don't want the
>>> 'newbie' to change any of the settings for their profile.
>>>
>>> How could I best accomplish this? I have looked in the code for the
>>> Mission Control template, and I could put in a check if the user is not
>>> Super User then the EDIT would not appear, but I can't help wondering if
>>> there is a better way or if I have overlooked a way to not display the EDIT
>>> option?
>>>
>>> I could just assign the custom modified Mission Control template for the
>>> 'newbie user' and the default Joomla admin template for the Super User, but
>>> wanted to check on my approach here first. Thanks!
>>>
>>> David Roth
>>>
>>> On Wed, May 30, 2012 at 7:58 AM, OSTraining <info at ostraining.com> wrote:
>>>
>>>> There's the two that ship with Joomla (BlueStork and Hathor), five more
>>>> in the article below and three more linked in the comments:
>>>>
>>>> http://www.ostraining.com/blog/joomla/joomla-admin-templates/
>>>>
>>>> There's also a few more floating around including the work done on this
>>>> Joomla distro: http://squareonecms.com/. Quite a few of those changes
>>>> might make Joomla 3.
>>>>
>>>> Steve
>>>>
>>>> On Wednesday, May 30, 2012 at 1:51 AM, Helvécio da Silva wrote:
>>>>
>>>> I find the back-end template waaaaaay more complex to fiddle with.
>>>>
>>>> I know of only two so far:
>>>>
>>>> - AdminPraise Lite from the guys who make ProjectFork. There's a
>>>> premium version that seems to have more configuration options.
>>>> - Mission Control from RocketThem
>>>>
>>>> 2012/5/29 David Roth <davidalanroth at gmail.com>
>>>>
>>>> That looks very useful, thanks!
>>>>
>>>> I can't help from wondering if someone has created an entire extension
>>>> that is a replacement for the back-end that incorporates all these features
>>>> without having to make changes in the code. If not, maybe there should be?
>>>>
>>>> David Roth
>>>>
>>>> On Tue, May 29, 2012 at 2:19 PM, Helvécio da Silva <
>>>> helvecio.rj at gmail.com> wrote:
>>>>
>>>> Is this is what you are looking for?
>>>>
>>>>
>>>> http://magazine.joomla.org/issues/Issue-Apr-2012/item/721-Customizing-the-Admin-Menu
>>>>
>>>> 2012/5/29 David Roth <davidalanroth at gmail.com>
>>>>
>>>> Thanks to both of you! Those articles were very helpful. I had not
>>>> gotten a chance to check out the ACL feature in Joomla until now.
>>>>
>>>> I was wondering while reading it, is there a way to replace the "help"
>>>> tab so it links to custom documentation for the user instead of the Joomla
>>>> documentation and links? Thanks!
>>>>
>>>> David Roth
>>>>
>>>>
>>>> On Wed, May 23, 2012 at 7:26 AM, Helvécio da Silva <
>>>> helvecio.rj at gmail.com> wrote:
>>>>
>>>> I found this from Jen Kramer (She's GREAT!) in Joomla Magazine. It can
>>>> be a kickstart.
>>>>
>>>>
>>>> http://magazine.joomla.org/issues/Issue-May-2012/item/761-Joomla-ACL-Configuring-back-end
>>>>
>>>> 2012/5/23 OSTraining <info at ostraining.com>
>>>>
>>>> Hi David
>>>>
>>>> Give this a try:
>>>>
>>>> http://www.ostraining.com/blog/joomla/joomla-acl-tutorial-for-allowing-one-person-to-modify-only-one-category/
>>>>
>>>> That was written a while ago and there's an extra permission now.
>>>>
>>>> You'll also need to go to Site > Global Configuration > Permissions and
>>>> give the new user group permission to "Access Administration Interface"
>>>>
>>>> Steve
>>>>
>>>>
>>>> On Wednesday, May 23, 2012 at 6:40 AM, Helvécio da Silva wrote:
>>>>
>>>> > You can use Joomla 2.5.x ACL to acomplish that. A little bit tricky,
>>>> but I believe it can be done.
>>>> >
>>>> > G'luck!
>>>> >
>>>> > 2012/5/23 David Roth <davidalanroth at gmail.com (mailto:
>>>> davidalanroth at gmail.com)>
>>>> > > I've never bothered with any other template for Admin than what is
>>>> supplied with Joomla. But I want to be able to have a non-technical user be
>>>> able to edit the content for a category of Articles assigned to them, but
>>>> don't want anything else visible to them so they don't become confused or
>>>> start to mess around with things which could screw up the pages. Before
>>>> anyone tells me that the user should go through training and learn how to
>>>> manage things so this doesn't happen, while I would agree, that isn't the
>>>> case this time.
>>>> > >
>>>> > > Does such an admin template already exist? Or can Joomla 2.5.4 be
>>>> made restrictive enough so when this non-technical user logins in they only
>>>> see what they need to? Thanks!
>>>> > >
>>>> > > David Roth
>>>> > >
>>>> > >
>>>> > > _______________________________________________
>>>> > > New York PHP SIG: Joomla! Mailing List
>>>> > > http://lists.nyphp.org/mailman/listinfo/joomla
>>>> > >
>>>> > > NYPHPCon 2006 Presentations Online
>>>> > > http://www.nyphpcon.com
>>>> > >
>>>> > > Show Your Participation in New York PHP
>>>> > > http://www.nyphp.org/show_participation.php
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Helvecio "Elvis" da Silva
>>>> > Rio de Janeiro - Brasil - helvecio.rj at gmail.com (mailto:
>>>> helvecio.rj at gmail.com)
>>>> > http://www.helvecio.com - http://blog.helvecio.com
>>>>
>>>>
>>>
>>> _______________________________________________
>>> New York PHP SIG: Joomla! Mailing List
>>> http://lists.nyphp.org/mailman/listinfo/joomla
>>>
>>> NYPHPCon 2006 Presentations Online
>>> http://www.nyphpcon.com
>>>
>>> Show Your Participation in New York PHP
>>> http://www.nyphp.org/show_participation.php
>>>
>>
>>
>>
>> --
>> Helvecio "Elvis" da Silva
>> Rio de Janeiro - Brasil - helvecio.rj at gmail.com
>> http://www.helvecio.com - http://blog.helvecio.com
>>
>>
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>>
>
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



-- 
Helvecio "Elvis" da Silva
Rio de Janeiro - Brasil - helvecio.rj at gmail.com
http://www.helvecio.com - http://blog.helvecio.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120610/1506c76a/attachment.html>


More information about the Joomla mailing list