Xwiki Logo

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Xwiki Logo

tsuter
Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed?  I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky.  Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this?  I am new at CSS and
inevitably will break something if I go messing with the skins.

Peace be with all of you,
Tim Suter



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Xwiki Logo

Lichman, Mark Eugene
To modify the logo

- Make your new logo (the default logo size is 150x40)

- Drop the file into ../xwiki/skins/default

- modify the last line of style.css file to have your logo filename

To modify the background color of the heading bar (make it white say)

- in xwiki.css add the folowing line to the #banner
        background-color:#ffffff;

if you want to change the height of the top heading/banner/logo

- in xwiki.css modify #banner height for the desired pixel height

easiest way to ensure consistent display of the logo if you want to change the
logo size is

- modify the following line in header.vm

<img src="$logourl" alt="XWiki" width="150" height="40"/>

to have the proper width and height of your logo. Make sure that the height is
no bigger than the banner height in xwiki.css

- Mark Lichman

Note: if your logo width is smaller than the default, you will likely have a
tiled logo display unless you remove background doubling. Cheap way to solve
this for all browsers is to shrink the logo size in header.vm

-----Original Message-----
From: Tim Suter [mailto:[hidden email]]
Sent: Thursday, September 22, 2005 11:34 AM
To: [hidden email]
Subject: [xwiki-users] Xwiki Logo


Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed?  I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky.  Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this?  I am new at CSS and
inevitably will break something if I go messing with the skins.

Peace be with all of you,
Tim Suter




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xwiki Logo

kenk-3
In reply to this post by tsuter


> Can someone explain how to change the xwiki logo in the upper left
> corner of the pages so that all of them will be changed?

go to this page:

     http://<yourdomain.com>/xwiki/bin/view/XWiki/MySkin

and look at the attachments, you see the graphic.  And on 'Edit this skin' you'll see the style.css for logo and other things.  Maybe that border too, but I don't know css either.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xwiki Logo

kenk-3
In reply to this post by tsuter

sorry, my advice was based on the demo database only.

> http://<yourdomain.com>/xwiki/bin/view/XWiki/MySkin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Xwiki Logo

Lichman, Mark Eugene
In reply to this post by tsuter
Also, this file has some of the different interface items labeled

http://pause-java.com/xwiki/doc/doc-xwiki.jpg

Even if you don't know css, all that's needed to change the color at least is
the line background-colo: #(6 digit html color code, check the net to see color
codes)

- Mark Lichman

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Thursday, September 22, 2005 11:53 AM
To: [hidden email]
Subject: [xwiki-users] Re: Xwiki Logo




> Can someone explain how to change the xwiki logo in the upper left
> corner of the pages so that all of them will be changed?

go to this page:

     http://<yourdomain.com>/xwiki/bin/view/XWiki/MySkin

and look at the attachments, you see the graphic.  And on 'Edit this skin'
you'll see the style.css for logo and other things.  Maybe that border too, but
I don't know css either.





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

replicate sectional editing behavior

Lichman, Mark Eugene
In reply to this post by tsuter
I'd like to replicate sectional editing behavior. I think a possible way to do
this is:

1. create a parent page and include all child pages,
2. for each child include a link to the edit page
3. add a class at the bottom of the parent page to create a new section, maybe
automatically creating the link to the new sections edit page

Is this possible? Could someon help me figure out how to do this, i.e. how to
include all child page in a parent and create the necessaryv class.

Thanks Much,

- Mark Lichman



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: replicate sectional editing behavior

Lichman, Mark Eugene
In reply to this post by tsuter
Ok, I've gotten the first part (including all children in a page) with the
following:

#set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
#foreach($item in $xwiki.searchDocuments($sql))
#includeTopic($item)
#end

Not sure how to do the rest.

- Mark


-----Original Message-----
From: Lichman, Mark Eugene
Sent: Thursday, September 22, 2005 12:28 PM
To: [hidden email]
Subject: [xwiki-users] replicate sectional editing behavior


I'd like to replicate sectional editing behavior. I think a possible way to do
this is:

1. create a parent page and include all child pages,
2. for each child include a link to the edit page
3. add a class at the bottom of the parent page to create a new section, maybe
automatically creating the link to the new sections edit page

Is this possible? Could someon help me figure out how to do this, i.e. how to
include all child page in a parent and create the necessaryv class.

Thanks Much,

- Mark Lichman




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Xwiki Logo

Ludovic Dubost
In reply to this post by tsuter

