Message Text |
Hallo Paul,
I have problem with using filter.
I add new custom link field with name: days and I use in template displaylinks.tpl this code:
<form action="index.php?action=displaycat&catid={CATID}&filter=days&linkfilteraction=add"
method="post">
<select name="filtervalue">
<option value="removefilter">all</option>
<option value="monday">Monday</option>
<option value="saturday">Saturday</option>
</select> <input type="submit" value=" OK " class="button">
</form>
Now member submits links with name Link1 with value of days is monday.
When member goes to category and click to edit picture by Link1, edit page displays for this link.That's all right.
Now member select in filter value Monday, all is alright, only links displays, where is days is monday.
Now member click to edit picture by Linkl, but edit page not displays and page displays with noaccess.tpl with this text:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\3319orig\classes\database.php on line 94
When member remove filter, editing works normal.
This problem is only for members, not for Admin.
When I try change setting in group of members and I check Is an administrator? for this group, no problem with editing of Link1 after using filter.
Thank you. |