Jump to content

guymelef

Members
  • Posts

    6
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Activity
    Freelancer

guymelef's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. To add tiny_mce I did a dirty fix. on AdminPlPost.php line line 30: function displayForm($isMainTab = true), at the bottom of it just right before the </form> tag add this lines (tiny_mce init) <script type="text/javascript"> tinyMCE.init({ // General options mode : "specific_textareas", editor_selector : "rte", theme : "advanced", plugins : "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist,autosave", // Theme options theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen", theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", theme_advanced_path : false, theme_advanced_resizing : true, relative_urls : false, urlconvertor_callback: "convLinkVC", //file_browser_callback : "filebrowser", width: "600px", height: "auto", // Example content CSS (should be your site CSS) //content_css : "css/content.css", // Drop lists for link/image/media/template dialogs template_external_list_url : "lists/template_list.js", external_link_list_url : "lists/link_list.js", external_image_list_url : "lists/image_list.js", media_external_list_url : "lists/media_list.js", // Style formats style_formats : [ {title : \'Bold text\', inline : \'b\'}, {title : \'Red text\', inline : \'span\', styles : {color : \'#ff0000\'[spam-filter], {title : \'Red header\', block : \'h1\', styles : {color : \'#ff0000\'[spam-filter], {title : \'Example 1\', inline : \'span\', classes : \'example1\'}, {title : \'Example 2\', inline : \'span\', classes : \'example2\'}, {title : \'Table styles\'}, {title : \'Table row 1\', selector : \'tr\', classes : \'tablerow1\'} ], // Replace values for the template plugin template_replace_values : { username : "Some User", staffid : "991234" } }); function convLinkVC(strUrl, node, on_save) { strUrl=strUrl.replace("../",""); return strUrl; } </script>
  2. I made modifications and I've got the blog running in my localhost. Here is the updated files http://www.zubuweb.com/download/plblog.rar There is a problem though in my remote test server. It only displays a blank page. Maybe because of the different server configuration and php version. I am still trying to find out though, But before I'll be messing out the running code I am sharing this to see if it could help anyone. Feel free to download and give us an update if it did work.
  3. I have a module example modules/myModule/blog.php In prestashop 1.4 this link works fine <a href="{$link->getPageLink('modules/myModule/blog.php')}">Blog</a> but not anymore in 1.5. I even tried removing .php still didn't work. <a href="{$link->getPageLink('modules/myModule/blog')}">Blog</a> How can I access the module page in this case the blog.php? Thanks!
  4. Have you updated the value of PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL in ps_configuration table?
  5. Hi all, I am currently using prestashop 1.2.0.8. Everything works fine in my local computer but not in my live server. When I tried to duplicate a product it returns an error "an error occurred while creating object". The weird thing here is despite the error it still creates a duplicate entry in the ps_product table. The more it confuses me because I couldn't see the duplicate entry anywhere in the system (front end or back end). Your help is very much appreciated! Thanks!
  6. Same thing goes for me...Error in duplicating a product "an error occurred while creating object" I'm using prestashop 1.2.0.8. Is anybody has a solution for this?
  7. Hi I just downloaded and installed prestashop 1.2. I have deleted the install folder and renamed the admin folder to admin123. Now when I access admin I only see an empty white screen. I tried to add "login.php" after the new admin directory. example http://localhost/shop/admin123/login.php The page works and I was able to login but I was redirected to... again an empty white screen. Is there something I need to change in the code that will recognize the new folder name of the admin? Your help is very much appreciated. Thank you.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More