One easy way to change the logo is attach a file called logo.jpg,
logo.gif or logo.png to the XWiki.XWikiPreferences page

http://yoursite/xwiki/bin/attach/XWiki/XWikiPreferences

For colors, you need to modify some styles in the Style field of your skin..

Ludovic

Tim Suter wrote:

> Can someone explain how to change the xwiki logo in the upper left
> corner of the pages so that all of them will be changed?  I also want to
> remove that gradient blue bar out of there so I can just put my company
> logo on it and not worry about it looking funky.  Is it really as
> difficult as the howto on the xwiki.org site suggests or has someone
> developed a quick and dirty howto on this?  I am new at CSS and
> inevitably will break something if I go messing with the skins.
>
> Peace be with all of you,
> Tim Suter
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: replicate sectional editing behavior

Ludovic Dubost
In reply to this post by Lichman, Mark Eugene
Lichman, Mark Eugene wrote:

> Ok, I've gotten the first part (including all children in a page) with the
> following:
>
> #set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
> #foreach($item in $xwiki.searchDocuments($sql))
> #includeTopic($item)
> #end
>
> Not sure how to do the rest.
>
>  
To add a link:

#set($sql = "where doc.parent = '$doc.fullName'")
#foreach($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
<a href="$itemdoc.getURL("edit")">edit this section</a>
#includeTopic($item)
#end

To add a form field to create a new section.. Another solution could be
to automatically name pages using a counter and use the parent page name..

<form action="">
<input type="hidden" name="parent" value="$doc.fullName" />
Add a section: <input type="text" name="name" value="new section name" />
<input type="button" value="Go"  
onclick='action="../../edit/${doc.web}/" + this.form.name.value;
this.form.submit();'  />
</form>

Ludovic

> - Mark
>
>
> -----Original Message-----
> From: Lichman, Mark Eugene
> Sent: Thursday, September 22, 2005 12:28 PM
> To: [hidden email]
> Subject: [xwiki-users] replicate sectional editing behavior
>
>
> I'd like to replicate sectional editing behavior. I think a possible way to do
> this is:
>
> 1. create a parent page and include all child pages,
> 2. for each child include a link to the edit page
> 3. add a class at the bottom of the parent page to create a new section, maybe
> automatically creating the link to the new sections edit page
>
> Is this possible? Could someon help me figure out how to do this, i.e. how to
> include all child page in a parent and create the necessaryv class.
>
> Thanks Much,
>
> - Mark Lichman
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: replicate sectional editing behavior

Lichman, Mark Eugene
In reply to this post by Lichman, Mark Eugene
Excellent, thanks!

Now, if there is just a way to add a toc, at least at the section level this
will be quite an acceptible work around.

- Mark

-----Original Message-----
From: Ludovic Dubost [mailto:[hidden email]]
Sent: Thursday, September 22, 2005 2:16 PM
To: [hidden email]
Subject: Re: [xwiki-users] replicate sectional editing behavior


Lichman, Mark Eugene wrote:

> Ok, I've gotten the first part (including all children in a page) with the
> following:
>
> #set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
> #foreach($item in $xwiki.searchDocuments($sql))
> #includeTopic($item)
> #end
>
> Not sure how to do the rest.
>
>  
To add a link:

#set($sql = "where doc.parent = '$doc.fullName'")
#foreach($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
<a href="$itemdoc.getURL("edit")">edit this section</a>
#includeTopic($item)
#end

To add a form field to create a new section.. Another solution could be
to automatically name pages using a counter and use the parent page name..

<form action="">
<input type="hidden" name="parent" value="$doc.fullName" />
Add a section: <input type="text" name="name" value="new section name" />
<input type="button" value="Go"  
onclick='action="../../edit/${doc.web}/" + this.form.name.value;
this.form.submit();'  />
</form>

Ludovic

> - Mark
>
>
> -----Original Message-----
> From: Lichman, Mark Eugene
> Sent: Thursday, September 22, 2005 12:28 PM
> To: [hidden email]
> Subject: [xwiki-users] replicate sectional editing behavior
>
>
> I'd like to replicate sectional editing behavior. I think a possible way to do
> this is:
>
> 1. create a parent page and include all child pages,
> 2. for each child include a link to the edit page
> 3. add a class at the bottom of the parent page to create a new section, maybe
> automatically creating the link to the new sections edit page
>
> Is this possible? Could someon help me figure out how to do this, i.e. how to
> include all child page in a parent and create the necessaryv class.
>
> Thanks Much,
>
> - Mark Lichman
>
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email]
mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  


--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws