You need to be logged in to view a user's profile.
  1. rodrigoangelos
  2. Contribute to JEvents
  3. Saturday, 10 September 2011
Hey guys,

Im making this tutorial because i wasted too much time searching this and maybe help someone!
I used a jquery that use css to add a maxlength to textarea. So:

1- First, install the free plugin 'jQuery++ Integrator' to integrate joomla and jquery
To load jquery faster put jquery.js at the root of the site:
1.1- Config embed jquery to: Yes - Local copy
1.2- Config jQuery custom CDN to: /http://index.php/jquery-1.6.2.js (just an example)

2- Download jquery.maxlength.js (search at google) and put at the root of the site.

3- Between <head> </head> of the index.php of your template use this:

<script type="text/javascript" src="jquery.maxlength.js"></script>
<script>

jQuery(document).ready(function($) {

$().ready(function(){
$("#jevcontent";).maxLength(178);
});

});

</script>

3.1- Edit #jevcontent to the css that you want.
3.2- Edit 178 to the maxlength that you want.
3.3- If you want more just add another code like:

$("#example";).maxLength(100);
$("#jevcontent";).maxLength(178);

4- Good luck! Bye.
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks - that is very helpful.

This may also be of interest if using the tinyMCE editor http://www.jevents.net/en/jevents-15-to ... escription
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. Contribute to JEvents
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.