-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sites, SiteTrees and Pages #6447
Comments
I'd like to have a bit more information about the site concept too. A while ago I tried to dig through the code to find a problem, but gave up as it's a bit hard to follow without any documentation. While most people don't need this, it would help some of us to help the core for sure. |
We'll get more into it in version 9 – we will be including tools to actually create site objects (to run a multisite concrete5 installation.) Don't know if we've made that official yet...consider this an official notice ;) To answer your questions:
|
I wasn't aware of that... Great!!!!!!!!!!!!!!
But we have just one IMHO we should have 3 classes of pages:
With just one column ( What I suggest is to add a
That way, if we delete a locale section, we won't have problems with the two types of global pages. |
PS: when I say that a field is empty, I mean |
This is something we need to clarify as a part of getting our multi-site solution out for 9.0. I'm going to reopen it. In general, we use Site Trees in a few different contexts, which is what makes our current setup confusing. If you have a single concrete5 installation running 20 sites (all of which are English), you'll have 20 site trees. And if you have a single concrete5 installation running 1 site with 20 languages you'll have 20 site trees as well. So we might want to have some differentiation there. Additionally I'm wondering if having some system where a fallback is in place might help (e.g. if you have a page not found page in every language you can localize it for a given site, but if you don't have one in a particular site tree it'll fall back to rendering from the one outside the site tree.) |
i would prefer: fallback to a page in the "fallback language". then i need to have only that language site tree complete, and dont need a copy for every language . |
AFAIK, concrete5 page structure is currently organized in:
Sites
database table.SiteTrees
+SiteTreeTrees
database tables (persisting theSiteTree
entity) with a 1:1 relation with theSiteLocales
database tablePages
.siteTreeID
database column). Pages that are not site-specific have a value of0
in thesiteTreeID
column.Currently:
/account
- but not/account/welcome
)/account/welcome
pageI know absolutely nothing about handling different Sites in the same instance (no public information, no helper class, ...), but the above structure about Site Trees seems to have the following problems to me:
/account
pages are not site-specific, but/account/welcome
is? Is this wrong?Pages
.siteID
column)The text was updated successfully, but these errors were encountered: