Re: [xwiki-users] preview logo
Hi Ricardo, Its picking the heading logo from the style sheet. Find the logo name and grep it in the style sheets. You will find it. Ravi. On 8/28/07, Ricardo Rodríguez <[email protected]> wrote:
Hi all,
Still working with 1.1-milestone-1.3476 here.
Please, while viewing a document where is the heading logo pick it up from? I've tried to change logo.png in the current skill and in albatross to no avail: I keep getting the XWiki logo.
Thanks!
--- Ricardo Rodriguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Ricardo, For changing logo you have to login as admin.Then click on the administration link at the top right corner of your xwiki poge. A new XWikiPreferences page will appear.Click on the skins tab-->edit skin -->write your file name at the form in front of logo available there ,also save that logo.png(or gif) to albatross skins folder. Thanks, Anuj Ravi Chintallapudi <[email protected]> wrote: Hi Ricardo, Its picking the heading logo from the style sheet. Find the logo name and grep it in the style sheets. You will find it. Ravi. On 8/28/07, Ricardo Rodríguez <[email protected]> wrote: Hi all, Still working with 1.1-milestone-1.3476 here. Please, while viewing a document where is the heading logo pick it up from? I've tried to change logo.png in the current skill and in albatross to no avail: I keep getting the XWiki logo. Thanks! --- Ricardo Rodriguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users ANUJ SHARMA. --------------------------------- Get the freedom to save as many mails as you wish. Click here to know how. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks all for your answers! I am afraid I have not well explained the issue and wasted your time :-( Sorry about that! By following the available documentation and previous entries in the lists I am able to control heading image and background by overwriting the default files or by creating new skins and modifying it. What I am not able to do is to use the same changed logo to include it in the preview available from the Print > Preview upper-menu's option. Please, see these the following samples: The logo is correctly changed in the xwiki heading... http://mire.environmentalchange.net/~webmaster/images/withEPEClogo.png But I get the default one while previewing the document... http://mire.environmentalchange.net/~webmaster/images/withXWikilogo.png I've taken a look to several *.vm macros but I am not able to figure out how the preview is generated yet. By the way, both PDF and RTF options end in an empty page. But this is another issue and I've parked it until I get an updated XWiki installation! Thanks!!! -- Ricardo Rodríguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Ricardo, The template involved in the "print mode" must be print.vm, and from what i see the display of the logo in this template is different from the one of the "normal mode", stored in the template global.vm. Which explains the difference when you are previewing before print. I guess you need to modify a bit the print.vm template, looking how global.vm template is working. Regards, Nicolas 2007/8/28, Your XEN ICT Team - Ricardo Rodriguez <[email protected]>:
Thanks all for your answers!
I am afraid I have not well explained the issue and wasted your time :-( Sorry about that!
By following the available documentation and previous entries in the lists I am able to control heading image and background by overwriting the default files or by creating new skins and modifying it.
What I am not able to do is to use the same changed logo to include it in the preview available from the Print > Preview upper-menu's option. Please, see these the following samples:
The logo is correctly changed in the xwiki heading...
http://mire.environmentalchange.net/~webmaster/images/withEPEClogo.png
But I get the default one while previewing the document...
http://mire.environmentalchange.net/~webmaster/images/withXWikilogo.png
I've taken a look to several *.vm macros but I am not able to figure out how the preview is generated yet.
By the way, both PDF and RTF options end in an empty page. But this is another issue and I've parked it until I get an updated XWiki installation!
Thanks!!!
-- Ricardo Rodríguez Your XEN ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Nicolas Réau wrote:
Hi Ricardo,
The template involved in the "print mode" must be print.vm, and from what i see the display of the logo in this template is different from the one of the "normal mode", stored in the template global.vm.
Which explains the difference when you are previewing before print.
I guess you need to modify a bit the print.vm template, looking how global.vm template is working.
Regards, Nicolas I am afraid I am still far from understanding how does the whole thing work! The point is that after opening/saving/closing some files (templates, XWikiPreferences,... now the expected logo appears. But I don't know why. I didn't know why it did not appear before. I didn't know why it appears now :-(
It seems like the "old" logo where "cached" somewhere. Well, the point is that it works now and by tackling the print.vm template I can adjust the logo display to the correct width and high. Thank you very much. Cheers, -- Ricardo Rodríguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Aug 29, 2007, at 1:33 AM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Nicolas Réau wrote:
Hi Ricardo,
The template involved in the "print mode" must be print.vm, and from what i see the display of the logo in this template is different from the one of the "normal mode", stored in the template global.vm.
Which explains the difference when you are previewing before print.
I guess you need to modify a bit the print.vm template, looking how global.vm template is working.
Regards, Nicolas I am afraid I am still far from understanding how does the whole thing work! The point is that after opening/saving/closing some files (templates, XWikiPreferences,... now the expected logo appears. But I don't know why. I didn't know why it did not appear before. I didn't know why it appears now :-(
It seems like the "old" logo where "cached" somewhere.
Well, caching is a feature of your browser so the image has probably been cached by it. -Vincent
Well, the point is that it works now and by tackling the print.vm template I can adjust the logo display to the correct width and high. Thank you very much.
Cheers,
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Vincent Massol wrote:
Well, caching is a feature of your browser so the image has probably been cached by it.
-Vincent
Yes, it is. But, why it only cached the heading image while Print > Preview a page and not while accessing this same page for reading/editing? This was the issue we have been struggling with :-( Nicolas must be right: there are differences between print.vm and global.vm affecting the display of this image. I am trying to understand how they works (it is my first approach to Velocity). Cheers, -- Ricardo Rodríguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Actually in edit/view mode, when using global.vm template, it's looking for the file which is called in the "logo" field of the skin page/form, whatever its name. While in print mode it is looking for a file "logo.something" attached to XWikiPreferences page, and if it doesn't exist, it's looking for a file " logo.png" in the skin folder. So in this mode it's not taking into account the logo file that is written in the logo field of the skin page, if the file is not called "logo". Nicolas 2007/8/29, Your XEN ICT Team - Ricardo Rodriguez <[email protected]>:
Vincent Massol wrote:
Well, caching is a feature of your browser so the image has probably been cached by it.
-Vincent
Yes, it is. But, why it only cached the heading image while Print > Preview a page and not while accessing this same page for reading/editing? This was the issue we have been struggling with :-(
Nicolas must be right: there are differences between print.vm and global.vm affecting the display of this image. I am trying to understand how they works (it is my first approach to Velocity).
Cheers,
-- Ricardo Rodríguez Your XEN ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Your XEN ICT Team - Ricardo Rodriguez wrote:
Vincent Massol wrote:
Well, caching is a feature of your browser so the image has probably been cached by it.
-Vincent
Yes, it is. But, why it only cached the heading image while Print > Preview a page and not while accessing this same page for reading/editing? This was the issue we have been struggling with :-(
Nicolas must be right: there are differences between print.vm and global.vm affecting the display of this image. I am trying to understand how they works (it is my first approach to Velocity).
Cheers, -- Ricardo Rodríguez Your XEN ICT Team
------------------------------------------------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
At least a part of the answer: as Vincent stated, it is a browser issue. The only browser in troubles now is Safari Beta 3.0.3(522.12.1). Look at this... http://mire.environmentalchange.net/~webmaster/images/BothBrowsersXWiki.png On a Mac OS X, Firefox and Camino do well. Safari 3.0.3 fails to show the right logo. I don't know why this only happens with the Print > Preview option. Could it be related with how templates print and globarl work? Thanks. Cheers, Ricardo -- Ricardo Rodríguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Nicolas Réau wrote:
Hi
Actually in edit/view mode, when using global.vm template, it's looking for the file which is called in the "logo" field of the skin page/form, whatever its name.
While in print mode it is looking for a file " logo.something" attached to XWikiPreferences page, and if it doesn't exist, it's looking for a file "logo.png" in the skin folder. So in this mode it's not taking into account the logo file that is written in the logo field of the skin page, if the file is not called "logo".
Nicolas 2007/8/29, Your XEN ICT Team - Ricardo Rodriguez <[email protected] <mailto:[email protected]>>:
Vincent Massol wrote:
Well, caching is a feature of your browser so the image has probably been cached by it.
-Vincent
Yes, it is. But, why it only cached the heading image while Print > Preview a page and not while accessing this same page for reading/editing? This was the issue we have been struggling with :-(
Nicolas must be right: there are differences between print.vm and global.vm affecting the display of this image. I am trying to understand how they works (it is my first approach to Velocity).
Cheers,
-- Ricardo Rodríguez Your XEN ICT Team
_______________________________________________ users mailing list [email protected] <mailto:[email protected]> http://lists.xwiki.org/mailman/listinfo/user <http://lists.xwiki.org/mailman/listinfo/users>
------------------------------------------------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
The point here is that I've replace the logo.png file in the skin folder and in albatross skin (the one I've based in my new skin) with the same image I'm using for the customized heading. Safari 3.0.3 keeps showing the former logo.png. Quite weird!!! There is no logo.png with this content in XWiki folders :-) Cheers, -- Ricardo Rodríguez Your XEN ICT Team _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
anuj sharma -
Nicolas Réau -
Ravi Chintallapudi -
Vincent Massol -
Your XEN ICT Team - Ricardo Rodriguez