How to show organizations logo into template

Hi there,

How can i access organization “http://local.overhang.io:8000/admin/organizations/organization” from mako template, so I can render all the logos on my homepage. Any idea?

Have a look at edx-organizations api.py. That should give you a starting point.

@ahsanhabib, the following SiteConfiguration variables can be used to change the header and footer logo images shown on the home page of the site.

  • logo_image_url: This accepts a path to the file that has to be shown as the header logo image.
  • FOOTER_ORGANIZATION_IMAGE: This accepts a path to the file that has to be shown as the footer logo image.

The limitation here is that the path should be relative to the root of the theme directory.

You can customize the header and footer templates in a theme and add some Python code to retrieve and show the organization logo image on the home page.