{{indexmenu_n>300}}
===== Recipes =====
FIXME translate / engl. images (knut)
Original: [[http://www.milkana.de/rezepte.phtml]]
Content Type: 26 [[:english/technics/internal-function-call/content-part-types|(have a look)]]
Docu: --
Forum: [[http://forum.phpwcms.org/viewtopic.php?p=112655#p112655]]
Download: {{:deutsch:phpwcms-system:artikel:contentparts:recipes01.zip|Komplettes Set: css, php, tmpl}}
**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:}**## .
{{ :deutsch:phpwcms-system:artikel:contentparts:fe_output.gif?350|Frontend:Ausgabe }}
{{ :deutsch:phpwcms-system:artikel:contentparts:fe_search.gif?350|Frontend:Suche }}
{{ :deutsch:phpwcms-system:artikel:contentparts:artikelstruktur.gif?350|Backend:Artikelstruktur }}
{{ :deutsch:phpwcms-system:artikel:contentparts:cp_recipe.gif?350|Backend: CP Rezepte }}
~~CLEARFLOAT~~
==== 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)//
replace with
\\
Another possibility is the installation of [[:deutsch:ersetzer_rts:frontend_render:standard_tags_assembled|{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)//
replace with