Wednesday, 04 November 2015
  14 Replies
  9.5K Visits
0
Votes
Undo
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
9 years ago
·
#159471
0
Votes
Undo
Hello,

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

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#159472
0
Votes
Undo
Thanks tonyp,

But is it possible to class categories in front end," in alphabetical order" ?
9 years ago
·
#159473
0
Votes
Undo
In which view?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#159474
0
Votes
Undo
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
9 years ago
·
#159475
0
Votes
Undo
Hello,

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

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#159476
0
Votes
Undo
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
9 years ago
·
#159477
0
Votes
Undo
Its a good point - I'll make the change for the next release

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

9 years ago
·
#159478
0
Votes
Undo
Thank you! :-)
9 years ago
·
#159479
0
Votes
Undo
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
9 years ago
·
#159480
0
Votes
Undo
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
9 years ago
·
#159481
0
Votes
Undo
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,

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

9 years ago
·
#159482
0
Votes
Undo
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
9 years ago
·
#159483
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#159484
0
Votes
Undo
Thanks for the clarification, TonyP.
(I did not create the folder and found contents, thus my question).

Best regards,
Sailor
  • Page :
  • 1
There are no replies made for this post yet.