Formatting issues

  • siorekaw
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 week ago - 14 years 1 week ago #8772 by siorekaw
Formatting issues was created by siorekaw
Is it possible to adjust the font size/style of the first line "Individual Registration" from the individual registration form? It would be nice if this was slightly more pronounced then the rest of the form.

In addition, I'm unable to add any formatting to the event details description from the back-end. I can choose some text, click the Bold button, for example, but after I click save, it reverts back to non-formatted text. It also doesn't work if I enable Toggle Editor and add the <b> and </b> tags.

Thanks!

~Allen
Last edit: 14 years 1 week ago by siorekaw.

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #8782 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Formatting issues
Hi Allen

Is it possible to adjust the font size/style of the first line "Individual Registration" from the individual registration form? It would be nice if this was slightly more pronounced then the rest of the form.


=> The text has css class componentheading. It is a standard css class in Joomla . So to change font-size, you can simply find that css class in the css file of your template , usually in template.css file (If you are using Firefox, please install Firebug addon, It will help you to locate the css code quickly), modify it to meet your need .

In addition, I'm unable to add any formatting to the event details description from the back-end. I can choose some text, click the Bold button, for example, but after I click save, it reverts back to non-formatted text. It also doesn't work if I enable Toggle Editor and add the <b> and </b> tags


=> It seems you are using an old version of Joomla. To fix this issue, please open the file components/com_eventbooking/controller.php, looks at the code below in save_event method (line 287 if you are using latest version)
Code:
$post = JRequest::get('post' , JREQUEST_ALLOWHTML);

Change that code to
Code:
$post = $_POST ;

After that, it should work as expected !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #8791 by kracz
Replied by kracz on topic Re: Formatting issues
Hello,

Before you editing the code...
I have same problem with JCK editor. (J1.6.3)
I switched to TiniMCE and everything works normally.

Regards,
Karoly

Please Log in or Create an account to join the conversation.

  • siorekaw
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 week ago - 14 years 1 week ago #8813 by siorekaw
Replied by siorekaw on topic Re: Formatting issues
As for the font size/styles, adding Firebug helped me identify many of the areas that I wanted to go and make some minor tweaks - thanks for the suggestion!

As for the back-end formatting... I'm using Joomla 1.5.22 and had TinyMCE already enabled, just as an FYI. From your suggestion, the save_event method indicates is for submitting events from front-end...? I've added the user ID that is my administrator to the configuration area that allows users/groups to add events from front-end, but I don't see any options available for me to do so when I actually log in to the site. Same with seeing registrant information... This sounds basic, but I don't see any documentation either on how to access this front-end component.
:unsure:
Last edit: 14 years 1 week ago by siorekaw.

Please Log in or Create an account to join the conversation.

More
14 years 1 week ago #8817 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Formatting issues
Hi

save_event method is refering a function in a PHP class (it is something related to technical) . You can forgot about it, just follow the instruction below :

1. Open the file administrator/components/com_eventbooking/controller.php .

2. Looks at the code on line 287 :
Code:
$post = JRequest::get('post' , JREQUEST_ALLOWHTML);

Change it to :
Code:
$post = $_POST ;

3. Save it and upload again to server . After that, It will work as expected .


Regards,

Tuan

PS : I attach the modified file here. You can simply get this file, unzip it and upload to folder administrator/components/com_eventbooking to get it working .

Attachment controller-20110428.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc