create a new data type by using the Checkbox list type, give it 2 valus, one for the main site and one for the sub site. Add this to each document type where you want the users to be able to choose where it should appear. On the page template/Xslt script you then check which site you are on (if you are using the same template/script, otherwise that's redundant since you already know which site you are on) and check if the user has ticked the box for that site.
I've implemented that e.g. for an Umbraco installation with 3 sites for a client, the news items are held outside of the 3 sites and they can tick on which site(s) they want the item to appear.
You can obviously invert the selection (tick if you don't want it to show on a specific site) or use radio buttons instead.
show hide content
Hi,
I need to create af functionality so i can show/hide content on a subpage.
Something like create diffrent types of content on a page, but with a show/hide check box related to each content area.
How can i do that?
sorry i created this one 2 times.... the delete function is not working when i try....
Hi Thomas,
create a new data type by using the Checkbox list type, give it 2 valus, one for the main site and one for the sub site. Add this to each document type where you want the users to be able to choose where it should appear. On the page template/Xslt script you then check which site you are on (if you are using the same template/script, otherwise that's redundant since you already know which site you are on) and check if the user has ticked the box for that site.
I've implemented that e.g. for an Umbraco installation with 3 sites for a client, the news items are held outside of the 3 sites and they can tick on which site(s) they want the item to appear.
You can obviously invert the selection (tick if you don't want it to show on a specific site) or use radio buttons instead.
Hope that answers your question,
Sascha
is working on a reply...