By moumimzwine on Wednesday, 04 November 2015
Replies 14
Likes 0
Views 9.5K
Votes 0
Sorry to bother you again,

i would like to know if it is possible in this filter module to have catégorie tab, not like a scrolling menu, but more like ajax tab, when you write a name of categorie it is automatically displayed, without scrolling down.
Because i have many categories, is there a way to do this

Thanks
Hello,

I'm afraid at present this isn't a feature.

Many thanks
Tony
·
Wednesday, 04 November 2015 20:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks tonyp,

But is it possible to class categories in front end," in alphabetical order" ?
·
Wednesday, 04 November 2015 21:33
·
0 Likes
·
0 Votes
·
0 Comments
·
In which view?

Many thanks
Tony
·
Wednesday, 04 November 2015 22:02
·
0 Likes
·
0 Votes
·
0 Comments
·
I am talking about the module which is displayed in home page where we have list events.

Is it possible to class categories inside the module while scrolling down by alphabetical order.

Thanks again
·
Thursday, 05 November 2015 08:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Can we see a link? As I'm not sure which module you are on about.

Many thanks
Tony
·
Thursday, 05 November 2015 21:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tonyp,

I guess the request was refernig to styles on category options / pulldown elements. E.g. color them to reflect the category color. That would be every view that includes the Jevents Filter Module (when enabled).

I have a slightly different request myself, which might roam the same code area:
I like to apply a class to the filter label for categories (e.g. to prepend a tag icon). There are label class properties for e.g. evloccountry_label or evsearch_label, but not yet for the category filter.

I suggest the following code adjustement for it:
components/com_jevents/libraries/filters# diff Category.backup.php Category.php 
118c118
< $filterList["title"]=JText::_("Select_Category");
---
> $filterList["title"]="<label class='evcategory_label' for='".$this->filterType."_fv'>".JText::_("SELECT_CATEGORY")."</label>";


What do you think?

Best regards,
Sailor
·
Wednesday, 16 December 2015 12:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Its a good point - I'll make the change for the next release
·
Thursday, 17 December 2015 08:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you! :-)
·
Thursday, 17 December 2015 17:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Geraint,

the filter module offers the option "Reset" which adds a Reset button to the form.
But the Reset button is already always on in the standard form.

You may consider to trigger the button state instead of adding a second reset button. (Or remove that filter option.)

Best regards,
Sailor
·
Friday, 08 January 2016 00:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Dear Geraint,

yes, I am quiet busy on the filters just now.

Catching up on the thread for the filter label classes I suggest that you check the other filter plugins as well, e.g. for the time limit plugin

jevtimelimit/filters/Afterdate.php:134: $filterList["title"]=JText::_("PLG_JEVENTS_JEVTIMELIMIT_STARTING_AFTER_LABEL");
filters/Afterdate.php:134: $filterList["title"]=JText::_("PLG_JEVENTS_JEVTIMELIMIT_STARTING_AFTER_LABEL");

and
jevtimelimit/filters/Beforedate.php:137:                $filterList["title"]=JText::_("JEV_Ending_Before");
filters/Beforedate.php:137: $filterList["title"]=JText::_("JEV_Ending_Before");

could be something like
$filterList["title"]="<label class='evafterdate_label' for='".$this->filterType."_fv'>".JText::_("PLG_JEVENTS_JEVTIMELIMIT_STARTING_AFTER_LABEL")."</label>";

and
$filterList["title"]="<label class='evbeforedate_label' for='".$this->filterType."_fv'>".JText::_("JEV_Ending_Before")."</label>";


Best regards,
Sailor
·
Friday, 08 January 2016 14:56
·
0 Likes
·
0 Votes
·
0 Comments
·
For now - you can copy the afterdate.php and beforedate.php files to plugins/jevents/filters/ where they will be used in preference to the core plugin filter files.

As part of the reworking of filters I will be adding a lot more styling options,
·
Sunday, 10 January 2016 09:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Good to know.
So plugins/jevents/filters/ does work as a "plugin template override" folder?
Will the folder contents survive a plugin update?

I am looking forward to the updates.

Best regards,
Sailor
·
Sunday, 10 January 2016 22:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sailor,

They sure will! we don't tend to delete any folders which is the only way it would be lost if it is a custom file/filter.

Many thanks
Tony
·
Sunday, 10 January 2016 23:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the clarification, TonyP.
(I did not create the folder and found contents, thus my question).

Best regards,
Sailor
·
Monday, 11 January 2016 07:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post