Posted: October 9, 2012 at 5:30 pm
|
I’m pulling my hair out after thoroughly reviewing the forum and trying many “fixes”. I don’t understand why it is “broke” to begin with. Please help me get events to sort by time. Using [ESPRESSO_TABLE max_days=”60″ qty=”300″ category_identifier=”publictour”] Customized table sorts by date, but time slots within the day are out of order. I have tried short codes, tweaking time_date.php,espresso_table.php etc. I’m not a php programmer, but using info from posts. (I have worked with code for many years and comfy with that). The problem is Saturdays. |
|
Started with version 22, but upgraded to 27 today. |
Hello, On line 30 of espresso_table.php, right above the
Under that is the sql query, which has an if/else statement determining whether we’re looking at a category-specific list or a general list. To get what you want, it should look like this.
We have tested this previously and it should work. Let us know if you have anymore questions. |
|
|
Thanks for that info Jonathan. I still can’t get it to work properly. I’m starting with this modified filed which works great except for the sort order of times on the same day: SEE CODE LIVE SCREEN: Short code: [ESPRESSO_TABLE max_days=”60″ qty=”300″ category_identifier=”publictour”] When I add the first line of the recommended code, there is no change. AFter adding the 2nd set of code below Line 30, I get: Parse error: syntax error, unexpected $end I’m not a programmer but tried various entries of } (adding, removing) with varying errors. Could you try adding your code to the espresso_table.php or give me some hints? |
|
Any help? My client is pushing hard now. |
The support post ‘Time Sort Order’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.