New theme not showing up in C5 admin interface??

Permalink
Hi everyone,

I've been playing around with C5 for a couple of days trying to better understanding it and themes in my /concrete/themes/ directory have a way of disappearing on me.

What I mean is that at first I manually deleted the theme directories to see what affect it would have on C5 (that's how I learn sometimes) and after doing so I copied them back but they never appeared in the admin interface again (until I reinstalled C5 and started fresh).

Now, after a fresh reinstall, I am creating a test theme as my sandbox to play around in but again...it isn't appearing in the admin interface.

I have been following the instructions found athttp://www.concrete5tutorials.com/theme-tutorials/concrete5-sandbox... which sound like they are created by someone who knows what they are talking about.

I have a proper description.txt file. A main.css, topography.css, default.php, and a copy of the elements directory. All this was simply copied from the default theme that comes with C5 on a fresh install. All I did was strip out a bunch of extraneous stuff in line with the instructions found above.

Permissions are the same as on the default theme.

But...my test theme just doesn't show up in the admin interface under the Pages and Themes section.

Oh...and I've cleared the cache even though I have also had it disabled while playing around in C5.

Does anyone have any suggestions as to how I might get themes to show up inside the interface?

I have the latest stable C5 installed.

Thanks.

Carlos

 
ThemeGuru replied on at Permalink Best Answer Reply
ThemeGuru
make sure your new theme is the /themes directory. See if that works.
carlos123 replied on at Permalink Reply
Thanks ThemeGuru! That worked.

It now shows up.

But this is very confusing.

If I install a new theme from Concrete5 it puts it inside the /packages directory (and it shows up in the admin interface).

If I delete the theme directory inside /concrete/themes/ it disappears from the admin interface but if I copy it back over to the /concrete/themes/ directory it...well...never reappears.

If I put a theme directory manually into the /packages/ directory it doesn't appear in the admin interface either such as themes that are installed by C5 there do appear.

Very confusing as to what is what in all these various places where themes can be found under the C5 directory tree.

Can anyone clarify what goes where or is there a page of documentation here that would clarify that somewhere?

Thanks.

Carlos
ThemeGuru replied on at Permalink Reply
ThemeGuru
Hey.

Just a note.

If your theme does not have a controller than it goes into the /themes directory.

If it has a controller than it goes into the /packages directory.

In your case I would just stick to working with the /themes directory then when your ready check out some of the free themes in the marketplaces that are packaged it.

Hope that helps :-)
carlos123 replied on at Permalink Reply
Hmm...interesting.

Although I like Concrete5 so far this is an example of one of the things I definitely don't like about it.

This stuff isn't documented very well.

So when do I ever stick a theme inside the /concrete/themes/ directory or is that reserved just for Concrete5 use?

Also I just installed a theme from C5 called theme_mint_chocolate_chip but there is no controller for it inside the /controller directory under my C5 install.

You said that a theme with a controller goes into the /packages directory. Why doesn't that apply to this theme which apparently has no controller (or does it? The /controller/ directory is empty)?

If you delete a theme directory from the /concrete/themes/ directory and then copy back over again from a backup why doesn't it appear any longer in the Pages and Themes section of the admin interface? How does one get it to reappear?

Please don't feel a need to answer me yourself ThemeGuru but I ask these questions in case you do want to answer me further or if not in case anyone else has some input on these questions.

Thanks.

Carlos
12345j replied on at Permalink Reply
12345j
don't put anything under /concrete, thats for the core. The package file will be under root/packages/theme_mint_chocolate_chip and named controller.php
MattWaters replied on at Permalink Reply
MattWaters
There are a number of good how-tos on building themes. Some are pretty general, and some address very specific parts of working with concrete5. Check 'em out:

http://www.concrete5.org/documentation/how-tos/?submit_search=1&...