From 4b25761217b1f707a712d42a4d2ef77fb75484f6 Mon Sep 17 00:00:00 2001 From: "http://xlogon.net/bacuh" Date: Mon, 5 Sep 2011 09:48:30 -0400 Subject: [PATCH] --- doc/forum/field__95__tags_not_linking.mdwn | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 doc/forum/field__95__tags_not_linking.mdwn diff --git a/doc/forum/field__95__tags_not_linking.mdwn b/doc/forum/field__95__tags_not_linking.mdwn new file mode 100644 index 000000000..0b91e58f3 --- /dev/null +++ b/doc/forum/field__95__tags_not_linking.mdwn @@ -0,0 +1,66 @@ +Hey There. + +I'm using the [[plugins/contrib/field]] plugin together with [[plugins/contrib/ftemplate/ikiwiki/directive/ftemplate]] and [[plugins/contrib/ymlfront]]. Everything looks good, but there are no links created as defined in field_tags. I hope it's just a mistake by me and someone can help me. + +All three plugins are activated and ikiwiki's setup file reads + + # field plugin + # simple registration + field_register => [qw{meta}], + + # allow the config to be queried as a field + field_allow_config => 1, + + # flag certain fields as "tags" + field_tags => { + Autor => '/users', + Rubrik => '/rubriken', + Themen => '/themen', + BuchTitel => 'rezensionen/titel', + BuchAutor => '/rezensionen/autoren', + Verlag => 'rezensionen/verlage', + }, + +I use this template to ask the users for the fields: + + --- + Autor: + BuchTitel: + BuchUntertitel: + BuchAutor: + Verlag: + ISBN: + Seiten: + Preis: + Rubrik: Rezensionen + Themen: + - (Anti-)Repression + - Aktion + - ... + --- + [[!ftemplate id="rezi"]] + +And this one tells what to do with them: + + \[[!meta author=""]] + \[[!meta title=": "]] + + + :
+ ****
+ -
+ *rezensiert von *

+ * Verlag:
+ * ISBN:
+ * Seiten:
+ * Preis:

+ Rubrik:
+ Themen: + + , + +
+ + # just for testing if infobox is the problem + +Do I have to register another plugin with field or what is wrong here? -- 2.26.2