|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
change the picture
hi
i cannot find that, would you please describe that to me with more details p.s I am using bugzilla 2.22 <Chris.Fouts (AT) qimonda (DOT) comwrote in message @lists.mozilla.org It's the *.jpg file referred to in the file. Message >From: support-bugzilla-bounces (AT) lists (DOT) mozilla.org >[@lists.mozilla.org] Behalf Farid Hajian >Sent: Wednesday, August 16, 2006 3:48 AM >To: support-bugzilla (AT) lists (DOT) mozilla.org >Subject: change the picture > >hi > >can we change the bug picture of the first page in mozilla > > > >support-bugzilla mailing list >support-bugzilla (AT) lists (DOT) mozilla.org > >PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field >when you reply. support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#2
|
|||
|
|||
|
change the picture
Farid,
2006/8/17, Farid Hajian <fhajian (AT) gmail (DOT) com>: >can we change the bug picture of the first page in mozilla skins/standard/index.css refers to the picture used. The most elegant (and upgrade-safe) solution is to put CSS code into skins/custom/index.css to override this particular CSS setting. Look into skins/standard/index.css how to do it. Alternatively, you can modify skins/standard/index.css directly, or replace These last two options will give you trouble when upgrading Bugzilla next time, though. Kind regards Marc -- http://wurblzap.net/ Bugzilla hosting and professional support support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#3
|
|||
|
|||
|
change the picture
Thursday 17 Aug 2006 17:25, Marc Schumann wrote:
> skins/standard/index.css refers to the picture used. The most elegant (and upgrade-safe) solution is to put CSS code into skins/custom/index.css to override this particular CSS setting. Look into skins/standard/index.css how to do it. Alternatively, you can modify skins/standard/index.css directly, or replace These last two options will give you trouble when upgrading Bugzilla next time, though. If we are all talking about that (quite scary) photo of ant, then it is not in the css file the picture is mentioned in the template file: template/<lang>/default/index.html.tmpl (<langis "en" for me). Search for "ant.jpg" in the template file. support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#4
|
|||
|
|||
|
change the picture
Rekhesh,
2006/8/17, Rekhesh Mohan <reks (AT) iiap (DOT) res.in>: If we are all talking about that (quite scary) photo of ant, then it is not in the css file the picture is mentioned in the template file: template/<lang>/default/index.html.tmpl (<langis "en" for me). up to 2.18.x, you're right. Starting with 2.20.x, it's no longer in index.html.tmpl. Regards Marc -- http://wurblzap.net/ Bugzilla hosting and professional support support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#5
|
|||
|
|||
|
change the picture
Thursday 17 Aug 2006 18:03, Marc Schumann wrote:
Rekhesh, up to 2.18.x, you're right. Starting with 2.20.x, it's no longer in index.html.tmpl. ! Sorry I am using 2.20 and I saw it in my index.html.tmpl. Perhaps I would have modified the files myself. Best wishes support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#6
|
|||
|
|||
|
change the picture
So if you're using multiple instances in one source base
(new in 2.22) you have to hack things to get different pictures in each instance since skins are global to all instances. I thought CSS was for presentation and HTML for content. Seems to me that the picture is content and not presentation, and it belongs in the HTML. support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#7
|
|||
|
|||
|
change the picture
Jim,
2006/8/17, Jim Garrison <jhg (AT) athensgroup (DOT) com>: I thought CSS was for presentation and HTML for content. Seems to me that the picture is content and not presentation, and it belongs in the HTML. I didn't form an opinion of my own on this yet, but it seems the picture is currently considered presentation. By overriding skins/standard/index.css via skins/custom/index.css, you can customize presentation so that the picture is not displayed. Then, you can customize content by overriding via and put specific pictures somewhere. Kind regards Marc -- http://wurblzap.net/ Bugzilla hosting and professional support support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#8
|
|||
|
|||
|
change the picture
Marc Schumann wrote:
I didn't form an opinion of my own on this yet, but it seems the picture is currently considered presentation. By overriding skins/standard/index.css via skins/custom/index.css, you can customize presentation so that the picture is not displayed. Then, you can customize content by overriding via and put specific pictures somewhere. That's a good, concise workaround. I guess my gut tells me that if you're running multiple instances you're going to want a different picture for each instance, to differentiate them, and that makes it content. A more general solution would be to bring the skins under the multiple-instance paradigm, such that the skins could be customized per instance the way the HTML can be overridden. I filed bug 344293 on this issue a few weeks ago. support-bugzilla mailing list support-bugzilla (AT) lists (DOT) mozilla.org PLEASE put support-bugzilla (AT) lists (DOT) mozilla.org in the To: field when you reply. |
|
#9
|
|||
|
|||
|
In bugzilla 2.22 the picture can be changed:
picture of ant is bugzilla/skins/standard/index/front.png Put new picture here and edit bugzilla/skins/standard/index.css to point to new picture. Size of picture can also be set in file index.css. If you have multiple databases with a single installation, as described in chapter 2.4 of the Bugzilla Guide - 2.22 Release, and you want a different picture for each different database, follow the instructions as in chapter 2.4. Also create new template directory for new database by copying template/en/default to template/en/PROJECT as described in chapter. Then copy directory bugzilla/skins/standard/ to say bugzilla/skins/PROJECT/ to create a new skins directory for database PROJECT. Edit bugzilla/template/en/PROJECT/index.html.tmpl and change style_urls=['skins/standard/index.css'] to style_urls=['skins/PROJECT/index.css'] Change the picture as described above, do so for each database... Caspar |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Mozilla > change the picture |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|