The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Thu Dec 18, 2008 9:53 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 11, 2008 12:53 pm
Posts: 13
I'm using JCE 1.5.1 and trying to add a rollover image to an article. The image displays OK and the link works but the rollover does not. Each time I add the mouseover and mouseout image url's it will not save them in the article content.

When I add the rollover and before I save the article, the html looks like this:

Code:
<a href="index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=1&amp;Itemid=20"><img width="150" src="images/stories/Planys/businessdiagnostics_thumb.png" alt="businessdiagnostics_thumb" height="100" onmouseout="this.src='images/stories/Planys/businessdiagnostics_thumb.png';" style="margin-bottom: 5px;" onmouseover="this.src='images/stories/Planys/businessdiagnostics_thumb_roll.png';" /></a><br />Understanding what’s going wrong in your business is the first step in putting it right. Planys helps you to unlock the full potential of your business and overcome commercial performance issues with structured <a href="index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=1&amp;Itemid=20">business diagnostics</a> and performance improvement actions.


But after I save the page, the rollover checkbox is not enabled and the html looks like this:

Code:
<a href="index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=1&amp;Itemid=20"><img width="150" src="images/stories/Planys/businessdiagnostics_thumb.png" alt="businessdiagnostics_thumb" height="100" style="margin-bottom: 5px;" /></a><br />Understanding what’s going wrong in your business is the first step in putting it right. Planys helps you to unlock the full potential of your business and overcome commercial performance issues with structured <a href="index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=1&amp;Itemid=20">business diagnostics</a> and performance improvement actions. 


Top
 Profile  
 
PostPosted: Thu Dec 18, 2008 10:39 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Jan 20, 2006 11:37 am
Posts: 2605
Location: Forrest Australia
I think JCE has a built in imageswap function. The problem you have it that Joomla 1.5.8 strips a lot of code out deliberately...

Do a search in these forums, for something like wysiwyg strip code and whitelist... you will find the answers...

_________________
Step1. Read the instructions. Step2. Refer to step 1. Step 3. Backup
Can't find the answers you need?
Joomla Video Tutorials ~>
http://www.teachingjoomla.com


Top
 Profile  
 
PostPosted: Thu Dec 18, 2008 11:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 11, 2008 12:53 pm
Posts: 13
Thanks! I added onmouseover to the whitelist and it worked a treat.


Top
 Profile  
 
PostPosted: Thu Dec 18, 2008 11:20 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Jan 20, 2006 11:37 am
Posts: 2605
Location: Forrest Australia
Don't forget to pay it forward some day

_________________
Step1. Read the instructions. Step2. Refer to step 1. Step 3. Backup
Can't find the answers you need?
Joomla Video Tutorials ~>
http://www.teachingjoomla.com


Top
 Profile  
 
PostPosted: Fri Dec 19, 2008 2:10 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Feb 21, 2006 1:59 pm
Posts: 64
when I switch to whitelist with my JCE editor and after editing article all images and tables disappears after saving ?

_________________
http://www.makarska-travel.info Accommodation Makarska Apartments
http://www.makarska-accommodation.com Apartments Makarska


Top
 Profile  
 
PostPosted: Fri Dec 19, 2008 12:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 11, 2008 12:53 pm
Posts: 13
I use the JCE editor and all I changed in my setup was the whitelist settings.

Go to Article Manager/Parameters then set filter groups = superadministrator, filter type = whitelist, filter tags = img, filter attributes = onmouseover.

Image rollovers now work perfectly although I don't use tables, only CSS styling.


Top
 Profile  
 
PostPosted: Sat Dec 20, 2008 6:49 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Tue Feb 21, 2006 1:59 pm
Posts: 64
well I did and it doesn't work it strips code to this after saving:
Image

is it possible to edit blacklist and add extra filters, not remove them.

_________________
http://www.makarska-travel.info Accommodation Makarska Apartments
http://www.makarska-accommodation.com Apartments Makarska


Top
 Profile  
 
PostPosted: Thu Jan 08, 2009 2:51 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Wed Mar 07, 2007 6:19 am
Posts: 1878
Location: Online marketing in Thailand.
thank you placidpete. :D

_________________
Tel 085-073-6776 ติดปัญหา Joomla ตรงไหนรับปรึกษาฟรี โทรมาเถอะครับ.
http://www.apartment.in.th ค้นหาให้เช่าที่พักของประเทศไทย.
http://www.jwebengine.com/freeweb UnlimitedSpace+FreeHost+FreeDomain ขอทดลองใช้ได้


Top
 Profile  
 
PostPosted: Wed Oct 27, 2010 1:48 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Oct 27, 2010 1:24 pm
Posts: 1
placidpete wrote:
Thanks! I added onmouseover to the whitelist and it worked a treat.


I'm a complete newb to Joomla, can someone tell me how to add "onmouseover" to the whitelist and tell me where this infamous whitelist is. I would appreciate it.

Take care,
CF


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 7:49 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jul 12, 2009 4:29 pm
Posts: 3
ctrlfreak wrote:
placidpete wrote:
Thanks! I added onmouseover to the whitelist and it worked a treat.


I'm a complete newb to Joomla, can someone tell me how to add "onmouseover" to the whitelist and tell me where this infamous whitelist is. I would appreciate it.

Take care,
CF

Backoffice, In Upper menu: Content / Article manager >
Then select "Parameters"
in the list at lower side you will see " FILTER TYPE" Black List, White List, no HTML

You can make your selection there.


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 7:58 am 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13729
Location: Akershus, Norway
inistanbulda: You are answering a topic that is 3 years old. I presume the thread start no longer waits for an answer.


Top
 Profile  
 
PostPosted: Wed Jul 06, 2011 8:17 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jul 12, 2009 4:29 pm
Posts: 3
Per Yngve Berg wrote:
inistanbulda: You are answering a topic that is 3 years old. I presume the thread start no longer waits for an answer.

You are right. But I had similar problem today and find out solution. The idea was to share what I learnt.


Top
 Profile  
 
PostPosted: Thu Sep 22, 2011 7:52 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jun 24, 2011 2:12 am
Posts: 15
Hi guys. It seems this topic is old enough to reply back but I will try it :)
Can you tell me how I can add onmouseover in Joomla 1.7?
Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group