Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • christophero Friend
    #167171

    I 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 Friend
    #405457

    Hi Chris,
    What editor are you using, what version of Joomla and what template please.
    Thanks!

    christophero Friend
    #405462

    Hello Blaine,

    v1.7
    UntamedNature – http://www.lonex.com

    Chris

    Blaine Friend
    #405464

    Hi Chris,
    very important, I need to know what editor you are using.
    Thanks

    christophero Friend
    #405468

    Blaine

    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 Friend
    #405470

    Hi 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 Friend
    #405476

    Hello 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 Elements

    Chris

    Blaine Friend
    #405506

    Hi 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 Moderator
    #405514

    One 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 Friend
    #405516

    Great point Phill, but would that effect code tags?
    I personally would like to know this.
    thanks Phill

    Phill Moderator
    #405518

    The 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 Friend
    #405519

    I 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 Friend
    #405806

    Hi christophero,
    Are you still experiencing the problem after clearing the cache?
    Please advise.
    Thanks!

    christophero Friend
    #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 blank

    I 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 Friend
    #406359

    Are we at an impasse on this problem, now?

Viewing 15 posts - 1 through 15 (of 15 total)

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