Installing a Custom Theme

Permalink
I created a custom design that I need to put into Concrete 5, but don't know how to go about getting it installed. I looked at a video tutorial, however, I must be missing something because it's not working for me. Please help.

Thank you.
Dawn

 
madeforspace replied on at Permalink Reply
madeforspace
Hi

Can you tell us a bit about what you have done?
Did you convert your HTML design into a file called default.php?
If yes did you place it in the folder theme/yourthemename?
Have you activated your theme in the dashboard/pages and themes?

Let us know what steps you followed and perhaps we can suggest where you may have gone wrong.
TheRealSean replied on at Permalink Reply
TheRealSean
I often find copying the default theme and editing that works for me.

You should have in your root folder not the concrete folder
ie >root>themes>your_theme

In there you should have

an elements folder - containing a header and footer (needed) I also include sidemenu in here but the sidemen is optional

then you need the following files

view.php
default.php
main.css (or your style sheet)
typography.css (not essential but useful for styling content in TinyMCE)
description.txt
thumbnail.png
(and any other page types you would like)
Generic ones seem to be
home.php
left_sidebar.php
right_sidebar.php
full.php

Make sure that you do not have a folder within the folder,

ie themes>yourtheme>yourtheme it needs to be themes>yourtheme

Then you should see your theme in the dashboard
/index.php/dashboard/pages/themes/

If you can see it and it wont install then we may have another problem but getting you to this stage should mean we are on the right track
MemoriesDesign replied on at Permalink Reply
Is there any place that tells me the necessary files or best way to do this. I'm a web designer, I don't do programming, although I don't mind tossing .php includes into a file :0) So I need something basic that doesn't make any assumptions about my level of programming experience.

I did create the default.php, but then I didn't know where to put it.

I tried looking at another file, but all I saw was was a lot of .php and well the rest is history . . .

So essentially I need to know best case on how to turn my html into a theme.

Please help :0( I have to get this site done today.
boomgraphics replied on at Permalink Reply
boomgraphics
MemoriesDesign replied on at Permalink Reply
I'm so frustrated - I am getting this error:


Warning: include(/home/proof12c/public_html/themes/missionmaranathainside/elements/header.php) [function.include]: failed to open stream: No such file or directory in /home/proof12c/public_html/concrete/libraries/view.php on line 330

Warning: include() [function.include]: Failed opening '/home/proof12c/public_html/themes/missionmaranathainside/elements/header.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/proof12c/public_html/libraries/3rdparty:/home/proof12c/public_html/concrete/config/../libraries/3rdparty') in /home/proof12c/public_html/concrete/libraries/view.php on line 330

One on the top of the page and one on the bottom.

It's not applying the css.

Dawn
TheRealSean replied on at Permalink Reply
TheRealSean
In your theme folder which should be missionmaranathainside create a folder called elements and then in those folders add header.php and footer.php

The header should have all your opening HTML head and body opening tags
People often put the navigation and header images in here also

You footer should be the closing tags for any you open in the header

The CSS should be in your main theme folder missionmaranathainside
The call to the CSS is made from you header

It's hard to paste example as I'm on the iPod when i get to my pc I'll post an example
boomgraphics replied on at Permalink Reply 1 Attachment
boomgraphics
Hello, I have attached a (very!) simple set of folders and files that represents where your stuff should be going. I also included some comments in the files so you know what to put where.
You should only use this as a reference so you don't get all your file paths confused in your own theme. I have correct css include paths and header/footer.php include paths so if you keeps the same folder structure I have in there you should be fine.
This whole folder/file structure goes into your themes directory.
Hope it helps! :-D
labbeth replied on at Permalink Reply
Hi everyone,

I dig up an old topic as I didn't find the answer of my problem which is, step by step:

1. I have downloaded a theme template and have customized it.
2. Then I uploaded it on my /root/themes folder.
3. I went to my dashboard and add my theme to the list
4. I used it from the design section

Everything seemed to be ok, but the template did not apply to all the pages (don't know why...)

Moreover, I would like to change the font of the menu in the header nav. Typically, before discovering concrete5, I did an index.html file with this code for the menu:
<div id="menu">
<ul>
<li class="first"><a href="#" accesskey="H" title=""><b>A</b>ccueil</a></li>
<li><a href="#" accesskey="A" title=""><b>D</b>escriptif</a></li>
<li><a href="#" accesskey="P" title=""><b>P</b>hotos</a></li>
<li><a href="#" accesskey="S" title=""><b>R</b>éservation</a></li>
<li><a href="#" accesskey="C" title=""><b>A</b>ccès</a></li>
<li><a href="#" accesskey="U" title=""><b>C</b>ontact</a></li>
</ul>
</div>

As far as I understood, I had to "translate" it to some css file in concrete, but I don't now how to do it...

I precise that the structure of the template I use includes a "template" folder (not only elements and images). This folder includes files like main_block_footer.php, sidebar1_bloack_header.php, ...).

If you have some ideas, I'll be happy ;)

Thanks in advance
labbeth replied on at Permalink Reply
Well, I finally found how to do it for the menu nav... I just had to add a block in the header and copy/paste my html code. Now I feel like a dumb for my question ;)