Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Lari Tuominen
Customizing SO look and feel?
October 16, 2009 2:24 AM
Answer

Lari Tuominen

Rank: Expert

Posts: 283

Join Date: November 7, 2007

Recent Posts

Hi all,

Is there a nice way to customize social office look and feel?

Obviously one can modify(?) so-theme but I couldn't find a way to select different theme for my site.

I'm asking this because most of our clients have requested a possibility to make look and feel in line with web pages and other marketing stuff...


- Lari
Ryan Park
RE: Customizing SO look and feel?
October 16, 2009 9:49 AM
Answer

Ryan Park

LIFERAY STAFF

Rank: Regular Member

Posts: 104

Join Date: August 27, 2007

Recent Posts

Hi Lari,

Unfortunately, changing so-theme is the only way to do it. We locked down the ability to deploy a theme because the majority of (most likely all) of the portal themes would be incompatible with the way we do a few things in SO.
Tarun S. Kayasth
RE: Customizing SO look and feel?
October 16, 2009 11:17 AM
Answer

Tarun S. Kayasth

Rank: Regular Member

Posts: 160

Join Date: June 8, 2007

Recent Posts

Ryan,

Are we planning to have different themes in a deploy-able way in our further releases?
any Idea on that?

Because we need to have some other alternative for theme creation.

Thanks,

Tarun Kayasth
Lari Tuominen
RE: Customizing SO look and feel?
October 18, 2009 3:25 PM
Answer

Lari Tuominen

Rank: Expert

Posts: 283

Join Date: November 7, 2007

Recent Posts

Thanks for the answer Ryan!

Do you have any idea on how much so-theme will change in the future? Basically the question is that if I make some modifications to the currrent theme, will I be forced to make the same modifications again after so version update?

- Lari
Marco Bolzan
RE: Customizing SO look and feel?
October 21, 2009 1:11 AM
Answer

Marco Bolzan

Rank: Junior Member

Posts: 47

Join Date: September 3, 2009

Recent Posts

Hi,

I throw a propose to around theme problem:

edit only /so-theme/templates/portal_normal.vm to include cascading others custom css after istruction "$theme.include($top_head_include)"; for example to switch including others css, could be variables define in init_custom.vm (where there are no big problem of override from future release of SO).

I know this is not a new theme, but only some different css version, but for most clients change colors and some behaviuors (float, width, margins, etc..) is enough.

What do you think about this workaround ?

Bolzan
Lari Tuominen
RE: Customizing SO look and feel?
October 22, 2009 1:47 PM
Answer

Lari Tuominen

Rank: Expert

Posts: 283

Join Date: November 7, 2007

Recent Posts

Thanks for the good point Marco!

Unfortunately changing css is often not enough but addition of different html elements and velocity variables is needed as well (or at least have been in multiple themes, I've written during the past years). Sometimes after the version update I've seen that vm files have also changed quite a bit and thus I'm somewhat unwilling to make these changes before I know what will happen with the theme in the future.....

- Lari
Ryan Park
RE: Customizing SO look and feel?
November 11, 2009 4:49 PM
Answer

Ryan Park

LIFERAY STAFF

Rank: Regular Member

Posts: 104

Join Date: August 27, 2007

Recent Posts

Thanks for the answer Ryan!

Do you have any idea on how much so-theme will change in the future? Basically the question is that if I make some modifications to the currrent theme, will I be forced to make the same modifications again after so version update?

- Lari


I don't believe there will be many modifications with this current version. My suggestion for now would be to add another "include" line in the main.css at the very end and keep your changes there. I think this will make maintainability easier for you until we find a permanent solution for theming Social Office.