Loading...
 
Features / Usability

Features / Usability


[SOLVED] Reasons for customsearch sort impotence when search works? Bugs in tiki 25.x? e.g Uncaught TypeError: customsearch_0.load is not a function or other things?

posts: 8633 Israel

Well done Aris.

Aris Bernotas wrote:
Update1: The first trick is to use id="0" instead of id="customsearch_0"!!! Selecting sort dropdown then functions as expected.


My understanding is that underscore "_" are ok for html ids. (https://stackoverflow.com/questions/70579/html-valid-id-attribute-values)

We have also an example here with underscore: https://doc.tiki.org/PluginCustomSearch#Advanced_Pagination_in_Smarty_Template

So what's the conclusion of this discussion ?
Is it ok to use underscore for a customSearch id (like Tiki sample) or it is better not to use underscore (or any special character) ?

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting