Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5148 Lượt xem

Hi everybody,

We're designed a module for each user has a specific color,

We want that when a user loggin, find his specific color (theme)

In our module we will add a function in javascript, but we don't how ?

Best regards.

Ảnh đại diện
Huỷ bỏ

you can call .css or something related. include in your js file. remember add js file to load in __openerp__.py

Câu trả lời hay nhất

Hello,

I would like to do the same thing. It is possible to know how to do that?

Thanks

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I recommend you perform such setting using PHP scripts, since you demand the user to login, hence his preferences etc would be saved to his profile.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 15
5818
2
thg 5 24
7262
0
thg 8 15
2706
0
thg 5 15
3200
1
thg 9 15
8806