User customization

eXedit

Joined: 2006-02-03
Posts: 2
Posted: Fri, 2006-02-03 11:30

I am trying to add album customization where you can change backgound color/image och text color.

I guess that this needs to be done:
1. Add custom settings to the "Edit Album -> Theme" and make sure that they are saved.
2. Applying the custom settings at album generation time by adding a style html tag that overrides the default stylsheet.

Would it be possible to make a module that hooks the settings and album page to add the nessecary options?
Or maybe you can hack the themes to include these options?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-03 11:57

changing colors should be done with the colorpack module.

you can change the complete theme per album in
edit album -> album.

and theme settings in
edit album -> theme

topic moved to the module development forum.

 
eXedit

Joined: 2006-02-03
Posts: 2
Posted: Fri, 2006-02-03 23:11

That almost works but the users are supposed to be able to select what color they wish... making their own stylsheet.

 
James Blunt

Joined: 2006-01-29
Posts: 3
Posted: Sat, 2006-02-04 09:36
eXedit wrote:
That almost works but the users are supposed to be able to select what color they wish... making their own stylsheet.

That's also what i thought ;)