PSUEducationalEquity / plonetheme.eeq

Plone Diazo theme for Penn State Educational Equity website
0 stars 0 forks source link

Footer: 3 pts #8

Open skleinfeldt opened 3 years ago

skleinfeldt commented 3 years ago

As a user I can see a themed footer throughout the site, which is based on the site's footer portlets. As an editor I can change the content of the footer by editing the footer portlets. The bottom-most footer information (logo, Site Map, Accessibility etc.) can be hardcoded in the theme. Copyright year should be updated automatically.

alecpm commented 3 years ago

Similar to the header, this needs a couple more things:

silviot commented 3 years ago

The footer portlet titles should probably come from the portlets, if possible, rather than being hardcoded.

Is it really worth it? In case the title of the portles are changed, they will no longer show up in the footer, since the rules locate the portlets one by one using a class derived from their name. Or maybe I'm missing something.

silviot commented 3 years ago

@alecpm I pushed fixes to these issues to #41 together with the header fixes, since I needed portal_url.

I'm not sure about the problem with the color of the footer links. For me they are always white.

alecpm commented 3 years ago

@silviot I should have updated my comment, at some point the links all went white for me so I must have had some temporary issue with my local theme install.

You're probably right that allowing TTW portlet header customization is probably not worthwhile in the first go at this given the selection process. I would have been inclined to select and place the the first 5 portlets in the manager rather than trying to look up specific portlets by class/id. This approach is fine though.

silviot commented 3 years ago

The links that use portal_url are not working properly: Site Map, Accessibility and Contact do not include the /web part on https://beta.equity.psu.edu/web

Also the login/logout button is not working.

paulrentschler commented 3 years ago

@silviot I had to switch to another theme and then back to this theme in the Theming control panel and now the portal_url stuff is working as is the login/logout button.

silviot commented 3 years ago

@paulrentschler great! Now that you mention it, I remembered I needed to do the same locally to make it work, but then I forgot to document this necessary step. Thanks for finding the issue!

alecpm commented 3 years ago

Yes, we need to be careful about deploying code with changes to the variables in manifest.cfg. It should be possible to make a registry (?) upgrade step for such changes.