Active
Project:
OpenScholar
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 00:32 UTC
Updated:
18 Feb 2012 at 20:25 UTC
I would like to add a linked RSS icon to the footer of scholar sites. I know that the URL to an RSS feed will be:
example.com/professorname/feed
However, I'm unsure of how to programmatically get the URL to the scholar site so I can build the link and insert it into the page.tpl.php. Is there a recommended method for this?
Comments
Comment #1
freescholar commentedIf you want this on the footer of all scholar sites, create a block with the rss link etc then from the Admin menu, look at
Site Building > Context and add that block under the section titled:
openscholar-section-sitewide_front
openscholar front context
and it should appear in the Scholar sites and not on the main sitewide pages.