未加星标

Alfresco 5.2 Quick and Dirty Change icons

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Alfresco 5.2 Quick and Dirty Change icons
I am running an Alfresco community edition locally and I want to change some of the default icons. This is going to be a quick and dirty write up on how to change the icons.
First the easy one
Alfresco 5.2 Quick and Dirty Change icons
This icon Log into alfresco share as an admin
Alfresco 5.2 Quick and Dirty Change icons
Click on Admin Tools
Alfresco 5.2 Quick and Dirty Change icons
From Applications simply click on Upload, choose a new picture and click apply
Alfresco 5.2 Quick and Dirty Change icons
Done. Next the harder ones.
Login Page
Alfresco 5.2 Quick and Dirty Change icons
Replace this image. I installed my Alfresco from the simple binary installer. I places all my alfresco install at /10x13/apps/alfresco. But wherever you are go to your base of your tomcat. > cd webapps/share/themes/ lightTheme /images/
Alfresco 5.2 Quick and Dirty Change icons
This is the one we want to replace. It is 48x145 pixels. This is an svg file and so I had to take a png file and convert it to an svg file. I used this web site to do it. http://image.online-convert.com/convert-to-svg [1] I did not have much luck with converting my image. I went from this
Alfresco 5.2 Quick and Dirty Change icons
To this
Alfresco 5.2 Quick and Dirty Change icons
Now there are some reasons why SVG is a vector based graphic so its hard to convert to. If you can get a good looking svg file here is what you should do to swap in yours. I simply renamed it with a .BACK and put a new image in. Then copied my image in > sudo mv alfresco.svg alfresco.svg.BACK

> sudo cp ~/10x13_knowledge_48.svg alfresco.svg

> sudo chmod 744 alfresco.svg To get the changes to take effect you need to restart tomcat. Or in my case I just reboot the entire server. > sudo reboot The alternative is to tweak a css file First copy your file over. > cd tomcat/webapps/share/themes/lightTheme/images

> sudo cp ~/10x13_knowledge_48.png .

> sudo chmod 744 10x13_knowledge_48.png Go to this folder > cd webapps/share/themes/ lightTheme / And open the presentation.css file for editing > sudo vi presentation.css
Alfresco 5.2 Quick and Dirty Change icons
At about line 1477 replace the .svg file with your own image.
Alfresco 5.2 Quick and Dirty Change icons
Then reboot > sudo reboot
Alfresco 5.2 Quick and Dirty Change icons
Wahoo it worked. But, my image seems a little small to me so I am going to make a bigger version and see how it works. My larger image is 80 x 328 pixels. Aside from adding the image I also update presentation.css to the following .theme-company-logo { height: 80px ; width: 325px ; background: transparent url(images/ 10x13_knowledge_80.png ) 50% 0 no-repeat; background-size: 328px 80px; } After another reboot here is the results.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

分页:12
转载请注明
本文标题:Alfresco 5.2 Quick and Dirty Change icons
本站链接:http://www.codesec.net/view/530120.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(79)