Comments (13)
@lasley that's what it's like to work in community 😉
from web.
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.
from web.
PS: I think this is an issue for https://github.com/OCA/website
from web.
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.
from web.
@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.
from web.
ah, then you'll need to change it in two places anyways, one web_favicon
and website_favicon
that depends on this
from web.
@nhomar I wrote my stuff before I saw yours, exactly that
from web.
jejejeje yes....
from web.
So, I get to choose then... 😉
from web.
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
from web.
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.
from web.
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.
from web.
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
from web.
Related Issues (20)
- web_group_expand HOT 2
- Not working in Odoo 15 Enterprise HOT 2
- Save button in ListView.buttons edit mode doesn't save records when pressing on span or icon HOT 3
- web_widget_x2many_2d_matrix - Domain is not taken into account HOT 5
- [16.0] web_m2x_options: web_m2x_options.limit not working HOT 1
- web_widget_bokeh_chart: dependency requires Python 3.8 HOT 2
- [14.0] barcode print problem with auto-installed Pillow-9.5.0 when install bokeh==2.3.1 and mpld3 in requirements.txt
- Migration from 15.0 to 16.0 m2x_options
- Odoo 16: Dark Mode Permission Issues for Non-Admin Users HOT 4
- Reset search AND
- [16.0] Clickeverywhere functionality regressed HOT 1
- [16.0] web_chatter_position: Traceback - incompatible with mass_mailing Module
- [16.0] web_advanced_search: Uncaught Javascript Error > FIELD_OPERATORS[genericType] is undefined HOT 5
- web_responsive Odoo online error 500 after install HOT 2
- [16.0] web_timeline: Create record: Cannot SAVE & CLOSE HOT 1
- [14.0] web_notify_channel_message raising exception for non admin users HOT 2
- Plotly autosize=True in update_layout s not working
- [15.0] web_advanced_search: values in code editor not propagated HOT 4
- Web Dialog Size - unexpected closing during export data HOT 1
- [16.0] web_widget_x2many_2d_matrix: not showing all columns HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web.