Monday, November 14, 2011

How to add Javascript, PHP, Iframe, HTML or even any kind of Code in Joomla 1.7 in Articles & Custom Module?

How to add Javascript, PHP, Iframe, HTML or even any kind of Code in Joomla 1.7 in Articles & Custom Module?

You are unable to insert PHP, JavaScript, PHP, HTML code in Joomla 1.6 and 1.7 Articles and Custom Modules. The code gets stripped upon saving in the TinyMCE WYSIWYG Editor. 
There May be Following Problems with your Joomla Settings. Please Check everything instructions I am providing here.

Quick Method :

The quickest and easiest method to including code in content is to have create a spare user account set up without any editor, and include that user in a group for which there are no blacklisted tags.
You set blacklist/whitelist tags in : 

Article Manager --> Options --> Set Filter Groups to No Filtering for the access level of your spare user. (Best to use a Super User account for this if you can.)

Now Follow Bellow Instructions If You Like to Ennable or disable you TinyMCE Editor On/Off for Scripts :
1. Go to Plugin manager
2. Select TinyMCE Editorthe same for TinyMCE settings in the Plug-in Manager:
Cleanup code on load: Off
Clean code on Save: Never

Delete any code from Prohibited Elements or Optionally add Dumy Data ex : cms

Add Any More scripts which you want to White list in Extended Valid Elements

Now go to Article Manager and  follow instructions given bellow:
1. Article Manager > Article Manager Options
2. Click on Text filtering Tab
Read Before Altering anything : These are the text filters that will be applied to articles submitted by users in the selected groups. These filtering options give more control over the HTML your content providers submit. You can be as strict or as liberal as you require to suit your site needs. The filtering is opt-in and the default settings provide good protection against markup commonly associated with Web site attacks.
3. Go to Super User Drop Down Option : Select No Filtering.

You have done all thing to insert any kind of code within your article and modules. Please note that Do not provide above authorizations to Registered user group they can also insert any kind of code within your article. It can be virus code, add codes. So keep above authorizations to Super user only.

Enjoy Easiest Advanced CMS Website using Joomla 1.7. If any problem just post your comments, i will reply with appropriate Solutions.

39 comments:

  1. Good job man, It saves my lots of time.

    ReplyDelete
    Replies
    1. Thank You so Much Vipin for Comment !
      I would like to suggest you to visit my new Website/Blog where you can find more stuffs for Internet marketing and Web Development Articles. http://www.chandanmehta.com

      Delete
    2. IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes. IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble.Final Year Projects for CSE

      Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining .

      Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

      The Angular Training covers a wide range of topics including Angular Directives, Angular Services, and Angular programmability.Angular Training

      Delete
  2. Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!

    nano products

    ReplyDelete
  3. Java Training Java Training | Java Course in Chennai Java Course in Chennai | Java Training Chennai Java Training Chennai | Online Java Training India Online Java Training

    ReplyDelete
  4. Face To Face java SE Java EE Training Courses Materials. Java Training in Chennai Java SE & Java EE Certification Courses Training Program. Online Java Training Online Java Training India Java Training Institutes in Chennai Online Java Training India Java J2EE Training Institutes in Chennai

    ReplyDelete
  5. Really cool post, highly informative and professionally written and I am glad to be a visitor of this perfect blog, thank you for this rare info! , Regards, servicenow training in hyderabad

    ReplyDelete
  6. Nice post. Glad to found your blog. Thanks for sharing.

    web design course in chennai

    ReplyDelete
  7. Nice post. Glad to found your blog. Thanks for sharing.

    web design course in chennai

    ReplyDelete
  8. This is an awesome post. Really very informative and creative contents. This concept is a good way to enhance knowledge. I like it and help me to development very well. Thank you for this brief explanation and very nice information. Well, got good knowledge.
    WordPress development company in Chennai

    ReplyDelete
  9. I can not stop myself to read this post! Thanks. Kanhasoft is the mobile and web solution developer in India and USA. We are developing a complete enterprise solution to boost the business. Visit our site to know more.

    ReplyDelete
  10. The blog depicts how hard the writer has worked on this.
    Mason Soiza

    ReplyDelete
  11. I’ll grade this blog as an A and it shows how much effort has been put into this.
    Mason Soiza

    ReplyDelete
  12. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    website builder for reseller

    ReplyDelete
  13. Thank you for the link building list.I am going jot down this because it will help me a lot.Great blog! Please keep on posting such blog.

    private label website builder

    ReplyDelete
  14. Comfortabl y, the post is really the freshest on that deserving topic. I harmonise with your conclusions and definitely will thirstily look forward to your next updates. Simply saying thanks will not simply just be adequate, for the extraordinary clarity in your writing.

    white label website builder

    ReplyDelete
  15. Idiotic and additionally trusting people at the same time can be an obstacle, on aged and also fully grown folk assembled also will follow a complication. Age and also embryonic concern together. digitalisieren

    ReplyDelete
  16. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. best led tv under 25000 rs

    ReplyDelete
  17. Nice post. Thanks for sharing! I want people to know just how good this information is in your article. It’s interesting content and Great work.
    Thanks & Regards,
    VRIT Professionals,
    No.1 Leading Web Designing Training Institute In Chennai.

    And also those who are looking for
    Web Designing Training Institute in Chennai
    SEO Training Institute in Chennai
    Photoshop Training Institute in Chennai
    PHP & Mysql Training Institute in Chennai
    Android Training Institute in Chennai

    ReplyDelete
  18. Wow i can say that this is another great article as expected of this blog.Bookmarked this site.. Best Headphones Under 300 in India

    ReplyDelete
  19. Very good information. we need learn from real time examples and for this we choose good training institute, we refer Apponix Technologies which offers free demo classes!!
    https://bit.ly/2TORdBp

    ReplyDelete
  20. You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! business server

    ReplyDelete
  21. I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. https://leather-toolkits.com/reviews/best-cutting-mats/

    ReplyDelete
  22. thanks for your information really good and very nice web design company in velachery

    ReplyDelete
  23. Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work. Expert Witness

    ReplyDelete
  24. It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing. How to delete a page in Microsoft word

    ReplyDelete
  25. I appreciate everything you have added to my knowledge base.Admiring the time and effort you put into your blog and detailed information you offer.Thanks. https://isportable.com

    ReplyDelete
  26. So, SEO techniques can improve the ranking of your website and help it to grab a place in the first page of the search result, which in turn will bring in more leads for your business. No matter digital marketing course in hyderabad

    ReplyDelete
  27. First ever i used this amzing gadget,this is worth of money.
    UV Sanitizer

    ReplyDelete
  28. Patients who are affected with ulcers on their tongue and within their cheeks can truly benefits by using borax. It can be one of useful Natural Remedies for Lichen Planus. Plentiful folks who have had success report using one to eighth of a teaspoon blended with water two times each day. For further details about Lichen Planus Treatment Natural please visit at Herbs Solutions by Nature.

    ReplyDelete
  29. Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. click here

    ReplyDelete
  30. Informative blog post, thanks for sharing.
    Our Digital Marketing Course with Internship Program consists of 35 Modules. With 1 Hr class everyday from Monday to Friday. You can join the internship along with the course for two months duration.
    Digital Marketing Course with Internship

    ReplyDelete

I Tech - Technology Updates's Facebook Wall