Use of the editor

16 years 6 months ago #47820 by Jeroen.php
Use of the editor was created by Jeroen.php
Hi I can't solve something myself and hope someone can answer this: In Joomla registered users don't have automatically access to a WYSIWYG editor. My users are all registered but in contact info the find a dropdownlist where they can select an editor. The big problem is: I don't want any of the registered users to be able to change content on the site an I use com_ja_submit for people who want to write something in a selected category. How can I hide the option for a WYSIWYG editor for registered users? (it doesn's show at registration but if a user wants to edit his/her account it shows:S )

Please advise,
Jeroen:)

Please Log in to join the conversation.

16 years 6 months ago #48925 by webwzrd
Replied by webwzrd on topic Hide Editor Choice in Edit Profile
Hello,

I too am looking for the answer to how to hide / remove the editor choice from the edit profile screen. I can't find which file is the source for that page.

Did you ever find the answer or can anyone else offer a solution?

Please Log in to join the conversation.

16 years 6 months ago #48926 by Jeroen.php
Replied by Jeroen.php on topic Re:Hide Editor Choice in Edit Profile
Hi webwzrd, I did,
You need to delete/uncomment lines 206 till 215 in cb.core.php file
Code:


if ( ( count( $userParams ) > 0 ) && in_array( $mainframe->getCfg( "frontend_userparams" ), array( '1', null) ) ) {
//Loop through each parameter and render it appropriately.
foreach($userParams AS $userParam) {
$return .= "<tr>\n";
$return .= "<td class=\"titleCell\">" . $userParam[0] . ":</td>\n";
$return .= "<td class=\"fieldCell\">" . $userParam[1];
$return .= getFieldIcons($ui, false, false, (isset($userParam[2]) && class_exists("JText") ? JText::_($userParam[2]) : null), (isset($userParam[3]) && class_exists("JText") ? JText::_($userParam[3]) : null));
$return .= "</td></tr>\n";
}
}

Greetings from Amsterdam,
Jeroen

Please Log in to join the conversation.

16 years 6 months ago #48927 by webwzrd
Replied by webwzrd on topic Re:Use of the editor
PERFECT!

Thanks for the speedy response - worked like a charm.

Brian

Please Log in to join the conversation.

16 years 6 months ago #48940 by nant
Replied by nant on topic Re:Use of the editor
Of course you can go ahead and hack the code (and make your site have problems with future upgrades) ... or you can just turn off the Front-end User Parameters setting in your Joomla/Mambo Global settings -> Site Tab.

(also been posted before)

Please Log in to join the conversation.

16 years 6 months ago #48941 by Jeroen.php
Replied by Jeroen.php on topic Re:Use of the editor
Thanks Nick, That looks like the better solution.

Jeroen

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.223 seconds

Facebook Twitter LinkedIn