Search the Community
Showing results for tags 'text editor'.
-
Hello to all, Versione PS 1.7.4.2 I need to recall the icons but I can not figure out how to do it, I have extended my tinyMCE editor but I have not been able to add the icons, in any case I thought I could recall them by entering the code <i class="material-icons">..</i> o <i class="fa fa-address-book"></i> <em class="icon-truck" id="icon-truck"></em> but I was not successful, I tried a lot before writing but I could not find solutions that worked, the only one (the last beach) I was looking for advice on www.w3schools.com and I tried to insert the whole curiosity example code present like this and inserting it a first time correctly displays the directives SCREEN but if I give ok and after clicking again in the source code I see this and the icons disappear. Obviously I'm doing something trivial but unfortunately I'm banging my head for a few days, I ask if anyone can recommend me which code correctly recalls the icons on a page written in html or better still some suggestions on how to integrate the icons in my tinyMCE editor . I hope I have explained myself, in any case I thank everyone who wants to participate in this discussion in advance.
- 1 reply
-
- font awesome
- material icons
-
(and 6 more)
Tagged with:
-
Hi I have activated the multi-shop function. Everything works fine except the Home Page Text Editor module. I can edit text on my 'first' shop, but not on the second site. When I save the text it onlys shows the Lorem Ipsum default text. I have tried deactivating, reset and deleting the module in different combinations but no luck. Templates are the same and PS version is PrestaShop™ 1.5.4.1 Any solution? Thanks in advance. /Michael
-
Hello! I have been trying to get my images to upload properly both in the page content text editor uploader and in the product images...It appears that the images are saving, but when I go to use them I see the file is http://domain.com//img/Picture.jpg There seems to be an additional "/" in there. How can I tell the store this properly. thanks. Wes
- 2 replies
-
- image upload
- error
-
(and 1 more)
Tagged with:
-
Need some help here. I followed the steps in the below link to add the TinyMCE Rich Text Editor and I lost the editor for all my back end pages, CMS, product descriptions. I replaced all data as it was previously on both pages /js/tinymce.inc.js and validate.php class change I am unable to get the old editor back. http://mypresta.eu/en/art/prestashop-16/extended-rich-text-editor.html Any help from someone? I can provide you a copy of both if .necessary. Thank you!
-
UrgentCourier team showed me very friendly how to solve this jquery problem conflict. After you install their module go to /modules/urgentcurier/urgent_curier/admin_autocomplete.tpl and delete lines 3 & 4 <script src="{$smarty.const.__PS_BASE_URI__}modules/urgentcurier/autocomplete/jqueryui.min.js"></script> <script src="{$smarty.const.__PS_BASE_URI__}modules/urgentcurier/urgent_curier/admin_autocomplete.js"></script> then add to adminfolder/tabs/AdminUrgentCurierAwb.php <script src="/modules/urgentcurier/autocomplete/jqueryui.min.js"></script> <script src="/modules/urgentcurier/urgent_curier/admin_autocomplete.js"></script> right before line <h3>Urgent Curier Online - EDITEAZA LIVRARE</h3> and add to adminfolder/tabs/AdminUrgentCurierPuncte.php <script src="/modules/urgentcurier/autocomplete/jqueryui.min.js"></script> <script src="/modules/urgentcurier/urgent_curier/admin_autocomplete.js"></script> right before line <div class="entry-edit" style="float: right; width: 39%;">
- 1 reply
-
- urgentcourier
- tinyMCE
-
(and 1 more)
Tagged with:
-
Here's a simple guide on how to add fancybox support to the editorial module, aka "Home text editor module": 1. in /modules/editorial/editorial.php , modify the the following: public function hookDisplayHeader() add the following code: /* Adding fancybox support */ $this->context->controller->addJquery(); $this->context->controller->addJQueryPlugin('fancybox'); $this->context->controller->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'screen'); /* end fancybox support */ so that the complete function looks like this: public function hookDisplayHeader() { /* Adding fancybox support */ $this->context->controller->addJquery(); $this->context->controller->addJQueryPlugin('fancybox'); $this->context->controller->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'screen'); /* end fancybox support */ $this->context->controller->addCSS(($this->_path).'editorial.css', 'all'); } 2. copy the file /modules/editorial/editorial.tpl to /themes/%THEME%/modules/editorial/editorial.tpl 3. edit the file /themes/%THEME%/modules/editorial/editorial.tpl, to make it like this: <!-- Module Editorial --> <div id="editorial_block_center" class="editorial_block"> {if $editorial->body_home_logo_link}<a href="{$editorial->body_home_logo_link|escape:'htmlall':'UTF-8'}" title="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}">{/if} {if $homepage_logo}<img src="{$link->getMediaLink($image_path)|escape:'html'}" alt="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}" {/if}/>{/if} {if $editorial->body_home_logo_link}</a>{/if} {if $editorial->body_logo_subheading}<p id="editorial_image_legend">{$editorial->body_logo_subheading|stripslashes}</p>{/if} {if $editorial->body_title}<h1>{$editorial->body_title|stripslashes}</h1>{/if} {if $editorial->body_subheading}<h2>{$editorial->body_subheading|stripslashes}</h2>{/if} {if $editorial->body_paragraph}<div class="rte">{$editorial->body_paragraph|stripslashes}</div>{/if} </div> <script type="text/javascript"> $(document).ready(function() { $("a.video").fancybox({ 'type' : 'iframe' }); }); </script> <!-- /Module Editorial --> 4. in BO->Modules-> Home Text Editor ->Configure add the following code to any <a href...> code you want to open with fancybox: class="video" for example: <div id="youtube_video_button"> <a class="video" href="http://www.youtube.com/embed/L9szn1QQfas?autoplay=1" target="_blank"> <img style="vertical-align: bottom;" title="Youtube_link" src="../img/cms/Youtube_button.png" alt="Youtuve button" width="136" height="40" /> </a> </div> Enjoy.
-
hi there, when i try to insert images by using home test editor, I got this message : 404 error file not found it happened when I am using safari, but inserting images works in firefox most of the time, sometimes it doesn't, any clue? thx!
- 9 replies
-
- 404 error
- text editor
-
(and 1 more)
Tagged with:
-
I discover Sublime Text 2 editor 1 week ago, and i am in love by him. It is very, very fast and do lots of things. Somebody also uses this editor? Can you give me your opinion an what editor you use and why? Link for video:
-
- text editor
- php
-
(and 2 more)
Tagged with: