Tell us what you are trying to do?
I am a non-techie,
If I want to make some conditions, what kind of language I need to use in order to have it in the editor to work with the result rendered in the toolset view? is it php? HTML ? I just want to know where to start so I can understand the concept and make my own rules or logical conditions to small detail that I may need in my website. I have seen in the toolset custom post types I can input additional condition (advanced). lets say I have a new board member being elected and I needed to display the term ending date without me having to physically input the date. I know toolset has some example. but I don't know where to start.
Thanks
Hello,
There is a built-in feature within Views plugin: Conditional HTML Output in Views, I suggest you start with below document:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
For example, you can setup two custom fields:
- custom radio field: board member elected (yes or no)
- custom date field (term ending date)
Use wpv-conditional shortcode to check board member elected = yes, then display the custom date field field value
Thank you Luo. Good information. I have made note of it and it will be helpful. Now I need help in another situation.
when creating a post type, will that post type have just one archive? or view? I ask this because I need implement my membership site and I don't want to create a thousand of post types. this is my scenario and dilema:
I have 27 districts, which each district has about 4 to 5 churches. I have district leaders leading each district individually and they dont share information among them. and churches with one or two ministers in each church.
The district leader will have oversite (and access to view only the churches in his district and only the churches assigned to that district, and not access the other districts info. how do I accomplish it without having to make 27 district post type? Can I assign a particular view to a user? lets say district #1 is assigned to John, and district #22 to Rachel. Can the same be done with templates and archives?
The same with churches. Each church will be accessed by their minister only. how do I do it without the need to create many different church post types? Could the district leaders control just the custom fields assigned to them under the same post type? if so then can I assign several custom fields to a single district leader, and a minister viewing only one custom field which in this case will be their church only, without taking a peak in the other custom post field (church).
Thanks
I assume the original question of this thread is resolved, for the other new questions, please check the new thread here:
https://toolset.com/forums/topic/now-i-need-help-in-another-situation/
My issue is resolved now. Thank you!