
rjbathgate
User
Jul 31, 2011, 7:06 PM
Post #1 of 4
(1190 views)
Shortcut
|
|
Create a plugin to do same as 'hidden' field
|
Can't Post
|
|
Hello, I want to have a field operate in a similar manner to the 'hidden' field (but the other way around, i.e. checked = displayed, unchecked = hidden). Lets call it 'display'. I can manually add this (display = 1) into the $where for the viewer but thought the cleanest way would be via plugin... (which works like this: if 'display' exists in table, then the 'where display = 1' is added to the rest of the 'where'. I'm not sure where to start to integrate it as a plugin... Cheers Rob
|