Reply New Topic
2011/8/29 19:58:52
#1
Offline
Home away from home

admin theme - some barriers

For the moment it is not possible to create a full ACP theme, I can find some barriers.

- the core would not use my Template files (theme_name/modules/system/admin/images/*.*)
- the core use different images (modules/system/images/*.* and images/crystal/actions/*.*)

My Result: I can create a theme and change some CSS styles, but not change the templates / images.*/

_________________
http://on.fb.me/x5lEdX

2011/8/29 20:13:01
#2
Offline
Home away from home

Re: admin theme - some barriers

Maybe you could change the name of the image set in /include/common.php?

Quote:

/**
* @todo make this $icms_images_setname as an option in preferences...
*/
$icms_images_setname = 'crystal';
define("ICMS_IMAGES_SET_URL", ICMS_IMAGES_URL."/" . $icms_images_setname);



2011/8/29 20:29:31
#3
Offline
Home away from home

Re: admin theme - some barriers

Quote:


Madfish wrote:
Maybe you could change the name of the image set in /include/common.php?

Quote:

/**
* @todo make this $icms_images_setname as an option in preferences...
*/
$icms_images_setname = 'crystal';
define("ICMS_IMAGES_SET_URL", ICMS_IMAGES_URL."/" . $icms_images_setname);



This is an other topic too http://community.impresscms.org/modules/newbb/viewtopic.php?topic_id=4916&forum=10&post_id=44041#forumpost44041

I changed, but for example the the templates from the image manager dont use the "crystal" icons. I know, I can add the templates in my theme, but the core would not use my templates.

@Dev: I like to change the templates from the system module and change the image url

from
<a href="admin.php?fct=images&op=delcat&imgcat_id=<{$cat_id}>" title="<{$lang_imanager_cat_del}>"><img src="images/delete_big.png" /></a>

to
<a href="admin.php?fct=images&op=delcat&imgcat_id=<{$cat_id}>" title="<{$lang_imanager_cat_del}>"><img src='" . ICMS_IMAGES_SET_URL . "actions/images/delete_big.png' alt="<{$lang_imanager_cat_del}>" /></a>

_________________
http://on.fb.me/x5lEdX

2011/8/29 20:40:50
#4
Offline
Home away from home

Re: admin theme - some barriers

Does that mean that it is not possible to override system templates in a theme?


2011/8/29 20:42:34
#5
Offline
Home away from home

Re: admin theme - some barriers

Yes, right. The core will not use admin templates.

_________________
http://on.fb.me/x5lEdX

2011/8/30 17:34:06
#6
Offline
Home away from home

Re: admin theme - some barriers


_________________
http://on.fb.me/x5lEdX

2011/9/1 0:15:20
#7
Offline
Home away from home

Re: admin theme - some barriers

works for me now

_________________
http://on.fb.me/x5lEdX

Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.