Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

joomla permission access & menubar

Posted on 2011-09-26
24
Medium Priority
?
712 Views
Last Modified: 2013-12-14
I've been asked to take over a Joomla website and I'm stuck already!
The site is set up with a number of sub-sections each with it's own menu. This is editable by certain users - after login, their pages get an edit icon on the article they can edit.
One of the users was having trouble - so I tried to set up a new user for myself but I can't find anywhere for the permissions to restrict access to just this one section. While I was sorting through the backend I found some sections did not have a secondary menu - I can't find out how this is set up either.
Can you assist?
0
Comment
Question by:JillC
  • 8
  • 6
  • 5
  • +1
24 Comments
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36597643
are you using a component for users ?
0
 

Author Comment

by:JillC
ID: 36597681
I've got JCE Administration, JComments, jPFChat - none look like they do want I want. There is nothing in Contacts. What am I looking for?
0
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36597688
try to login as another user to see if he has permissions for specific section !
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:JillC
ID: 36597841
I know the users have permissions for their own sections. I don't know how it is set up and I can't figure out how to set up a new user.
0
 
LVL 12

Expert Comment

by:Panagiotis S
ID: 36708860
look at JComments
0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36719003
What version of Joomla do you have?

J1.5 can't restrict sections to more than 3 seperate permissions, but Joomla 1.6 + can.  

In J1.5 you have the standard Public, which can see everything, Registered, which can see things once they are logged in, and Special, which can see things from the Author level and above.  

Let me know what version you are using and we'll try to get you to where you want to be.

Thanks.
0
 
LVL 8

Expert Comment

by:Jesse Matlock
ID: 36719293
Yes, it would be helpful to know what version the site is and if it is using 1.5, then a listing of the components and plugins.. this will help to determine if the previous administrator is using php or something else to control access to those sections
0
 

Author Comment

by:JillC
ID: 36759840
Joomla version 1.5.20
Components:
AcyMailing
Attachments
Banner
CK Forms
Contacts
JCE Administration
JComments
jPFChat
Newsfeeds
Polls
Search
Weblinks

Plugins - there are 4 pages of listings most of which seem to be connected to the above components. Is there somewhere else where the plugins are listed?

I have looked at JComments. There are no instructions on how this works. What am I looking at it for?
0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36772138
So this 1 user, does anyone else need to see what they see and does it matter if this 1 user sees anything else that someone else sees?

I'm guessing this user needs to be setup like an Author.  Are you familiar with the differences between the roles and what they do?  I'll post a link on that in the morning unless someone beats me to it...
0
 
LVL 8

Expert Comment

by:Jesse Matlock
ID: 36776601
Here is an overview of the Access Control Levels for J1.5
http://docs.joomla.org/User_Group_Access_levels_explained_in_simple_terms

From what I can see, there are no components limiting access to sections.. but, it could be a plugin, etc. there are many 'out there' that the prev. administrator could have used..

If you'd like to create a new super admin user and PM me with the details, I'd be happy to login and tell you what is going on,. without changing anything. Let me know.
0
 

Author Comment

by:JillC
ID: 36789662
There are 16 users who have access to their own sections but cannot edit outside their own sections. They are listed as "author". Each section has it's own menu - some of the menus have 5 or 6 pages. Some just have 1 page which lists their information. These sub-sections are accessed by a "Locations" menu which is available to all users. But if one of these named authors logs in, when they access their area through the locations menu, they get to see an edit button which they can use to edit their content, upload images, etc. There is also an attachment link.
They don't see any edit button on anything outside their own area.

I have looked at most of the plugins there but there is nothing in the parameters which tells me what it is, what it does or any settings it might have.
0
 
LVL 8

Expert Comment

by:Jesse Matlock
ID: 36791602
Is it possible the previous admin setup the template to check which user is accessing the page,.. and then shows the edit button for a specific user?
I've used this due to Joomla 1.5's lack of ACL.. so, I had to create my own access restrictions based on user levels, etc.. it might be what is happening here..
look in the template file for something like this:
$user = &JFactory::getUser();
$access = $user->get('gid',0);

Open in new window

Or something to that effect.. the other possibility is that the prev admin used PHP code within each article to check for user ID or something of the sort.. have you checked the article for PHP coding?
 
0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36814133
Yes, this definitely sounds like the previous admin did some custom modifications to the site.
0
 

Author Comment

by:JillC
ID: 36814221
I am having real difficulty accessing by ftp. I can only download one file at a time! Which file am I looking for for these changes?
0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36814283
You would be looking for the index.php file in this location:

site root/templates/<template name>/index.php

If you could post that page for us we could tell you if they are using custome coding on it.
0
 
LVL 13

Expert Comment

by:Andrew Derse
ID: 36814298
Alternatively you can view the index.php from the administrative side of Joomla.

Go to:

Extensions
Template Manager
Click the radio button next to the template you would like to edit
Click Edit
Click Edit HTML

This will pull up the index.php in an edit mode which you can edit as you please.
0
 
LVL 8

Expert Comment

by:Jesse Matlock
ID: 36816496
If you'd like some help on this,. you can shoot admin details to info (at) revivemarketing (dot) org and I'd be more than happy to take a look and give you some idea of what is going on.
0
 

Author Comment

by:JillC
ID: 36834031
Ok, here is the code:
<?php defined( '_JEXEC' ) or die( 'Restricted access' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
   xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/ubrewit-basic/css/style.css" type="text/css" />
</head>
<body>
	<div id="container">
 	   	<div id="header">
			<div id="logo"><a href="/"><img src="templates/ubrewit-basic/images/logo.png" alt="U-BrewIt Logo" /></a></div>
			<div id="facebook"><jdoc:include type="modules" name="facbook" style="xhtml" /></div>
		</div>
		<div id="body">
			<div id="carousel"><jdoc:include type="modules" name="carousel" style="xhtml" /></div>
			<div id="menu"><jdoc:include type="modules" name="menu" style="xhtml" /></div>
			<div id="menu2"><jdoc:include type="modules" name="menu2" style="xhtml" /></div>
			<div id="content">
				<div id="content-left"><jdoc:include type="modules" name="content-left" style="xhtml" /><jdoc:include type="component" /></div>
				<div id="content-right"><jdoc:include type="modules" name="right" style="xhtml" /></div>
				<div id="content-clear"></div>               
			</div>
			<div id="footer"><jdoc:include type="modules" name="footer" style="xhtml" /></div>
		</div>
	</div>
</body>
</html> 

Open in new window

0
 
LVL 8

Expert Comment

by:Jesse Matlock
ID: 36835318
Nothing there that would control access on a per section basis.. it must be within your article content or somewhere else..
0
 

Author Comment

by:JillC
ID: 36844483
I feel that it is something to do with either the locations menu or menu2. But I'm really just clutching at straws. I've sent you an email with a login. And a video clip which explains it.
0
 
LVL 8

Accepted Solution

by:
Jesse Matlock earned 500 total points
ID: 36847525
Got it.. :) Thanks. I've watched the video and replied re: site access. I'm sure we can get to the bottom of this soon.
0
 

Author Closing Comment

by:JillC
ID: 36907230
cloud9manager assisted me with this via email.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question