;) That would be the standard solution. Not just for SMW, but for
MediaWiki in general. [[{{{foo|}}}]] doesn't disappear when empty, you
test if foo was given a value.
~Daniel Friesen (Dantman, Nadir-Seen-Fire)
~Profile/Portfolio: http://nadir-seen-fire.com
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--The ElectronicMe project (http://electronic-me.org)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
--Animepedia (http://anime.wikia.com)
--Narutopedia (http://naruto.wikia.com)
David Gómez wrote:
> 2008/10/23 Yaron Koren <[EMAIL PROTECTED]>:
>
>> Hi,
>>
>> 1) It's a feature, though I think a very bad one - SMW considers blank
>> values for properties invalid, and displays an error message. The only real
>> solution at the moment is to just disable those warnings, by adding
>> "smwgInlineErrors = false;" in your LocalSettings.php file, after the SMW
>> include.
>>
>
> Another solution:
> If you have ParserFunctions Extension you can check if the color is
> filled to set the property:
>
> {{#if:{{{Color|}}} | [[color::{{{color}}}]] }}
>
>
> greetings;
>
> - dvdgmz
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Semantic Forms" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/semantic-forms?hl=en
-~----------~----~----~----~------~----~------~--~---