Strict Standards: Declaration of action_plugin_dlcount::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/dlcount/action.php on line 14

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/indexmenu/action.php on line 169

Strict Standards: Declaration of action_plugin_ipban::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/ipban/action.php on line 67

Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/loglog/action.php on line 82

Strict Standards: Declaration of action_plugin_navi::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/navi/action.php on line 46

Strict Standards: Declaration of action_plugin_uparrow::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/uparrow/action.php on line 69

Strict Standards: Declaration of action_plugin_userspagecreate::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/userspagecreate/action.php on line 97

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /home/www/wiki/inc/cache.php on line 289

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/auth.php on line 312

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/actions.php on line 154
Recipes [phpwcms-HowTo:wiki]

Strict Standards: Declaration of syntax_plugin_code::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/code/syntax.php on line 41

Strict Standards: Declaration of syntax_plugin_tip::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/tip/syntax.php on line 38

Recipes

FIXME translate / engl. images (knut)

Original: http://www.milkana.de/rezepte.phtml

Content Type: 26 (have a look)

Docu: –

Forum: http://forum.phpwcms.org/viewtopic.php?p=112655#p112655

Download: Komplettes Set: css, php, tmpl (14.82 KiB, 44 downloads)

Condition:
Comment out or delete the old recipes.php in template/inc_script/frontend_render/
Search-template search01.html you will found in template/inc_cntpart/recipe/search/



With the help of this CPs it is quite simple to represent recipes.

Generally, please use one article per recipe, with the CP recipes. (Article list in one level).

The search is started with the tag {RECIPES:} within e.g. a HTML CP. The search process all existing CPs recipes in the system.

{RECIPES:LOCALE|…..} is a system-specific parameter for the run time environment. → Have a look for more exact informations: http://de.php.net/manual/de/function.setlocale.php

As a rule it is enough to use {RECIPES:} .

Frontend:Ausgabe

Frontend:Suche

Backend:Artikelstruktur

Backend: CP Rezepte

Installation:

The level on that the search form lies should prescriptions be called “rezepte”. If that is not the case, the file \template\inc_cntpart\recipe\search\search01.html must be changed.

Assumption: The looking for category (where the form at home is), is called rezepte-suchen)

- Then please all (there is 2 pieces in line 48 and line 62)

<input name="rezepte" value="" type="hidden">

replace with

<input name="rezepte-suchen" value="" type="hidden">


Another possibility is the installation of {ARTICLE[[TITLE][ID][ALIAS] ]} {CATEGORY[[ID][ALIAS] ]} (Is contained in the package).
With the help of the available tag {CATEGORY_ALIAS} the correct level name autom. was registered into the form.

Then please all (2x line 48 and line 62)

<!--   <input name="{CATEGORY_ALIAS}" value="" type="hidden"> //-->
   <input name="rezepte" value="" type="hidden">

replace with

<input name="{CATEGORY_ALIAS}" value="" type="hidden">
<!--   <input name="rezepte" value="" type="hidden"> //-->
english/phpwcms-system/article/contentparts/recipes.txt · Last modified: 2012/04/10 20:43 by Knut Heermann (flip-flop)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 79