This topic is locked

HIding field blocks on view page with attached records displayed

10/12/2010 4:58:21 PM
PHPRunner General questions
D
Dale author

What I want to do is hide a couple of field blocks in the associated records showing on a View Page.
If a guest logs in and displays the item_image_list.php everything works perfect. I have used the before show list to hide 2 columns for a guest user.

Works perfect.

But when the guest opens a view page of an item, the successfully hidden fields on the original item_image_list.php list are showing up in the section displaying the attached images to the currently viewed record.
As these records are calculated on the fly, I suspect with ajax, how do I hide the two unwanted field blocks.

Apparently phprunner is not considering the beforeshowlist changes of the item_image list before displaying attached records on a view.
I hope that makes sense, I would like to try avoid creating another view.