There now were multiple questions towards skinning the Factbox. Unfortunately, 
there is no defined way how to make MediaWiki extensions skinnable. MediaWiki 
has its skins, but they won't create output for SMW and they cannot be 
extended by SMW either. So SMW has its own (fixed) code for making the 
output, and you would have to modify this to get it adjusted. In SMW0.7 (and 
in SVN) the code is now in SMW_Factbox.php, from where it is printed into the 
articles DIV. I am not sure how to properly support skinning in SMW, but I 
will keep it in mind.

-- Markus

On Tuesday 06 March 2007 11:22, S Page wrote:
> Andreas Bietenbeck wrote:
> > I've just installed SMW successfully - thanks it seems to be a really
> > great programm. Now I'm trying to configure it to fit my needs.
> > Especially I like to add a few things to the factbox at the end of each
> > article. Is there a way to do it?
>
> Did you see my reply to chozcunningham.com yesterday?
> http://www.mail-archive.com/semediawiki-user@lists.sourceforge.net/msg00209
>.html
>
> You might be able to use some DHTML tricks with innerHTML to insert text
> into the factbox...
>
> > Or can I turn the factbox off and create a template that has the same
> > functionallity?
>
> Yes you can turn the factbox off.
>
> It seems that you could make an inline query  template that asks for all
> relations and attributes of the current {{PAGENAME}}, but for what it's
> worth I can't do it.  I fiddled around at
> http://ontoworld.org/wiki/Test_Factbox
>
> You could link to the Special:SearchTriple page that can perform these
> searches.  From
> http://en.wikipedia.org/wiki/Wikipedia:Internal_query_string_links , if
> you use the Querylink template,
>
> {{Querylink|Special:SearchTriple|qs=subject={{NAMESPACE}}:{{PAGENAME}}&do=S
>earch+Relations|Show all relations}}
>
> {{Querylink|Special:SearchTriple|qs=subject={{NAMESPACE}}:{{PAGENAME}}&do=S
>earch+Attributes|Show all attributes}}
>
>
> Even if you could get these to work, the output of inline queries and
> Special:SearchTriple doesn't include the service links and the
> conversions to alternative units that some attributes display in the
> factbox.
>
> --
> =S Page
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Semediawiki-user mailing list
> Semediawiki-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user

-- 
Markus Krötzsch
Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe
[EMAIL PROTECTED]        phone +49 (0)721 608 7362
www.aifb.uni-karlsruhe.de/WBS/     fax +49 (0)721 693  717

Attachment: pgpKZV3kooUum.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to