Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 1:47 am (All times are UTC )

 





Post new topic Reply to topic  [ 5 posts ] 
Author Message
Posted: Wed Mar 21, 2007 7:22 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
:) :)
Sorry i specify your name in my post

I was not able to try your solution in my problem in my last post... :D But i will test it..
Bec i encounter again another problem....
I want only the superadministrator can access this page see attached file.
because there is a lot item in this page all i want to administrator when they want to add a menu they have to create a content first then link it to the menu..
i hope you guys understand my point....


See attached file..you can see it when you are in menu manager and click the new button..

I want the new button disable in this page in menu manger


You do not have the required permissions to view the files attached to this post.


Top
  E-mail  
 
Posted: Wed Mar 21, 2007 10:21 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Dec 01, 2006 9:26 am
Posts: 1605
Location: Centerville, Virginia
Hi,

Let me get this straight. Is it permission that you are seeking to let only Super Admin access the new menu item?
or
You just want the admin (manager, admin super admin) NOT create a menu button unless he/she creates a content first.

Sorry, but I was confused. In both cases I guess Dr. Drsh is better than me in such things BUT if you further explain, I may have an answer

_________________
Live and learn.. No matter what you earn..Money or knowledge.. From market or college..
____________________________________________________
http://alhost.org/ هل تبحث عن إستضافة؟ مقارنة بين أفضل شركات الإستضافة
My Personal Website: http://eyad.info/


Top
  E-mail  
 
Posted: Wed Mar 21, 2007 11:49 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
i want ONLY SUPER ADMINISTRATOR can access this page..
so the administrator and manager should create a content first before they can make a content...

sorry guys!!!! :)


Top
  E-mail  
 
Posted: Thu Mar 22, 2007 5:47 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Dec 01, 2006 9:26 am
Posts: 1605
Location: Centerville, Virginia
I am sorry Ma'am,

I have no idea but it should be by hacking the core files. I think you need to know what is the file responsible for showing the menu items according to the Admin level. This will solve the first part.

To solve the other problem you need to know where the the menu adding is showing or like above where to show menus and when it comes to the Add New button, you set an If statement to check if the user is NOT a Super Admen then another If to see if the admin has a content before.

It is more complicated than I thought. You still need to check with Dr. Drsh. He is much knowledgeable then me in this issue. After all he wrote, and still writing, a component. So, he pritty much knows what you need.

Again, please accept my apology for not being that helful.

Regards,
Eyad Makki

_________________
Live and learn.. No matter what you earn..Money or knowledge.. From market or college..
____________________________________________________
http://alhost.org/ هل تبحث عن إستضافة؟ مقارنة بين أفضل شركات الإستضافة
My Personal Website: http://eyad.info/


Top
  E-mail  
 
Posted: Thu Mar 22, 2007 6:26 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jun 27, 2006 8:13 am
Posts: 119
Dear mr emakki please do not says sorry to me!!! :( :(
this is not your obligation and all of you to answer all the others problem...
I am very glad to all of you who is helping me!
ANd i am very thankfull bec some of my problem are already solve in this forum with the help of you and other people...

PLEASE Do not say sorry to me..THANKS for trying helping me!!!
I hope somebody who can help me about this..
You and dr_drsh thanks for helping me about my previous problem!!!

:) :) :) :)


emakki wrote:
I am sorry Ma'am,

I have no idea but it should be by hacking the core files. I think you need to know what is the file responsible for showing the menu items according to the Admin level. This will solve the first part.

To solve the other problem you need to know where the the menu adding is showing or like above where to show menus and when it comes to the Add New button, you set an If statement to check if the user is NOT a Super Admen then another If to see if the admin has a content before.

It is more complicated than I thought. You still need to check with Dr. Drsh. He is much knowledgeable then me in this issue. After all he wrote, and still writing, a component. So, he pritty much knows what you need.

Again, please accept my apology for not being that helful.

Regards,
Eyad Makki


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group