From: Yaron K. <ya...@wi...> - 2012-06-08 03:58:54
|
Hi, I don't think that's more complicated - that's exactly what I was thinking of; the extra text in the workaround would be added to the #set_internal call contained in the template. If you wanted, you could probably write PHP code that did the right thing, though it might be complex... a simpler approach along those lines would be to have code that calls SMW's update functionality every time a page is saved - that way, the SMW update would be called twice every time, which I think would take care of the problem. -Yaron On Thu, Jun 7, 2012 at 4:42 PM, Piatt, Andrew W (Andy) <And...@pn...> wrote: > Yaron, thank you for your reply... Keith and I suspected as much, but hoped there might be a way. > > As far as your work-around suggestion, it gets a little more complicated... > > The SIOs are generated from a multi-instance template on a semantic form that creates the page, so each resulting wiki page may contain 0-n instances of the SIO. > > I could try it to find out, but do you think the addition of a hook function on the formsubmit event could give me a way to copy the page properties/values into each instance of the SIO? Hopefully eliminating the "save twice" issue? > > Thanks again, > > Andy > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |