Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favicon feature #199

Closed
dreispt opened this issue Aug 6, 2015 · 13 comments
Closed

Favicon feature #199

dreispt opened this issue Aug 6, 2015 · 13 comments
Assignees

Comments

@dreispt
Copy link
Member

dreispt commented Aug 6, 2015

It would be nice to be have a feature allowing to set the favicon for an Odoo instance or, if possible, depending on the active Company.

Can experts comment if this is feasible? Given some guidelines I could try a PR.

@hbrunn
Copy link
Member

hbrunn commented Aug 6, 2015

This should amount to a module that puts <link rel="shortcut icon" ... in the template website.layout. This could read the current (current as in the website's) company for the icon itself. But without multi website, you'll be stuck with the company your website isl inked to.

@hbrunn
Copy link
Member

hbrunn commented Aug 6, 2015

PS: I think this is an issue for https://github.com/OCA/website

@dreispt
Copy link
Member Author

dreispt commented Aug 6, 2015

My personal "pain point" is that my browser as tabs opened in multiple Odoo environments, and a different favicon per instance (or instance/company) would be very helpful.They may not have website enable, so this would be best as a web feature.

@nhomar
Copy link
Member

nhomar commented Aug 6, 2015

@hbrunn We did ii, at the end we will need 2 modules website_favicon and web_favicon let me port what we did for www.vauxoo.com which is already working (wired in our theme but I can extract it).

It is fairly simple.

@hbrunn
Copy link
Member

hbrunn commented Aug 6, 2015

ah, then you'll need to change it in two places anyways, one web_favicon and website_favicon that depends on this

@hbrunn
Copy link
Member

hbrunn commented Aug 6, 2015

@nhomar I wrote my stuff before I saw yours, exactly that

@nhomar
Copy link
Member

nhomar commented Aug 6, 2015

jejejeje yes....

@dreispt
Copy link
Member Author

dreispt commented Aug 6, 2015

So, I get to choose then... 😉

hbrunn added a commit to hbrunn/web that referenced this issue Nov 5, 2015
pedrobaeza pushed a commit to pedrobaeza/web that referenced this issue Apr 14, 2016
@lasley
Copy link
Contributor

lasley commented Apr 18, 2016

I just saw this new module, which fills a gap that currently had to be custom configured. I'll go ahead and upgrade this to v9, but I was wondering if the community had any interest in retina friendly favicons?

In order to accomplish this, we would just need a few additional image fields that provide the proper scaling - similar to products with image_small, _medium, etc.

Example of retina favicons:

<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144-precomposed.png">

<!-- For iPhone with high-resolution Retina display: -->

<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114-precomposed.png">

<!-- For first- and second-generation iPad: -->

<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72-precomposed.png">

<!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->

<link rel="apple-touch-icon-precomposed" href="apple-touch- icon-precomposed.png">

If this is something the community is interested in, I will add during the 9.0 conversion + back-port for this 8.0

@hbrunn
Copy link
Member

hbrunn commented Apr 18, 2016

that's what @pedrobaeza would have liked to have had in #252, but it didn't work out. I think your code will be welcome, even though I personally couldn't care less. But you should implement it in a way that the fancy stuff isn't mandatory.

This issue is done btw, so I'll close it. Forgot that on merge time.

@hbrunn hbrunn closed this as completed Apr 18, 2016
@pedrobaeza
Copy link
Member

Hi, @lasley, I have already migrated the module to v9. Please check #344. About retina display icons, please check the Known issues section, where I took into account that. In /static/src/img I have put image samples and HTML basic configuration also for all the possibilities.

@lasley
Copy link
Contributor

lasley commented Apr 18, 2016

Copy, thanks for the insight @hbrunn

Hooray I love it when work I am planning is already done! I'll check into your PR right now, thanks @pedrobaeza

@dreispt
Copy link
Member Author

dreispt commented Apr 19, 2016

@lasley that's what it's like to work in community 😉

hbrunn added a commit to hbrunn/web that referenced this issue Sep 20, 2016
thomaspaulb pushed a commit to thomaspaulb/web that referenced this issue Dec 5, 2016
misern2 pushed a commit to QubiQ/web that referenced this issue Nov 14, 2017
mstuttgart pushed a commit to multidadosti-erp/web that referenced this issue Mar 14, 2018
pedrobaeza pushed a commit to QubiQ/web that referenced this issue Mar 25, 2018
fmdl pushed a commit to fmdl/web that referenced this issue May 1, 2018
yaniaular pushed a commit to vauxoo-dev/web that referenced this issue May 14, 2018
yaniaular pushed a commit to vauxoo-dev/web that referenced this issue May 14, 2018
vrenaville pushed a commit to camptocamp/web that referenced this issue Jul 19, 2018
…-responsible

[IMP] Use first `responsible` instead of second BSMTS-305
tarteo pushed a commit to tarteo/web that referenced this issue Oct 2, 2018
pedrobaeza pushed a commit to tarteo/web that referenced this issue Oct 24, 2018
Kev-Roche pushed a commit to akretion/web that referenced this issue Jan 13, 2021
luisg123v pushed a commit to vauxoo-dev/web that referenced this issue Feb 16, 2021
dc-oerp pushed a commit to dc-oerp/OCA_web that referenced this issue Mar 14, 2024
drewes pushed a commit to agrista/odoo-web that referenced this issue May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants