<% with $ReadMorePage %>, then the ID and stuff :>
Nice use of stack overflow :)
@Shannon Holmes 4.2 was the one with some (minor) hidden pitfalls. 4.2 -> 4.4 should be just fine :)
Unfortunately I don't think so, from the top of my head.
@BaronGrivet Try accessing
FluentState somehow :)
Maybe it's on the HTTPRequest.
@kinglozzer should be.
not 100% sure though, thus the suggestion to open an issue if you still can't do what you want :)
Yes, admins are as admins be. I believe subsites offers the ability to set admins for particular sites, as opposed to the "global" or default admin.
This is true. I am an admin level user on just 1 subsite of a website & can't access others. There are people like me on each individual subsite. Then there is 1 'world' admin who has access to all the different sites - they get a drop down button in cms to choose which site to be working on. Don't know how much is the built in code of the subsite module & how much was custom as I don't have access to the code.
@Hels yes, but can you have an admin level user on just "the main site" (not a subsite), and have that admin not see any subsite info?
Sorry didn't realise you meant that way round. Our main site (subsite id=0) isn't a full site like all the others. It is just a couple of pages of text & 1 page that links to all the different subsites. Presumably you could have a type of user who can edit subsite 0 only but isn't the top level user who controls all the subsites. We have all kinds of heirarchical users with different permissions within each subsite so it feels like pretty much anything is possible!! Although as mentioned I don't have access to the actual code of that site so I can't check. I only know about the all sites admin user cos my friend showed me her log on once when we were considering using subsites module in the site I made (but I dropped that idea like a hot potato as soon as I tried it the module!!!) any other countries that get an equivalent of my site get a seperate vhost+silverstripe with the same custom code pushed from git (soooo much easier from my point of view!!!! 🤣)
>I dropped that idea like a hot potato as soon as I tried it the module Wise decision 😅
In terms of a main site admin seeing all files - they are the admin ;) If you'd like to test further, please create a new user and play around with the permissions. If you still think the behaviour incorrect, you can open an issue at https://github.com/silverstripe/silverstripe-subsites/issues/new :)