-
AuthorPosts
-
christophero Friend
christophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 8, 2011 at 8:17 am #167171I add this to the article:
{jatabs type=”articles” ids=”22, 75″ ajax=true view=”introtext” position=”right” widthTabs=150 width=530 animType=”animMoveVir”} {/jatabs}</p>”
and when I save the page it adds; </p>” at the end of the code, to give me –
{jatabs type=”articles” ids=”22, 75″ ajax=true view=”introtext” position=”right” widthTabs=150 width=530 animType=”animMoveVir”} {/jatabs}</p>”On-line I just see:
</p>”
– where I should see the tabs and articles.
Clearly I must do something wrong?Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 5:15 pm #405457Hi Chris,
What editor are you using, what version of Joomla and what template please.
Thanks!christophero Friendchristophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 10, 2011 at 6:05 pm #405462Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 6:11 pm #405464Hi Chris,
very important, I need to know what editor you are using.
Thankschristophero Friendchristophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 10, 2011 at 6:37 pm #405468Blaine
Do you mean the Admin template?
This is Hathor
Outside the site I use Dreamweaver and TextPad but these are not relevant to this issue.
Chris
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 6:46 pm #405470Hi Chris,
I am referring to the editor you are using in Joomla’s backend. What are your global configurations set to?
There are usually two ways to get around this problem, if the editor is the issue, which I believe it is.
1. You can go into the global configuration and select “None” for the default editor. Then you go to the article and place your HTML code. That leaves you without an editor until you go back and turn one back on.
The problem with this way is that you have to remember to turn off the editor every time you want to edit/change the article code or you will again lose your code.
The second way:
2. Go to the Extensions->Plugin Manager and click on the editor that you are using. ( probably Editor-TinyMCE). Over on the right hand side you’ll find the “Basic Options”.
Select the “Clean Code on Load” to OFF ( radio button )
Select the “Clean code on save” to “Never”.
Save your changes and you should be in good shape.
Doing that will allow you to add just about anything into your articles. PHP code may be a problem, but I believe that HTML code will work ok. Also, PayPal and various other widgets can be added if you so desire these at a later date.
I hope that helps you Chris.christophero Friendchristophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 10, 2011 at 7:24 pm #405476Hello Blaine,
I am sorry to have been so thick about the editor, it’s been a long day promoting the web community :-
[ Yes I use TinyMCE as I do in other programs ]Problem, though, as there are no “Clean Code” options All I have are –
Basic Options
Functionality
Skin
Entity Encoding
Automatic Language Selection – NoYes
Language Code
Text Direction
Template CSS classes – NoYes
Custom CSS classes
URLs
New Lines
Prohibited Elements script,applet,iframe
Extended Valid ElementsChris
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 9:41 pm #405506Hi Chris,
So can you try my first suggestion then please?
You can go into the global configuration and select “None” for the default editor. Then you go to the article and place your HTML code. That leaves you without an editor until you go back and turn one back on.
The problem with this way is that you have to remember to turn off the editor every time you want to edit/change the article code or you will again lose your code.
Please advise if this resolves your issue. You do not have to turn the editor back on if you don’t want to.
Thanks!Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 10, 2011 at 9:57 pm #405514One other thing is could be are the text filter introduced with J1.6.x. It does not matter what editor you use including the “No Editor” option html or other code may still get stripped depending on the settings you have for the text filters.
To change this go to the article manager and press the little light switch button marked “Options” in the top right of the page. One of th tabs is called “text filters”. Go into that and change the settings to “No Filtering” for the admin and super user.
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 10, 2011 at 10:00 pm #405516Great point Phill, but would that effect code tags?
I personally would like to know this.
thanks PhillPhill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 10, 2011 at 10:04 pm #405518The text filters are a right royal pain and will strip any code out you put in the editor no matter what editor you use. The exception are the <p> tags placed by TinyMCE
Changing the text filters in the article manager also effects code used in custom html modules.
I first saw this problem simply trying to embed a video. It catches out hundreds of users over on the Joomla.org forums.
christophero Friendchristophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 10, 2011 at 10:08 pm #405519I disabled TinyMCE
I cleared don the article text and pasted in<p>You can get fast and valuable impact through on-line promotion.</p>
<p>This could include:</p>
<ul>
<li>Competitions – a prize for a competition that involves <br /> – answer questions about your business from, say,<br /> scanning your web site for the answers<br />or<br /> having to visit your business to get the answers</li>
</ul>
<ul>
<li>A special offer such as:<br />- two for one on a certain day – mention that it was seen here when booking<br />- a discount voucher that can be printed off from this site<br />- a free gift when visiting upon production of a voucher printed from this site</li>
</ul>
<p>Ask us about the options, how to make it work and the cost for us to publish and support this.</p>
<p><a href=”index.php/advertising-your-business”>Click — for more about Business Advertising</a></p>
<p><a href=”index.php/sample-sites-2″>Click to contact us here</a></p>
<p> </p>
{jatabs type=”articles” ids=”22, 75″ ajax=true view=”introtext” position=”right” widthTabs=150 width=530 animType=”animMoveVir”} {/jatabs}
{jacomment off}Then saved, and still didn’t see the tabs
I checked and found that I got this at the at the end of the code – see the added ” added to the end – it is added whenever I click Save<p> </p>
{jatabs type=”articles” ids=”22, 75″ ajax=true view=”introtext” position=”right” widthTabs=150 width=530 animType=”animMoveVir”} {/jatabs}
{jacomment off}”Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
August 11, 2011 at 11:09 pm #405806Hi christophero,
Are you still experiencing the problem after clearing the cache?
Please advise.
Thanks!christophero Friendchristophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 13, 2011 at 8:03 am #406069<em>@Blaine 259179 wrote:</em><blockquote>Hi christophero,
Are you still experiencing the problem after clearing the cache?
Please advise.
Thanks!</blockquote>Yes.
I did what Phill suggested and the added characters problem disappeared.
I created a new page just for this issue:
http://www.lowerteme.co.uk/index.php/a-tab-test-page
The code was not modified on save; but when I went to the published page on line –
– found nothing showing on the page
– when I looked at the code for the article it was blankI viewed in Chrome as well as Firefox just in case it was a browser issue.
I have restored Text Filters to original setting and the issue of modified code returns.
christophero Friendchristophero
- Join date:
- July 2011
- Posts:
- 19
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 15, 2011 at 1:15 pm #406359Are we at an impasse on this problem, now?
-
AuthorPosts
This topic contains 15 replies, has 3 voices, and was last updated by christophero 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum