hi,
i'm trying to modify the admin templates - i'd like to re-arrange some fields and hide other i don't need for my project.
specifically, i want to change addcontent.php and editcontent.php.
i've looked around the project structure for some time, but i wasn't able to find a template page for the admin areas...
where do i find it?
also - i couldn't find the specific TinyMCE references to change it from the full editor to just the simple one.
thanks in advance!
mmv
editing admin templates
Re: editing admin templates
The admin is one of the weaker aspects of CMS. At least the parts I wrote...
So there is no set of template files, per se. The admin all lives in the CMS_ROOT/admin directory. The various functions are split out into all those files. Most of them should be reasonably self-evident from the file names.
There is a certain amount of power in the admin theming setup. Take a look at CMS_ROOT/lib/classes/class.admintheme.inc.php, and what happens in the default theme folder (CMS_ROOT/admin/themes/default).
To create a new theme, you could just copy that directory, and start customizing. We should have another theme available so people can see how the theming system works, but I haven't had time to make one.
Good Luck!
___Samuel___
So there is no set of template files, per se. The admin all lives in the CMS_ROOT/admin directory. The various functions are split out into all those files. Most of them should be reasonably self-evident from the file names.
There is a certain amount of power in the admin theming setup. Take a look at CMS_ROOT/lib/classes/class.admintheme.inc.php, and what happens in the default theme folder (CMS_ROOT/admin/themes/default).
To create a new theme, you could just copy that directory, and start customizing. We should have another theme available so people can see how the theming system works, but I haven't had time to make one.
Good Luck!
___Samuel___
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Re: editing admin templates
As far as the content editing itself, it's handled directly by the content type itself. Look in lib/contenttypes/Content.inc.php. There is a EditAsArray function, which displays the fields that are used in the add/edit pages.

