En:How can I display additional information on a page in edit mode?

From phpCMS

Jump to: navigation, search

Question:

How can I automatically disply additional information on a page when it is switched to edit mode (for example instructions for the person who is doing the edit)?

Answer:

One possibility would be to include a special subtemplate in the page's template with the command:

{EDITLINE FILE="filename.tpl"}

That's similar to the command:

{TEMPLATE FILE="filename.tpl"}

with the only difference that the subtemplate included via {EDITLINE} is only active while phpCMS is in edit mode.

Based on an answer by Ignatius in the phpCMS support forum.

Diese Seite in anderen Sprachen: Deutsch

Main Page: FAQ MainPage | Top Page: English FAQ MainPage

Personal tools