Differences

This shows you the differences between two versions of the page.

english:phpwcms-system:article:contentparts:frontend-login [2012/01/18 09:04]
Knut Heermann (flip-flop)
english:phpwcms-system:article:contentparts:frontend-login [2018/06/03 18:09] (current)
Line 74: Line 74:
<file> <file>
$phpwcms['SESSION_FEinit']    = 1; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend $phpwcms['SESSION_FEinit']    = 1; // set 1 to enable sessions in frontend, 0 to disable sessions in frontend
 +$phpwcms['allow_cntPHP_rt']   = 1; //allow PHP replacement tags and includes in content parts
</file> </file>
\\ \\
 +
===== Creating FE-Users: ===== ===== Creating FE-Users: =====
Line 133: Line 135:
<note important> <note important>
-Please place the CP frontend login into a **non hidden** area, or you can get this CP with theTAG %%{SHOW_CONTENT:...}%% or "Contetpart Alias​​" from the hidden area. \\+Please place the CP frontend login into a **non hidden** area, or you can get this CP with the TAG %%{SHOW_CONTENT:...}%% or "Contetpart Alias​​" from the hidden area. \\
(Second method used here //%%{SHOW_CONTENT:...}%%//). (Second method used here //%%{SHOW_CONTENT:...}%%//).
</note> </note>
Line 139: Line 141:
In the picture **Site structure** You also see a hidden area %%"--- hidden"%%, which does not appear in the FE in the navigation. //(Please distinguish between protection and access to "hide in the NAVI")//. In the picture **Site structure** You also see a hidden area %%"--- hidden"%%, which does not appear in the FE in the navigation. //(Please distinguish between protection and access to "hide in the NAVI")//.
-In this section articles and CPs are stored,  which system internally or by example by a tag like wie %%{SHOW_CONTENT:...}%% be used.+In this section articles and CPs are stored,  which be used system internally or by example be used selectively by a TAG like %%{SHOW_CONTENT:...}%% .
  * Please create a hidden area //(The name must not be %%"--- hidden"%%)//.   * Please create a hidden area //(The name must not be %%"--- hidden"%%)//.
Line 572: Line 574:
\\ \\
 +== Example for a template ==
 +
 +<code html>
 +<!--LOGGED_OUT_START//-->
 +<a href="index.php?customer-information">Customer Information</a>
 +<!--LOGGED_OUT_END//-->
 +<!--LOGGED_IN_START//-->
 +<a href="{URL}"{URL_TARGET}>[URL_TEXT]{URL_TEXT}[/URL_TEXT][URL_TEXT_ELSE]more...[/URL_TEXT_ELSE]</a>
 +<!--LOGGED_IN_END//-->
 +</code>
==== The user is logged in? ==== ==== The user is logged in? ====
english/phpwcms-system/article/contentparts/frontend-login.1326873856.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
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