Display HMTL, XML and or any other tag in Joomla Article

This forum is for general questions about extensions for Joomla! version 1.5.x.
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.
User avatar
rajeshatbuzz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 198
Joined: Wed Sep 24, 2008 6:06 pm
Location: Bangalore
Contact:

Display HMTL, XML and or any other tag in Joomla Article

Postby rajeshatbuzz » Thu Mar 11, 2010 2:06 pm

Hi,

I have some tutorial based on HTML, XML and ANT and other topics which i want to publish in Joomla Based site.

The Problem is when i copy and paste into article editor, Example code gets convert into some different tag.

I want to get code block functionality in Article Editor which most of the forum is having to highlight code example.


Any suggestion?
cmsGalaxy Team, Web Developer, Bangalore, India
Website Design - Development - SEO - Joomla
www.cmsGalaxy.com

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 11271
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Display HMTL, XML and or any other tag in Joomla Article

Postby brian » Sat Apr 10, 2010 12:35 pm

You need to enable the geshi plugin from the plugin manager.

Example usage

Syntax usage :
<pre xml:lang="php">
echo $test;
</pre>
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
beanluc
Joomla! Guru
Joomla! Guru
Posts: 922
Joined: Wed Mar 04, 2009 9:50 am
Location: Silicon Valley, CA, USA

Re: Display HMTL, XML and or any other tag in Joomla Article

Postby beanluc » Sat Apr 10, 2010 1:06 pm

Also be aware of a bug in the front-end article editor (admin-side is fine)

http://forum.joomla.org/viewtopic.php?p=1918535#p1918535

User avatar
rajeshatbuzz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 198
Joined: Wed Sep 24, 2008 6:06 pm
Location: Bangalore
Contact:

Re: Display HMTL, XML and or any other tag in Joomla Article

Postby rajeshatbuzz » Sat May 08, 2010 3:39 am

Thanks for your input. but my problem is different.

When i copy some XML or html code into joomla article(programming tutorial Program) it does not display...

plz have a look on this link http://www.scmgalaxy.com/component/cont ... maven.html
cmsGalaxy Team, Web Developer, Bangalore, India
Website Design - Development - SEO - Joomla
www.cmsGalaxy.com

User avatar
beanluc
Joomla! Guru
Joomla! Guru
Posts: 922
Joined: Wed Mar 04, 2009 9:50 am
Location: Silicon Valley, CA, USA

Re: Display HMTL, XML and or any other tag in Joomla Article

Postby beanluc » Sat May 08, 2010 5:33 am

Then, probably
http://docs.joomla.org/Why_does_some_HT ... n_1.5.8%3F

Your XML is probably getting "cleaned" just like HTML does.


Return to “Extensions for Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 15 guests