Hi Ed,
I'm glad you like the software! No, you have to create the pages first. But
speaking of extensions I created, you can use the Data Transfer extension
to import a CSV file (which you can create with a spreadsheet) that holds
all the data, which then results in a separate page created for each row:
-Yaron
On Tue, Nov 10, 2015 at 12:47 AM, Ed <edward.hoo(a)gmail.com> wrote:
Hi Yaron,
Great. I'm starting to get the hang of it. I think I have the elements to
put together a good POC.
Is there a way to load data in the cargo tables and then use the form
definitions to generate the corresponding pages. That seems a lot simpler
than the alternative: generating pages using some sort of a script and then
using cargoRecreateData.php
BTW, I just realized that you wrote the dam thing!! Thank you so much
-Ed
On Mon, Nov 9, 2015 at 8:57 PM, Yaron Koren <yaron(a)wikiworks.com> wrote:
Hi Ed,
I would recommend creating a third template, maybe called "recipe
ingredients" (since "ingredients" is already taken), which would appear
multiple times on a "smoothies" page. The "smoothies" template would
contain the main information, and then each call to "recipe ingredients"
would define a single ingredient and its quantity, etc. See here for how
to
do this in Semantic Forms:
https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Mult…
-Yaron
On Mon, Nov 9, 2015 at 6:09 PM, Ed <edward.hoo(a)gmail.com> wrote:
Hi everyone,
Thanks for the previous help! I have yet another question if you allow
me
:-)
Say I have 2 cargo tables/templates. One is "ingredients" and the other
is
> "smoothies". How can I create a template for "smoothies" that
allows
me
to
> bring in "ingredients" and a few properties (10-20 fields) that only
make
> sense for that association. For example how
much of each ingredient
for a
> particular smoothie recipe?
>
> The number of smoothies and the number of ingredients are not
predefined.
Thanks!!
-Ed
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
--
WikiWorks · MediaWiki Consulting ·
http://wikiworks.com
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l