![]() |
Toolbar
I'm having a play around making a simple cms and I was wondering, how do you do the toolbar things (like the one above the text area when making a post for example).
Do people make their own? I've seen some ready made open source ones, are they any good? |
|
Yea, thats what I mean.
Is the one you suggested easy to implement? or is it more advanced? |
Really easy to install. Follow the instructions on there website's Wiki page, it will help a lot.
|
TinyMCE is definitely the best, and easiest to install. It's the one Wordpress and other scripts use in the backend.
|
I must admit, I'm really pleased with this toolbar, got the whole thing up and working in a few minutes :D
Thanks a lot! |
I've came across a weird bug with this, its been mentioned on their forum but there's not a fix so I thought I'd post here to see if anybody else has came across it.
Basically if you go to: http://jamesowers.co.uk/cms/add.php in ie you will see the content box doesn't work but if you go to: http://www.jamesowers.co.uk/cms/add.php it works fine. Does anybody know what would make this happen? The javascript error is 'access denied'. |
Probably slack coders on there front, if its a known bug and they haven't fixed it there probably isn't much support for it.
Is this the one wordpress uses? |
Yes I think it is.
Is there a way (using php or something) I can check if the url has the www in and if it doesnt then redirect them to a page that does? |
In .htaccess you can:
Code:
RewriteEngine On |
Also possible in PHP:
PHP Code:
|
Quote:
http://jamesowers.co.uk/cms/add.php |
I'd use the .htaccess one for the main reason is that you need to put that PHP code in every file that you want to switch to www. The code Wildhoney works on all pages on a site.
|
I would do what Andrew suggests also, however if you have added the code to the start of "add.php" then it should be fine....
You need to ensure there is no whitespace in the output html before the code also, as this will cause it not to redirect properly. |
| All times are GMT. The time now is 03:37 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0