Why duplicate folders in C5 directory ?
PermalinkI just realized that my C5 installation is kinda duplicated. On my root server, I have a directory named "concrete" and all folders inside are empty except (another) 'concrete' 'packages' and 'themes' plus 3 files (index.php. htaccess, sitemap.xml.
If I open the 2nd 'concrete' then I see the same folders again but this time with files insides.
ALthough my C5 is working well, I find it a bit messy and wonder if I should clean that up and pull the (2nd) concrete directory one level up then delete all the other empty folders ?
Please see screen copy attached.
THANK YOU all for your help :)
This is my understanding and this is what I'm currently doing and it's working.
I must admit that it can be confusing, the file structure is a little confusing, would it not be better to have both a core directory and an overrides directory, the overrides directory should then take priority over the core dir, this would certainly tidy up the root directory and probably avoid the confusion.
Just my 2c...
Cheers.
Thanks Maynar I got the message and won't delete anything but as Nathan mentioned (and I totally agree), the file structure can be quite confusing...
For an easy and very clear CMS like C5, there might be a way to make the file structure a bit more intuitive too.
I wonder what's the opinion of Franz on that subject (?)
THANK U guys!
There are some root folders which you can delete though. I realized this when I used an extractor that doesn't extract empty directories.. I just had to create another two directories or so and it worked.
the reason why is you do have the second /concrete directory, and anything you put in there will be used before the stuff in the root /concrete directory will.. think of it as an override.
this doesn't always mean 100% upgrades (obviously) but it does make it much easier to build complicated sites without "damaging the core" or "forking the code"
we didn't make this technique up, we ripped it off.
That way you upgrade everything in the blink of an eye without touching your own mods/blocks/packages/etc.
Just needed to have a clear answer (even from the CEO) and this is now done and available for others through the forum search ;)
Pretty clear. Thank you all !
The "concrete" directory contains all "Core" features and the other directories are for add-ons/plugins.
Even when you don't use them, don't delete them.