How do I configure Text Area size?

18 years 4 months ago #1851 by nant
Replied by nant on topic Re:How do I configure Text Area size?
hariyanto wrote:

I did what you suggested Rick. Instaled the MosCE. You are right, buuuutttt...

There is (I think) a bug in the registration page.
The Editor text area in registration page don't show any WYSIWYG editor, and the size is still like what I pasted in the first post.

Sincerely,
Ahau.


Are you using Joomla? If so you need to change the default editor in the Global settings parameters to the specific WYSIWYG editor. Otherwise you will get the HTML code editor.

Please Log in to join the conversation.

18 years 4 months ago #1861 by hariyanto
Replied by hariyanto on topic Re:How do I configure Text Area size?
Hi Nant,

I think it is going to be alot easier if you replicate what I did.

Try this, create an editor text area that a user has to fill during registration, and tell me if you see any wysiwyg editor when you register as a new user.

I tried the process above twice using clean joomla installation. And both failed showing any wysiwyg editor no matter what I chosed in my configuration.

Sincerely,
Ahau.

Please Log in to join the conversation.

18 years 4 months ago #1862 by rick
Replied by rick on topic Re:How do I configure Text Area size?
Nick,

I went and checked mine as well. Before I did not have any text area fields set to show on the registration page so failed to see this. If you have a text area field set up and just have it show up in your update profile area it shows up just fine as full editable text area. But if you then show that same field in the registration page it shows up as if it is just a text field. Not a serious problem but a prblem none the less.

My guess is that because the textarea field requires certain permissions for uploading images and such that the system is just showing the text field instead. Just a guess...

Rick

Running:
Joomla! 1.0.7 Stable
Community Builder 1.0 rc2
SMF 1.1 RC2

Please Log in to join the conversation.

18 years 4 months ago #1874 by nant
Replied by nant on topic Re:How do I configure Text Area size?
Ok,
tried it on my own.
I have confirmed that the WYSIWYG Joomla editor has this behaviour. However the SPAW editor appears just fine.
Dont know what the problem is - maybe beat will help out when he gets a chance.

Please Log in to join the conversation.

18 years 4 months ago #1914 by beat
Replied by beat on topic Re:How do I configure Text Area size?
This is something which is template-dependant... ;)

Look into your template: (templates/your_template_name/index.php) :

chances are that you have something like:

[code:1]
<?php if($my->gid >= "1"«»){ ?>
<?php include ("editor/editor.php"«»); ?>
<?php initEditor(); ?>
<?php } ?>
[/code:1]

This is to prevent the Javascript for the text-editor to load for non-logged in users on all pages, for visitors, searchbots and other spambots, so your pages load and render faster.

That's why html editors are not recommended for registration pages.

You may check this by removing the if statement and "}" lines

Or you could (I didn't check that code), replace the code by something like:

[code:1]
<?php if ($my->gid >= "1" or $_REQUEST[task]=="registers"«») { ?>
<?php include ("editor/editor.php"«»); ?>
<?php initEditor(); ?>
<?php } ?>
[/code:1]

This would avoid loading the editor on other pages than the registration one, if it works. B)

Please let us know if the above code suggestion worked out for you.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 4 months ago #1923 by rick
Replied by rick on topic Re:How do I configure Text Area size?
Strange, I can't find that code in the file. I am not really in need of it but thought I would check the code to see if it worked.

Rick

Running:
Joomla! 1.0.7 Stable
Community Builder 1.0 rc2
SMF 1.1 RC2

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.231 seconds

Facebook Twitter LinkedIn