Hels

you mean do the thing in the grey box above?

Hels

tfft!! probably the first time I got a correct approach on the first try!!! 😉

Hels

Is it possible to use logic in a page controller to choose between 2 different Layout templates? something like if $currentMember is in group A then use layout template A else use layout template B

Hels

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!!!)

wmk

Should I finally move it to another domain? Though the Rest of the URL is in plain English...

Hels

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!!)

wmk

And thank you very much for the notice

Hels

sorry, I won't be there! I am not actually a computer person, just doing 1 site to help a friend

greg_808

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.

wmk

moving to another domain is kinda tricky seo wise, isn't it? I already have one registered.

wmk

@Hels well, we're a nice mixed crowd (developers, managers / owners, etc..) meeting annually in a different location. The talks are mixed (see schedule) and offer a wide range of topics. And from my remembers, the crowd is quite inclusive, isn't it @greg_808?


Show less replies
Hels

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 😀

Hels

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!!! 🤣

Hels

But maybe I can create a region dataobject that has-one region manager & has-many teams

Hels

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

Hels

It's the same site all the time. I am just trying to add new features that people want.