override theme - version 8.3.2

Permalink
Im using version 8.3.2.
I wanted to create a footer override from the ELEMENTAL default theme.

I copied the structure from:
concrete/theme/elemental/elements/footer.php

To:
application/theme/elemental/elements/footer.php

The change appeared but broke the layout.

I then tried copying the whole folder contents from 'elemental' and that produced this error:
"Cannot declare class Concrete\Theme\Elemental\PageTheme, because the name is already in use"

Am I doing something wrong please?

deanhawthornthwaite
 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Download the cloneamental theme and install that, it is a clone of the elemental theme!
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
I understand 'cloneamental' is an exact copy of elemental theme.
If I use cloneamental and then edit the source directly, will the edits remain when there is a system update?
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
sorry another question that might seem obvious...

If you cant override a theme by using the method described, then whats the point of having the C5 instructions to make overides?

Sorry but this is confusing.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
When you install the cloneamental package it will reside in the 'packages' folder, the 'packages' folder does not get overwritten by a C5 upgrade, in effect the application and packages folders are over-ride folders, anything in them does not get affected by a core upgrade.
deanhawthornthwaite replied on at Permalink Reply
deanhawthornthwaite
Thanks for explaining. :-)
jasteele12 replied on at Permalink Reply
jasteele12
I'd also like to know why the override doesn't work...
jasteele12 replied on at Permalink Reply
jasteele12
Ever since Slack happened this forum (with its many problems) has only gone downhill.

I'd *still* like to know why the override doesn't work...
ThomasJ replied on at Permalink Reply
ThomasJ
I'm running c5 - 8.3.2. I installed the Cloneamental theme to get a handle on where the actual page view template resides. When I installed it, I expect to find all elements of the package to reside within the cloneamental package under the packages sub-folder. I am looking through the web site's files and have no cloneamental package files under packages yet the theme is now installed and operating on the web site. Where is this package hiding??? In fact, I can't find where the framework for the original concrete Elemental theme is residing. I found the theme's elements but no files that render it's page views. I have been searching this problem for a couple of days now and totally perplexed over this.
ThomasJ replied on at Permalink Reply
ThomasJ
wow! I just discovered that I have an Apache Config problem caused by when I set a canonical url while trying to get pretty urls working. When I did that, it caused my web site to revert back to the original Elemental theme without any of my work in it. All this time I thought it was a problem I was having with c5-8 because all my work was still in the site folders and files but from that point on nothing that I did was materializing in the web site folders. I never considered that I had set up another running install of c5-8 in my default virtual website. I now have to figure out why adding the conical url of my web site would cause Apache not want to serve up the requested site. I feel soo stupid but I am old and at 72, I can use my age as an excuse for stupidity.

p.s. Accepting any suggestions as to why Apache would vomit with the canonical url addition and what c5-8 does with the canonical url and what url should be placed in this field and when and why.
jasteele12 replied on at Permalink Reply
jasteele12
Again, at least a website address would be helpful. I have no idea what you mean by "set up another running install of c5".

Can you post a copy of your .htaccess file (or just the portion with concrete5 pretty URL config)?

You can always manually include /index.php/ in your testing in your browser location.

If you are developing a site, make sure that you have all caching disabled!

72 is a nice attempted excuse ;)
jasteele12 replied on at Permalink Reply
jasteele12
How did you install the theme? Can you share the website address URL (the source would show exactly what theme/directories are being used)?

FYI, the Elemental theme resides in concrete/themes/elemental/
ThomasJ replied on at Permalink Reply
ThomasJ
That was fast. I was in the process of starting a new topic and moving this issue there. It needs to be it's own topic in case others run into this same thing.
New topic:https://www.concrete5.org/community/forums/usage/all-of-my-changes-d...
I will respond there.