Support » Plugin: The Events Calendar Category Colors » Clicking on event category lead to 404 page

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Andy Fragen

    (@afragen)

    @aallbbyy, thanks for the bug report. At this time I don’t have language translation incorporated into the plugin. I see that this will be necessary. When I get a fix look for the update.

    In the meantime, you can hardcode the categoria in line 8 of the /views/legend.php of the plugin. That should fix your 404s until a proper translation is done.

    Plugin Author Andy Fragen

    (@afragen)

    BTW, try out the Legend Superpowers of the new version. Instead of going to a category calendar it highlights the selected category.

    Dear Andy,
    thanks for the fast answer!

    I’ve tried to activate the superpowers but it does not seem to work, I don’t know what could be the error here.

    I have modified the legend.php file. So when clicking on the legend, it leads me correctly to the category calendar BUT whatever the language used, it leads to the spanish (default) category calendar.
    It actually loose the /[language]/ that is after the root url.

    And still, when on an event page AND whith a different language than default, clicking on the category or clicking on the venue will lead to a 404. Same thing on the calendar page when clicking on event list. But it may be the event calendar pluggin involved, not yours.

    Is there any possibility to desactivate the links to category calendar as I don’t really need it (or to make the superpowers working).

    Thanks again for your support, I will also report the langauge issue to the moderntribe guys.

    Plugin Author Andy Fragen

    (@afragen)

    @websitebakery – In looking at the source, legend-superpowers.js seems to be loaded but it’s not active. Curious. Any ideas?

    @aallbbyy – If you deactivate this plugin and the links still give you a 404 then report it on the other forum, otherwise we would have to assume it’s a problem with this plugin. When the Legend Superpowers is working the links won’t matter. The language issue for the links in the Legend are an issue with this plugin. I’m working on it. 😉

    Plugin Author Andy Fragen

    (@afragen)

    @aallbbyy – could you try disabling all other plugins except those involved with The Events Calendar and then see if the Legend Superpowers is works?

    Thanks.

    Plugin Author Andy Fragen

    (@afragen)

    @aallbbyy – I think you’ll need to reinstall this plugin as it appears that you might have accidently changed something in legend.php that is causing a problem. This is what I see from looking at your source.

    Plugin Author Andy Fragen

    (@afragen)

    @aallbbyy can you replace line 8 in /views/legend.php with the following line.

    <a href="<?php esc_attr_e($tec->getLink().trailingslashit(sanitize_title(__( 'category', 'tribe-events-calendar' ))).$teccc->slugs[$i]) ?>">

    Let me know if that works for your translation issues.

    BTW, don’t worry about reinstalling the plugin. I think I was reading something in the code incorrectly.

    Dear Andy,

    Thank you very much for your your support:
    Regarding the last code line you gave me, not much differences than forcing “categoria” in line 8 (actually I had to change to “categoria” also in the last code line you gave me).
    So, no more 404 but reseting the choosen language to default (if I am in english, then I turn back to spanish) because it looses the /es/, /fr/ or /en/ that is behing the root url.

    BTW, I discovered that the the “correct” url writting does not depend of the default language as I initially thought, but of the language of my administration panel. If my Admin Panel is in spanish, the I should write /categoria/, if in english /category/, and if in french /categorie/.

    Is there anyway to desactivate the links to the categories calendar as I really don’t need them? ANd superpowers don’t seems to work (I try to desactivate the useless pluggin I have but nothing happens)

    Thanks

    Plugin Author Andy Fragen

    (@afragen)

    The last code change should give the correct language change for ‘category’ to the appropriately select language without having to hard code it.

    I would suggest posting on the other forum regarding category links in foreign language giving a 404. This can be seen when clicking on the category link in any individual event.

    I still have to see why superpowers doesn’t work for you. Does it work if you set the language to English?

    English is set!

    Dear Andy,
    Superpowers are functionning !
    At least in IE. I mainly use Firefox, and it doesn’t seems to work on it.
    I already post a message regarding traduction issue on the moderntribe support page but no answer for the moment…
    I’ll let you know.
    Thanks a lot for you great support

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Clicking on event category lead to 404 page’ is closed to new replies.