liferay ide 创建主题 Custom Classic Theme with Liferay IDE
来源:互联网 发布:淘宝联想授权网店查询 编辑:程序博客网 时间:2024/05/22 06:45
转自:http://wamser.com/?p=59
Custom Classic Theme with Liferay IDE
I’ve seen a few post on the Liferay forums asking how to modify the classic theme for their own use. Here is, in my opinion, the easiest way to do that. I’m assuming you already have Liferay IDE downloaded, installed and working. In this tutorial I’m using IDE 1.5, based on the SDK for Liferay 6.1 CE.
1. Start Liferay IDE and create a new project.
2. Enter a Project name and select Theme as the plugin type.
3. In the package explorer you should see something similar to the following. Notice the directory _diffs under docroot folder. This is where you’ll place all your custom code.
4. I didn’t state this before, put you’ll need to also download the portal source. It’s locatedhere.
Once you have that downloaded and extracted, go to the following directory location.
liferay-portal-src-6.1.0-ce-ga1 -> portal-web -> docroot -> html -> themes -> classic -> _diffs
5. Drag and drop the css, images and js folders into the IDE on the _diffs directory.
6. You should have the following in the IDE. You can see that when you do this the IDE automatically creates the css, images, js, templates directory for you under the docroot folder.
7. In _diffs/css/custom.css delete the @import for both the green and orange css.
8. Also delete the color_schemes folders in the directory _diffs/css and _diffs/images. The classic theme contains 3 different colors. We’re just making ours one.
9. Deploy to the server and you should now have your new theme available.
- liferay ide 创建主题 Custom Classic Theme with Liferay IDE
- liferay ide创建主题,有时候就报错Exception in thread java.lang.StackOverflowError
- 4.如何在LifeRay 中创建新的主题 theme
- Liferay Portal中开发主题风格theme
- Liferay Portal中开发主题风格theme
- Liferay Portal中开发主题风格theme
- liferay学习3--liferay eclipse IDE下载及设置
- liferay ide的安装与使用
- Liferay IDE开发如何使用SVN
- 使用Liferay IDE 3.0创建支持Service Builder的portlet module
- Liferay Portal学习笔记(五):开发主题风格theme
- liferay主题(theme)中使用自定义的图片
- Liferay theme develop - $theme.getSetting()
- Liferay Portal 6学习笔记3:Liferay IDE的安装使用
- Liferay
- Liferay
- Liferay
- liferay
- C/C++字符串和数字互换方案收集★
- 适配器-Adapter
- javascript 小数类型格式化 --oFixed函数
- oracle最大连接数 汇总
- 三种快速排序以及快速排序的优化
- liferay ide 创建主题 Custom Classic Theme with Liferay IDE
- Android之Service案例-电话窃听
- No space left on device的原因
- Android-Sqlite数据库的分页显示。
- 指尖下的js ——多触式web前端开发之一:对于Touch的处理
- 设为首页代码和加入收藏代码-兼容各种浏览器
- Linux下nm和ldd 命令
- Hibernate对象的三种状态
- TWaver图形之道(七)TWaver开发流程