Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Foren / Cotonti / Skins / Foster - admin theme


Nice and clean admin theme for Cotonti Siena.

#1 21. Juli 2013, 21:05

To make it easier to keep track of updates and other things, I'll put a forum topic here for the Foster administration panel theme.


The Foster theme can be found here:
The GitHub repository here:

Added a max-width toggle switch.
Added Russian language file by Trustmaster.

#2 21. Juli 2013, 21:53

Can you please take a look at the extra fields page? I'm sorry I didn't mention it earlier I just remembered when I saw your post. 

Anyway they are displayed too close together and it's a little confusing which input fields belong to which extrafield. 


#3 22. Juli 2013, 17:46

Hi mate,

Yep, sure. Can you elaborate what you find too close together and what you would like to see improved?

#4 22. Juli 2013, 19:03


Added 45 minutes later:

Never mind, updated it now and it looks awesome! 

Dieser Beitrag wurde von lukgoh (am 22. Juli 2013, 19:50, vor 8 Jahre) bearbeitet
#5 25. Juli 2013, 18:37

Very nice..

.# Aragorn-pc // Turkish Information Technology's Underground World
Prosed.NET Seditio SedBlog Themes Sharing
#6 25. Juli 2013, 20:06


#7 5. August 2013, 08:48

Awesome theme! Thank you very much! :)

Added 39 minutes later:

Edit: Hmm, I think the button "Validate page" in Page Administration is not working as it should. Hmm. (Cotonti 9.0.14)

Added 9 minutes later:

Edit2: aha, I know why: there's no "modalbox.css" in the admin header tpl. I think it should be at least added (copied from blogster theme), and then maybe adjusted.

Edit3: the success notifications make the page expand in "Structure" section if maxwidth toggle is on.

Added 5 minutes later:

modalbox.css that works well together with Foster theme:

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
  the Window's z-index value will be set to 3000 by default (via jqModal.js). */

.jqmWindow {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  overflow: auto;
  background-color: transparent;
  color: #333;
  padding: 10px;
  text-align: center;

.jqmWindow h4 {
  border-bottom: 1px dotted #b0c4de;
  font-size: 14px;
  margin: 0 0 7px 0;
  padding: 0 0 5px 0;
  text-align: left;
  color: #3E606F;

.jqmWindow p {
  text-align: right;
  margin: 15px 0 0 0;
  font-size: x-small;
  text-transform: lowercase;

.jqmOverlay { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {
  width: expression(this.parentNode.offsetWidth+'px');
  height: expression(this.parentNode.offsetHeight+'px');

/* Fixed posistioning emulation for IE6
  Star selector used to hide definition from browsers other than IE6
  For valid CSS, use a conditional include instead */
* html .jqmWindow {
  position: absolute;
  top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');


Dieser Beitrag wurde von tensh (am 5. August 2013, 09:43, vor 8 Jahre) bearbeitet
#8 5. August 2013, 11:43

Ah, well spotted! I'll push it to GitHub.

I'll clean up the page validation section a bit more when I have time, it's still a bit messy now.


Dieser Beitrag wurde von Twiebie (am 5. August 2013, 12:04, vor 8 Jahre) bearbeitet
#9 5. August 2013, 12:06

No problem :) 

I'm playing with this theme, it's really nice, I'll report more problems if spotted.

#10 5. August 2013, 12:43

Sure, feel free to post them in the issue tracker at GitHub. It's easier to keep track of things that way.

Added 5 days later:

I'm trying to work out an issue posted by Wadik, see:

So far I've tried it on a few different hosts but none of them seem to have the issue.

Does anyone else have an idea what might be causing this?


Dieser Beitrag wurde von Twiebie (am 10. August 2013, 13:48, vor 7 Jahre) bearbeitet
#11 12. August 2013, 07:12

Hmm, I don't have any errors, I normally work on this tpl. BUT... I remember there was something odd with this section.

1. Which Cotonti does he use?
2. If not, maybe he should copy the TPL of this section from default theme? Should display if it's tpl issue.
3. Then maybe he can gradually format the tpl like it looks like in foster theme.

I think something might be wrong with the TPL because in the "HTML template" form field of the extrafield, the html get cut out (no endtag). If I copy the basic tpl there, everything is correct. I saw you're not using all system tags, like {ADMIN_EXTRAFIELDS_ROW_HTML} - I'm not sure if it's a good idea, the TPL might not be compatible with the system later with the development. But sure... the select field looks very nice thanks to this :/


Dieser Beitrag wurde von tensh (am 12. August 2013, 07:24, vor 7 Jahre) bearbeitet
#12 12. August 2013, 09:45

I removed the code (line 325-443) in the file (

I have earned.

Maybe it's because {} in the script?

Добавлено 5 минуты спустя:

For example in the Smarty tag is used for this {literal}

Dieser Beitrag wurde von Wadik (am 12. August 2013, 09:51, vor 7 Jahre) bearbeitet
#13 13. August 2013, 12:23

I still can't reproduce it. Even with PHP set to strict, on both localhost and a live server, it's not giving any errors.

If anyone else can reproduce it and/or has a test website that has the error, let me know.

#14 13. August 2013, 19:12

Now I downloaded the latest version. I earned a page with extrafields. Thank Twiebie!

#15 28. November 2013, 03:01

Hey just wanted to say this theme is kickass ! very professionally done !!


I'm going to tweak it to fit our darker main theme but its very well done. Good work.

<a href=""></a>