The Joomla! Forum ™



Forum rules


Forum Rules
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 Feb 11, 2010 2:28 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 11, 2010 2:07 pm
Posts: 1
Hi Guys

I'm new in Joomla, I experiencing a prob with editing article or custom module. After save the article or module editor auto adds <p> HTML Paragraph tag...

Thanking you in advance!

Cheers,
MALI :(


Top
 Profile  
 
PostPosted: Fri Mar 26, 2010 6:26 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Mar 26, 2010 6:22 pm
Posts: 1
Are you asking how to remove the <p> </p> tag in the article editor?
If yes, here is the solution.

In the administrator, go to Extentsions -> Plugin Manager -> Editor-TinyMCE
In "Parameters" panel, find "New Lines"
Change it to "BR Elements"


Top
 Profile  
 
PostPosted: Sun Mar 28, 2010 1:18 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7846
Location: New York
Make sure not to hit enter at the end of your last paragraph.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Sun May 30, 2010 4:03 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun May 30, 2010 3:58 pm
Posts: 1
I've encountered the same (frustrating) problem. I'm using Joomla 1.5.17 with the rhuk_milkyway template. Everytime I save my article, it add three lines of <p> </p> and the article is consequently full of long spaces. I've tried the solution suggested by trivial2k but it didn't work for me. Any ideas?


Top
 Profile  
 
PostPosted: Sat Nov 06, 2010 4:34 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Nov 06, 2010 4:27 pm
Posts: 1
I found a solution to this, basically you want to add another parameter to the Editor - TinyMCE plugin.

You want to find the tinymce.xml file in "plugins/editors" and find

Code:
<param name="newlines" type="list" default="0" label="Newlines" description="Newlines will be made into the selected option">
         <option value="1">BR Elements</option>
         <option value="0">P Elements</option>
      </param>


Your going to add this line under the last <option> tag
Code:
<option value="-1">Nothing</option>


Basically this just makes another option in the menu for newlines and obviously we want it to not put anything so we do -1 as the value.

Works for me :D


Top
 Profile  
 
PostPosted: Thu Feb 10, 2011 2:06 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 08, 2010 8:31 pm
Posts: 2
I was able to figure out my </p> issue.

thanks


Top
 Profile  
 
PostPosted: Wed Jun 29, 2011 10:24 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jun 29, 2011 10:16 pm
Posts: 2
If Joomla is adding a paragraph tag or quotation / quote, or stripping any code from your articles, the problem is probably not the editor that you are using. The problem is Joomla's built in filtering that is intended to prevent users from entering malicious code into articles. In order to disable this filtering, do this:
in Joomla back end, click through: article manager...options (on menu bar)...text filters (on tab bar) ...(scroll down to) superusers and select "no filtering"


Top
 Profile  
 
PostPosted: Wed Sep 21, 2011 4:53 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu May 07, 2009 6:20 pm
Posts: 27
trivial2k wrote:
Are you asking how to remove the <p> </p> tag in the article editor?
If yes, here is the solution.

In the administrator, go to Extentsions -> Plugin Manager -> Editor-TinyMCE
In "Parameters" panel, find "New Lines"
Change it to "BR Elements"

thanks!


Top
 Profile  
 
PostPosted: Wed Nov 16, 2011 1:31 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 16, 2011 1:23 pm
Posts: 1
:) the one stated by junket works

If Joomla is adding a paragraph tag or quotation / quote, or stripping any code from your articles, the problem is probably not the editor that you are using. The problem is Joomla's built in filtering that is intended to prevent users from entering malicious code into articles. In order to disable this filtering, do this:
in Joomla back end, click through: article manager...options (on menu bar)...text filters (on tab bar) ...(scroll down to) superusers and select "no filtering"


Top
 Profile  
 
PostPosted: Mon Apr 16, 2012 4:39 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Apr 16, 2012 4:12 pm
Posts: 9
PcPoizn wrote:
:) the one stated by junket works

If Joomla is adding a paragraph tag or quotation / quote, or stripping any code from your articles, the problem is probably not the editor that you are using. The problem is Joomla's built in filtering that is intended to prevent users from entering malicious code into articles. In order to disable this filtering, do this:
in Joomla back end, click through: article manager...options (on menu bar free ipad 3)...text filters (on tab bar) ...(scroll down to) superusers and select "no filtering"


Thanks, by doing this though, would we be able to add any type of html code into the post/article and have it displays properly on the front end page?
I ask because by default, Wordpress does not allow us to use PHP code into the html section of creating a page/post.

Thanks


Top
 Profile  
 
PostPosted: Fri May 11, 2012 3:59 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Apr 16, 2012 4:12 pm
Posts: 9
Roundhouse wrote:
PcPoizn wrote:
:) the one stated by junket works

If Joomla is adding a paragraph tag or quotation / quote, or stripping any code from your articles, the problem is probably not the editor that you are using. The problem is Joomla's built in filtering that is intended to prevent users from entering malicious code into articles. In order to disable this filtering, do this:
in Joomla back end, click through: article manager...options (on menu bar victorious episodes)...text filters (on tab bar) ...(scroll down to) superusers and select "no filtering"


Thanks, by doing this though, would we be able to add any type of html code into the post/article and have it displays properly on the front end page?
I ask because by default, Wordpress does not allow us to use PHP code into the html section of creating a page/post.

Thanks


EDIT: Update, was able to figure it out. Thanks!


Top
 Profile  
 
PostPosted: Mon Jun 04, 2012 2:40 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jun 12, 2007 7:20 am
Posts: 224
Location: Republic of Ireland
Joomla 2.5.. Global Configuration – Text Filters :laugh:

_________________
Big party when I reach 10,000 posts.

Thank you :pop:


Top
 Profile  
 
PostPosted: Mon Dec 03, 2012 6:07 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Mar 23, 2007 11:49 am
Posts: 40
Changing the new line element from <p> to <br> in the tinymce plugin page solved this annoying issue, just remember to backspace existing <p> tags


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 8 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