GodFocker Posted April 3, 2011 Share Posted April 3, 2011 Hi there,A few months ago I was searching for a solution to insert Javascript into my home text editor.I can't remember what it was, I think it was some kind of code modification in the editorial.tpl file.Anyway, this was a good solution, because it worked.Now I figured that it made all the text editing blocks in the administraion panel to a HTML text editing, without the options of choosing font, size, color and etc. These options are disappeared.Can anyone please help me recover my text editing blocks? I can't add new products this way.I've attached a printscreen of my problem.Here's the current code of my editorial.tpl:<!-- Module Editorial --> {if $xml->body->home_logo_link}body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if} {if $homepage_logo}body->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if} {if $xml->body->home_logo_link}{/if} {if $xml->body->$logo_subheading}{$xml->body->$logo_subheading|stripslashes}{/if} {if $xml->body->$title}{$xml->body->$title|stripslashes}{/if} {if $xml->body->$subheading}{$xml->body->$subheading|stripslashes}{/if} {if $xml->body->$paragraph}{$xml->body->$paragraph|stripslashes}{/if} <!-- /Module Editorial -->Thanks guys! Link to comment Share on other sites More sharing options...
GodFocker Posted April 5, 2011 Author Share Posted April 5, 2011 Does anyone at least know in which file I should look for the problem of the text editing area? Is it the editorial.tpl?Please help me! <(") Link to comment Share on other sites More sharing options...
GodFocker Posted April 5, 2011 Author Share Posted April 5, 2011 Well, after hours of searching the forums, I've managed to locate the problem.The TinyMCE does not work, so I see only text boxes to insert HTML commands in every place in the administration where text is needed, such as inserting new products, home text editor and etc.It seems like there is some kind of javascript command failure, so the TinyMCE doesn't work.I use prestashop 1.2.5.0.There's another guy that I've found who had a similar problem, which appeared only in his home text editor. He said that re-uploading the editorial files had fixed the problem. Here's his thread - http://www.prestashop.com/forums/viewthread/85572/configuring___using_prestashop/solved_help_with_home_text_editor_please_dot_Can anyone please help and guide me what to do?How can I get the original files of the editorial for prestashop 1.2.5.0??This is kind of urgent! Link to comment Share on other sites More sharing options...
GodFocker Posted April 7, 2011 Author Share Posted April 7, 2011 Hello? Anyone? Link to comment Share on other sites More sharing options...
TestingT Posted April 25, 2011 Share Posted April 25, 2011 I'm new, so I don't know, but did you try deleting the source code shown in the picture above? Link to comment Share on other sites More sharing options...
shoulders Posted April 28, 2011 Share Posted April 28, 2011 firstly put all you code back to standard. It is tinymce that strips out the javascript. you nbeed to add a line of code to tiny mce to prevent stripping. this took me ages to figure out.when you use certain code in TinyMCE it gets stripped when you save it.Read this article i did for joomla. I am very busy so i will not be able to give you any more help on this, sorry.http://www.fijiwebdesign.com/component/option,com_fireboard/Itemid,156/func,view/id,470/catid,11/limit,6/limitstart,6/ Link to comment Share on other sites More sharing options...
tom52 Posted April 29, 2011 Share Posted April 29, 2011 Hi there,A few months ago I was searching for a solution to insert Javascript into my home text editor.I can't remember what it was, I think it was some kind of code modification in the editorial.tpl file.Anyway, this was a good solution, because it worked.Now I figured that it made all the text editing blocks in the administraion panel to a HTML text editing, without the options of choosing font, size, color and etc. These options are disappeared.Can anyone please help me recover my text editing blocks? I can't add new products this way.I've attached a printscreen of my problem.Here's the current code of my editorial.tpl:<!-- Module Editorial --> {if $xml->body->home_logo_link}body->home_logo_link|escape:'htmlall':'UTF-8'}" title="{$xml->body->$title|escape:'htmlall':'UTF-8'|stripslashes}">{/if} {if $homepage_logo}body->$title|escape:'htmlall':'UTF-8'|stripslashes}" />{/if} {if $xml->body->home_logo_link}{/if} {if $xml->body->$logo_subheading}{$xml->body->$logo_subheading|stripslashes}{/if} {if $xml->body->$title}{$xml->body->$title|stripslashes}{/if} {if $xml->body->$subheading}{$xml->body->$subheading|stripslashes}{/if} {if $xml->body->$paragraph}{$xml->body->$paragraph|stripslashes}{/if} <!-- /Module Editorial -->Thanks guys! Hello,Did you fine a fix for it yet? please let me know.Thank you Link to comment Share on other sites More sharing options...
GodFocker Posted April 29, 2011 Author Share Posted April 29, 2011 No, I didn't find a fix.. Any suggestions? Link to comment Share on other sites More sharing options...
tom52 Posted April 29, 2011 Share Posted April 29, 2011 No, I didn't find a fix.. Any suggestions? It works fine when I used firefox, but it doesn't work when I used IE. Have any idea why is that?ThanksTom Link to comment Share on other sites More sharing options...
TestingT Posted April 29, 2011 Share Posted April 29, 2011 Hi,I often find that IE doesn't work for many applications. This morning I found the same thing. It didn't work in IE but did in Google Chrome. IE seems to be very buggy with "editing" software. I don't know why, but you're not alone:) Link to comment Share on other sites More sharing options...
shoulders Posted April 29, 2011 Share Posted April 29, 2011 No, I didn't find a fix.. Any suggestions? It works fine when I used firefox, but it doesn't work when I used IE. Have any idea why is that?ThanksTom pop up blocker is a usual cause, and stupid security settings Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now