redrat Posted June 24, 2009 Share Posted June 24, 2009 (edited) Hi Steve. I cannot find any such file as admin header.tpl only admin/templates/v4/header.tpl Is this the file you mean? Anyway, I placed the above code in that as instructed to no effect even clearing /templates_c The editor still shows up on my admin home page, not that I really mind. Any advice appreciated. My thanks. Edit Actually, yes I do mind the editor on the admin home page now under Admin Notes because it is totally messing up that section by displaying HTML that I cannot now get rid of. Edited June 24, 2009 by redrat 0 Quote Link to comment Share on other sites More sharing options...
spaceman Posted June 24, 2009 Share Posted June 24, 2009 Thanks spaceman I really appreciate your contribution and help. It's great!. thanks i have see a pdf-plugin but i have not try. when some one will download the editor please write me. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 24, 2009 Share Posted June 24, 2009 to show just on the configproducts page Hi Steve. I cannot find any such file as admin header.tpl only admin/templates/v4/header.tpl Is this the file you mean? Yes it is the one. 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted June 24, 2009 Share Posted June 24, 2009 (edited) Thanks Steve. I'm still not able to get rid of the extra unwanted occurrences but will persevere. The most annoying thing is that the admin notes occurrence just took control the moment I started using it to format my notes and now won't allow me to delete them or remove the html formatting code which is displayed. EG: No problem until I hit save. No biggy though. I love the editor and obviously just need to try and get my silly old head around sorting this out. I just know this will be so useful once I get it under some control. Awesomely useful in fact. I might need some help Steve but (I'm not allowed to say here *cough*) would never offer any form of payment against forum rules. Edited June 24, 2009 by redrat 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted June 24, 2009 Share Posted June 24, 2009 Hi Steve. I cannot find any such file as admin header.tpl only admin/templates/v4/header.tpl Is this the file you mean? Anyway, I placed the above code in that as instructed to no effect even clearing /templates_c The editor still shows up on my admin home page, not that I really mind. Any advice appreciated. My thanks. Edit Actually, yes I do mind the editor on the admin home page now under Admin Notes because it is totally messing up that section by displaying HTML that I cannot now get rid of. I have the same problem. Probably the easiest fix is to move the admin notes so that it streches across the page, below the three columns, instead of being in a column. 0 Quote Link to comment Share on other sites More sharing options...
edvan.com.br Posted June 24, 2009 Share Posted June 24, 2009 This change does not interfere the support tickets? 0 Quote Link to comment Share on other sites More sharing options...
spaceman Posted June 25, 2009 Share Posted June 25, 2009 (edited) You can also use this. we must only see that the ID or Name is unique. Then it shows only on the Textfield with Name or ID. <textarea name="" id="" tinyMCE.init({ mode : "exact", // Exact Mode elements : "description, nextid", // here the textarea ID or Name form HTML Code theme : "advanced", Edited June 25, 2009 by spaceman 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted June 25, 2009 Share Posted June 25, 2009 spaceman. Your knowledge is too advanced. Slow down so that mere mortals like me can catch up. Whagwon? What did you just say really mean? 0 Quote Link to comment Share on other sites More sharing options...
spaceman Posted June 25, 2009 Share Posted June 25, 2009 (edited) Now i have found how we can start without <p>my text</p> add this forced_root_block : false, tinyMCE.init({ mode : "exact", elements : "description,announcement,article,post", // forced_root_block : false, theme : "advanced", (header.tpl then {include_php file="editor/editor.php"} better this) Edited June 25, 2009 by spaceman 0 Quote Link to comment Share on other sites More sharing options...
spaceman Posted June 25, 2009 Share Posted June 25, 2009 spaceman. Your knowledge is too advanced. Slow down so that mere mortals like me can catch up. Whagwon? What did you just say really mean? i am to fast? no read the posts before. with this changes is better to use this editor. 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted July 23, 2009 Share Posted July 23, 2009 To make the include a little easier for some and also to show just on the configproducts page insert this in your admin header.tpl template just under the <body> tag{if $SCRIPT_NAME|substr:-19 == '/configproducts.php'}{include_php file="editor/editor.php"} {/if} is there a way of doing this so that we can just add the extra "pageweneediton.php" to a list as I need it on also on /admin/clientsnotes.php 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted July 23, 2009 Share Posted July 23, 2009 (edited) is there a way of doing this so that we can just add the extra "pageweneediton.php" to a list as I need it on also on /admin/clientsnotes.php I think I have done it : {if $SCRIPT_NAME eq "/admin/configproducts.php"}{include_php file="editor/editor.php"} {elseif $SCRIPT_NAME eq "/admin/clientsnotes.php"} {include_php file="editor/editor.php"} {/if} but there may be a better way of doing it? Edited July 23, 2009 by thehost5968 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted August 15, 2009 Share Posted August 15, 2009 I need some help this has just stopped working on me dose any one now why this may happen? This is the code I have in my admin header: {if $SCRIPT_NAME eq "/admin/configproducts.php"}{include_php file="editor/editor.php"} {elseif $SCRIPT_NAME eq "/admin/clientsnotes.php"} {include_php file="editor/editor.php"} {/if} 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted September 1, 2009 Share Posted September 1, 2009 type {debug} in Template and see whats in row "{$SCRIPT_NAME}" in my case there is whcmsroot {if $SCRIPT_NAME eq "whcmsroot/admin/configproducts.php"} {include_php file="editor/editor.php"} {elseif $SCRIPT_NAME eq "whcmsroot/admin/clientsnotes.php"} {include_php file="editor/editor.php"} {/if} 0 Quote Link to comment Share on other sites More sharing options...
thehost5968 Posted September 1, 2009 Share Posted September 1, 2009 the $script_name does = /admin/configproducts.php that works but the editor will only show when I am using: http://www.mydomain.com and not when I use http://mydomain.com and dose not work under https://mydomain.com or https://www.mydomain.com how odd is that? 0 Quote Link to comment Share on other sites More sharing options...
columbusgeek Posted December 15, 2009 Share Posted December 15, 2009 It's not odd. You should never run a website with both domains. Google considers it duplicate content. Plenty of examples on Google on how to do this. It's one of the first things you should do when making a site. http://yoast.com/how-to-remove-www-from-your-url-with-mod_rewrite/ 0 Quote Link to comment Share on other sites More sharing options...
infinityhs Posted January 3, 2010 Share Posted January 3, 2010 Is this download still available? I've registered but cannot find it as an available file to download. Vieo 0 Quote Link to comment Share on other sites More sharing options...
Wiredremix Posted January 3, 2010 Share Posted January 3, 2010 We have just finished setting up custom images located on in various places by simply using the {if} tags. For exmaple {if $productgroup.name eq "Dedicated Servers"}<img src="">{else} Something here{/if} It works extreamly well, i shall be sticking up a post in the showcase section once everything is finished because we have pretty much customised everything from orderforms to customer side etc. 0 Quote Link to comment Share on other sites More sharing options...
rmccny Posted January 8, 2010 Share Posted January 8, 2010 As far as getting the editor to appear in specific areas, this is what we did. Put this right before the </head> tag. admin/templates/v4/header.tpl {* Begin HTML editor in Product Configuration *} {assign var='admbase' value=$smarty.server.PHP_SELF|basename} {if ($admbase == 'configproducts.php' || $admbase == 'supportdownloads.php') && $smarty.get.action=='edit'}{include_php file="editor/editor.php"}{/if} {* End HTML editor in Product Configuration *} </head> 0 Quote Link to comment Share on other sites More sharing options...
columbusgeek Posted January 8, 2010 Share Posted January 8, 2010 Great tip Rmccny. 0 Quote Link to comment Share on other sites More sharing options...
Sylvie Posted April 23, 2010 Share Posted April 23, 2010 Hi spaceman, I can't download full editor i tried to registered but i can't i use a real email, but i'm freelancer i don't have number. i'm french sorry for my bad english Sylvie 0 Quote Link to comment Share on other sites More sharing options...
Sylvie Posted April 23, 2010 Share Posted April 23, 2010 Hi spaceman, I can't download full editor i tried to registered but i can't i use a real email, but i'm freelancer i don't have number. i'm french sorry for my bad english Sylvie 0 Quote Link to comment Share on other sites More sharing options...
Sylvie Posted April 23, 2010 Share Posted April 23, 2010 The Bug is fixed now. Now you can register on my Page and download the Editor.best regards, enrico Hi spaceman, I can't download full editor i tried to registered but i can't i use a real email, but i'm freelancer i don't have number. i'm french sorry for my bad english Sylvie 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.