Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

favicon ?

Is it possible to add a favicon to ca site?

Don't know if this matters, but my CA is on a server on my lan, reverse-proxied by my public apache web server.

I tryed to add the lines

<link href="<?php print $this->request->getThemeUrlPath(); ?>/css/favicon.ico" rel="icon" type="image/x-icon" />
<link href="<?php print $this->request->getThemeUrlPath(); ?>/css/favicon.ico" rel="shortcut icon" type="image/x-icon" />

to themes/default/views/system/login_html.php, and login page now has the correct favicon, but all other pages do not... Should I add the new lines to all of my views???

Comments

  • You need to add it to themes/default/views/pageFormat/pageHeader.php as well. The login and logout views happen to be special self-contained views, with full HTML. Everything else uses pageHeader.php to generate the <head>
  • Thanks, it worked!
    Though I would expect I had do make the change to my theme's file ("themes/ks/views/pageFormat/pageHeader.php"), but I had to make it to "default" theme...
  • i tried to follow this answer from 2011 but it does not appear to be working - is there an updated way to put in a custom favicon?
  • Where are you putting your favicon file? This answer is for the old Pawtucket implementation. The path you use now is going to be different.

    You might want to try putting the favicon.ico file in the themes/<your theme name here>/assets/pawtucket/css directory of your installation and then put this in pageHeader.php:

    <link href="<?php print $this->request->getThemeUrlPath(); ?>/assets/pawtucket/css/favicon.ico" rel="icon" type="image/x-icon" />
Sign In or Register to comment.