you mean do the thing in the grey box above?
tfft!! probably the first time I got a correct approach on the first try!!! 😉
Is it possible to use logic in a page controller to choose between 2 different Layout templates?
if $currentMember is in group A then use layout template A else use layout template B
hey @wmk just thought i'd say thanks for the help (even though you don't know about it!!) - your website (http://silverstrip.es/blog/get-all-titles-of-a-many-many-component-in-a-gridfield-summary/) fixed something for me (finally remembered that it isn't written in Spanish so I can click on it when it appears in a google search!!!)
Should I finally move it to another domain? Though the Rest of the URL is in plain English...
nah, put it wherever you like! realistically it will be nearly entirely computer experts that visit it, so they will probably realise its sort of a pun rather than a spanish site (it also took me quite a while to realise that http://appear.in isn't an Indian website!!)
And thank you very much for the notice
how about a wine-spritz at StripeCon?
sorry, I won't be there! I am not actually a computer person, just doing 1 site to help a friend
Maybe you should move to another domain i‘d recommend silverstripe.dev I think you lose a lot of traffic because of the es tld.
moving to another domain is kinda tricky seo wise, isn't it? I already have one registered.
Of course we are!
I'll give it a go adding the in between data object & come back here if (when!!) I get stuck! Thanks for talking it through & helping clarify the approach 😀
I literally just thought oh crap what about the London teams where there are multiple region managers working with all of them cos there are just so many teams in London!!! 🤣
But maybe I can create a region dataobject that has-one region manager & has-many teams
At the moment each team leader can see their team members which works very well. But now the regional managers think it would really help if they could see the people in the teams that they look after so I'm trying to expand things
It's the same site all the time. I am just trying to add new features that people want.