You need to be logged in to view a user's profile.
  1. FishEagle
  2. JEvents 3.4 (Free Access)
  3. Thursday, 16 November 2017
Hi All,

I need help with redirecting/blocking the .../eventsbyyear/... url/directory.

I want to prevent the view/crawl of "Events by Year", thus .../eventsbyyear/2016... .../eventsbyyear/2017... .../eventsbyyear/2018... etc. needs to be blocked or redirected back to the main monthly calendar view (url). Simply put, I don't want to view events using "year", only using month (by default), day and week.

It seems I can get it to work with 301 redirect in the .htaccess file, but is it maybe possible to make use of the com_jevents/views/geraint//year/view.thml.php (or similar) file? Might be more accurate/effective to do it this way?

Hope you understand my question.

Thanks!
Accepted Answer
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

You would then create a template override and just remove the code with the override in place nothing would be output. You could look into a php redirect incase someone genuinely managed to get there.

Please see:https://www.jevents.net/frequently-asked-questions/customising-layouts

Many thanks
Tony
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!


Sorry, you are not authorised to view this forums replies. Only users with a valid subscription that is applicable to this forum may view them.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.