HansNL Posted November 1, 2013 Share Posted November 1, 2013 (edited) Hi, i have a question. When i make a extern button in a CMS Page, i get: This content field is invalid Why? It will not come up and working The script is perfect, it works on the Home Text Editor too, perfect! (it is the Site Consultant button, the green one) But not on my CMS Pages I have the same problem when i make a link in CMS Page with JavaScript Popup. Someone who can help me? Info on www.gaysandgadgets.com/shop/ Edited November 4, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 1, 2013 Share Posted November 1, 2013 can you show please how your code looks like and page, where you're trying to use it? (exact url) Link to comment Share on other sites More sharing options...
HansNL Posted November 2, 2013 Author Share Posted November 2, 2013 The exact url: http://www.gaysandgadgets.com/shop/index.php?id_cms=4&controller=cms&id_lang=1 There you see, above visiting and pick up, - Direct Live Support. There i want to put a button in, the same you see on www.gaysandgadgets.com/shop/ (under Contact us info) As you see, on the main page it is working, but on the, above, exact url, u can't put the next information: <!-- mibew button --><a href="http://www.info-helpdesk.nl/mibew/client.php?locale=en&style=silver" target="_blank" onclick="if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('http://www.info-helpdesk.nl/mibew/client.php?locale=en&style=silver&url='+escape(document.location.href)+'&referrer='+escape(document.referrer), 'mibew', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="http://www.info-helpdesk.nl/mibew/b.php?i=mblue&lang=en" border="0" width="177" height="61" alt=""/></a><!-- / mibew button --> When i put this in CMS About Gays&Gadgets, i get false information and it will not work Then i have a other question Sorry! But on the shop you see on the right side that you can change languages (under login). I want to change the position, it is staying stupid on that position. Is it possible to put it in the menu bar? See that i mean: Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 in this case it will be necessary to modify the cms tinymce editor (extend it) and also to change validate function: tinymce editor prestashop + validate function Link to comment Share on other sites More sharing options...
HansNL Posted November 2, 2013 Author Share Posted November 2, 2013 Oh my god, when i change it, it will not working anymore So i put it all back. Can you help me? I use a text program to change it, but i think i don't do it good Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 i can change files for you, but in this case i will need an access to your FTP Link to comment Share on other sites More sharing options...
HansNL Posted November 4, 2013 Author Share Posted November 4, 2013 Oeps, i have to ask my bass if i can give that. I don't think he want to do that, but i can ask today Is it not possible that you give me the files and i put them online? Link to comment Share on other sites More sharing options...
vekia Posted November 4, 2013 Share Posted November 4, 2013 it is possible, i will check files then 1 Link to comment Share on other sites More sharing options...
HansNL Posted November 4, 2013 Author Share Posted November 4, 2013 Oh my god, it is working YES... YES... YES... I had done something not good last time, but now i did it slow by slow and it works. Great, i like Prestashop more and more Link to comment Share on other sites More sharing options...
vekia Posted November 4, 2013 Share Posted November 4, 2013 thank you for information that it works im going to mark this thread as [solved] with regards, Milos 1 Link to comment Share on other sites More sharing options...
Recommended Posts