By bdtushar on
Hi
I have developed an website. Which is a blogging site.
User can blog on this site. In the content type of blog i have inadd a aselect field name adult.
the list field has two option 1. adult and 2. open.
Now I want that, normally adult blog will be hidden, but user can unhidden those content.
How can I do that.
Thanks all
Comments
is there any hook or module
is there any hook or module
So you want the user to be
So you want the user to be able to select a hidden field and choose whether to show it or not? You can use the Views module for that. You can add the field to the view and play with the settings. You can make it hidden depending on certain criteria or make it exposed to the user.
thank not exactly that. Say I
thank
not exactly that. Say I have two blog. in the blog node there is a field (list text).
One blog's the list text box value is 'adult'
Second blog's the list text box value is 'all'
I want that in the /node path all adult content will be hidden. and user can select to view those content. Similar to safe content on/off in various site for adult content.
Thank u