View Issue Details

IDProjectCategoryView StatusLast Update
0001188Composr documentation[All Projects] General / Uncategorisedpublic2015-09-26 19:27
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status closedResolutionwon't fix 
Summary0001188: How to customize panel_top's
Description^
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2014-12-02 17:20

administrator   ~0002357

Somewhat covered in this, but doesn't really get into panels...

http://blog.arvixe.com/styling-drop-down-menus-in-Composr-part-1/
http://blog.arvixe.com/styling-drop-down-menus-in-Composr-part-2/

anoops

2015-07-30 05:37

reporter   ~0003026

Last edited: 2015-07-31 06:38

View 2 revisions

User can make changes to the “panel_top” of a theme using Composr. You need to go to the CMS Zone, then Pages (Comcode pages) and select “panel_top” page from the list to customize it.

For example:
(image_001.png)

Press the “Edit” button. Then, you can write anything in the editor which needs to be displayed on the “panel_top”. We can also include comcodes in the text content.

For example:

It is currently {$TIME}.{+START,IF,{$NOT,{$IS_GUEST}}} You are logged in as {$USERNAME}.{+END}

(image_002.png)

Example explained:
-----------------------------------

{$TIME} is a pre-defined comcode which is used to display the current time.
It checks whether the user is a guest (not logged in) or a member (logged in) using the comcode {$IS_GUEST}. And it displays the message “You are logged in as {$USERNAME}” only when the user is a member of the site. The comcode {$USERNAME} is used to fetch the username of the user.

The user can watch the preview before saving the changes by pressing the “Preview” button in the bottom of the page. Preview of the given example is shown below:

(image_003.png)

Save the changes by pressing the “Save” button. Those changes will be applied to the site. User can see the changes in website's home page.

(image_004.png)

anoops

2015-07-31 06:36

reporter  

image_001.png (89,030 bytes)
image_001.png (89,030 bytes)

anoops

2015-07-31 06:36

reporter  

image_002.png (78,967 bytes)
image_002.png (78,967 bytes)

anoops

2015-07-31 06:37

reporter  

image_003.png (15,212 bytes)
image_003.png (15,212 bytes)

anoops

2015-07-31 06:37

reporter  

image_004.png (29,295 bytes)
image_004.png (29,295 bytes)

Chris Graham

2015-09-26 19:27

administrator   ~0003102

Haven't used this, as it is just repeating core concepts. However I have taken it as a cue that the structure tutorial should go into much more detail as to what exact panels may exist, what the defaults do, etc. Also the guest detection example is now used in the Tempcode programming tutorial.

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised