Hi there
Here comes my first post in the forums..
I want to remove some of the functions in the Actions block on the profile pages, greeting and get e-mail for now.
In 6.1.6 i did this by commenting out sections in templates/base/scripts/BxBaseProfileView.php as explained in:
http://www.boonex.com/unity/forums/?action=goto&topic_id=Removing-Items-from-Action-Block
Now in D7RC this file has changed and if i comment out lines in this file the only effect i get is that the button texts disapeers and is replaced by the code "cpt_greet" or "cpt_get_mail".
Does anyone know where i can remove these things?
|
Hi, just remove all your needed from `sys_objects_actions` Db table. All actions was been moved in Db! And don't forget delete the action cache file from 'cache/sys_objects_actions.inc' PS: If possible do not write me personally, please try to ask on the forum first |
Thanks alot, worked like a charm.. |
I want to remove to 'Add to Featured' button from the action menu in groups/events.
I tried as described to remove from DB, but the button is still there.
Emptied my cache folder as well
|
Sorry, my mistake. I was logged in as administrator and it doesn't remove the button there. Although I think that's strange ... |
|
Thanks Sasha, it worked great!
Hi, just remove all your needed from `sys_objects_actions` Db table. All actions was been moved in Db! And don't forget delete the action cache file from 'cache/sys_objects_actions.inc'
The Earth is the LORD's and the fullness therof, the world and they that dwell therin... Psalm 24:1 |
PS: If possible do not write me personally, please try to ask on the forum first |
Thanks.... thats what i needed too, but some actions i dont want delete full, because i want that just admin can for example add groups.
what i need to do?
ps: i know that i can manage in membership levels, that only admin can add groups! but i want that the actions is deleted by users, that they dont ask me, why they cant add groups.. so i want delete the action-button for users...
best regards!! --- call me asa! ;-) |