Banner
Home Forum
Qivva Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Categories filter not working with archived events
(1 viewing) 1 Guest
Go to bottom
TOPIC: Categories filter not working with archived events
#2751
Steph282
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Categories filter not working with archived events 7 Years, 11 Months ago Karma: 0
If the flag "Show Archived events" is activated, the categories filter is not working, all the events are displayed.

The problem can be solved by doing a small modification in the helper.php file.

From line 52 :

if ($CurrentEvents==1)
{
$wherestr = ' WHERE (a.published = 1';
}
else
{
$wherestr = ' WHERE (a.published = 0';
}
if ($ArchivedEvents==1)
{
$wherestr = $wherestr. ' OR a.published = -1)';
}
else
{
$wherestr = $wherestr. ')';
}
 
Logged Logged
  The administrator has disabled public write access.
#2764
toni
Administrator
Posts: 92
graphgraph
User Offline Click here to see the profile of this user
Re:Categories filter not working with archived events 7 Years, 11 Months ago Karma: 0
Thanks for your solution:-)

Regards
Toni
 
Logged Logged
  The administrator has disabled public write access.
Go to top
Drug Amoxil Online (Amoxicillin) is used to treat many different types of infections caused by bacteria, such as ear infections, bladder infections, pneumonia, gonorrhea, and E. coli or salmonella infection. Sleeping pills: l-tryptophan, Phenergan, Unisom, Sominex - currently the most popular are the following hypnotic drugs. Click to see full text here:
Italian online pharmacy. Cialis, Viagra and other generic drugs. The best price and free shipping.
Sponsored by: sominex online shop.