Skip to main content
10 events
when toggle format what by license comment
Sep 25, 2016 at 20:33 comment added Shawn Conn @DarrenWhittenham-Gray, I updated the answer to a more explicit example that checks the request path for more specific overriding.
Sep 25, 2016 at 20:32 history edited Shawn Conn CC BY-SA 3.0
update answer to more explicit example
Sep 24, 2016 at 19:06 comment added Darren Whittenham-Gray Hi Shaun, as shown above, neither Custom Menu Permissions or your code have worked. Thank you for your help though.
Aug 5, 2016 at 22:44 comment added Shawn Conn Yes, altering system.api.php is known as "hacking core" and can cause problems with upgrading (see link). In the example, the MYMODULE_forum_override() function should be the only place you need to override the logic to show/hide the path (e.g. returning TRUE when request_path() matches your feed path).
Aug 4, 2016 at 1:11 comment added Shawn Conn Sure thing. Fill free to edit my answer with your actual solution if you go the module route.
Aug 4, 2016 at 0:56 comment added Darren Whittenham-Gray Ahh I see, sorry I was confusing myself between the level of drill down and how far I could take it. Thank you for your help I will seen what I can come up with.
Aug 4, 2016 at 0:52 comment added Shawn Conn That's a crude example to demonstrate the fix. If you want to fix the problem and keep your content protected, you'll need to build the details into your access callback (e.g. check the requested path matches forum/%forum_forum/rss.xml).
Aug 4, 2016 at 0:46 comment added Darren Whittenham-Gray Thank you for your answer Shawn, but I am confused. Reading the implementation makes it look like all elements of the forum path will be overriden - ie everything will be exposed, rather than just the rss feed ?
Aug 2, 2016 at 5:06 history edited Shawn Conn CC BY-SA 3.0
Typo
Aug 1, 2016 at 23:55 history answered Shawn Conn CC BY-SA 3.0