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: 8603 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) 
Tiki birthday
2)  19 Oct 2023 14:00 GMT-0000
Tiki Roundtable Meeting - October
3)  16 Nov 2023 14:00 GMT-0000
Tiki Roundtable Meeting - November
4)  21 Dec 2023 14:00 GMT-0000
Tiki Roundtable Meeting - December
5)  18 Jan 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  15 Feb 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  21 Mar 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting