+ Post New Thread
Results 1 to 3 of 3
EduGeek Joomla 1.5 Package Thread, Adding Javascript to a Joomla Article in Projects:; How the 'eck do i add a bit of code into an article? Bascially i want to display a banner ...
  1. #1

    Little-Miss's Avatar
    Join Date
    Oct 2007
    Location
    London
    Posts
    5,516
    Thank Post
    2,389
    Thanked 765 Times in 463 Posts
    Blog Entries
    2
    Rep Power
    546

    Adding Javascript to a Joomla Article

    How the 'eck do i add a bit of code into an article?

    Bascially i want to display a banner and its one of those "Copy the code below and paste it in" thingymebobs....

    The only way i can see of adding any sort of code is an HTML button.


  2. #2

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,592
    Thank Post
    109
    Thanked 770 Times in 598 Posts
    Rep Power
    182
    There's a module you can get called mod_php... just add an instance of this with the code in you require... it's what I did to add the Google Map to my site.

  3. Thanks to Ric_ from:

    Little-Miss (6th December 2010)

  4. #3

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,320
    Thank Post
    681
    Thanked 1,651 Times in 1,472 Posts
    Rep Power
    426
    You could try this:

    Your default Joomla editor (tinyMCE) will strip <script> tags when you save the article unless you configure it not to.

    Go to Extensions>Plugins>editors>TinyMCE and on the right hand side set...

    Code Cleanup on Startup: Off
    Code cleanup on save: Never
    Do not clean HTML entities: Yes

    ....Save.

    Take from:

    How do I embed javascript into article?

    Ben

  5. Thanks to plexer from:

    Little-Miss (6th December 2010)

SHARE:
+ Post New Thread

Similar Threads

  1. Joomla - Front page article picture
    By bodminman in forum Web Development
    Replies: 2
    Last Post: 9th November 2010, 10:10 AM
  2. JavaScript Help Please
    By Hightower in forum Coding
    Replies: 3
    Last Post: 23rd September 2010, 02:08 PM
  3. Adding delay to drop-down menus in Joomla 1.5 EduGeek package
    By Minkus in forum EduGeek Joomla 1.5 Package
    Replies: 0
    Last Post: 2nd February 2010, 02:17 PM
  4. Joomla - adding documents
    By speckytecky in forum EduGeek Joomla 1.5 Package
    Replies: 14
    Last Post: 13th November 2009, 12:51 PM
  5. Joomla Main Article Apearing Under Side Menu
    By BKGarry in forum EduGeek Joomla 1.5 Package
    Replies: 4
    Last Post: 11th August 2009, 09:37 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •