Hi Kakos, thanks for the testing and feedback! Very much appreciated!
Quote:
After upgrading publisher with the above upgrade package all changes made by the xbootstrap team gone. To avoid complete mess, a collaboration with bleek (or any other which made the changes) would make smoother the publisher upgrade for end users.
Bleekk will be looking at that. But what exactly is broken now? Which template, and in which place? Maybe there is a quick fix for it?
[EDIT] I see that in the file:
\themes\xbootstrap\modules\publisher\xoops_and_module_changes\modules\publisher\item.php
there is missing "/assets/":
$xoTheme->addScript(PUBLISHER_URL . '/js/behavior.js');
$xoTheme->addScript(PUBLISHER_URL . '/js/rating.js');
It should be:
$xoTheme->addScript(PUBLISHER_URL . '/assets/js/behavior.js');
$xoTheme->addScript(PUBLISHER_URL . '/assets/js/rating.js');
Please change it and let us know if this fixed your issue.
Quote:
Publisher contains many hardcoded elements like the Breadcrumb. To properly display all the elements of publisher, designer had to made some changes to the code of some php files, which are contained in the xbootstrap package (in extras folder).
I hope for a collaboration of teams so the end-users have the correct results.
We definitely don't want anything being hard-coded, so if you see anything, please let us know.
Quote:
With the above changes (which break the look) the tabs work normally.
Good to hear that the tabs are now working correctly. Sorry about the broken look, but once the xBootstrap folks fix the templates, everything should be OK. I guess, the templates were pointing to the old CSS/JS files.
Quote:
That still not working (perhaps a bug) is the date in my local format d/m/Y. As in previous versions of xoops I've made all changes in global.php file, but the publisher still "wants" (only when publishing an article) the date as m/d/Y. If the date given in this format then displayed as defined in global.php.
There were already few discussions about it - we don't recommend to use the slashes in European dates like this: "d/m/Y". PHP thinks that when there are slashes, it is a US/UK format, and reads the first number as month, and not as day. Please use "d-m-Y", as
recommended by Trabis 3 years agoQuote:
In case the choice of date made from (javascript) calendar then in the article shows in the position of the day the month and vice versa. If the value of the day is greater than 12 then as the article date displayed 01-Jan-1970.
I am not sure, I understand. Can you help me step by step what you do, how you use the JavaScript calendar, so I could replicate it.
Quote:
And one final question unrelated to the above. How can I change in my language the verbal of month that displayed in publisher articles.
Normally all local changes should be done in your local language files, for example in: \language\YOURLANGUAGE\calendar.php
if you look at Publisher's file:
\modules\publisher\archive.php
the Publisher pulls the month names from the "calendar.php" file by building the array: $months_arr