#1188 - How to customize panel_top's
| Identifier | #1188 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | How to customize panel_top's |
| Status | Closed (rejected) |
| Handling member | Chris Graham |
| Addon | General / Uncategorised |
| Description | ^ |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
http://blog.arvixe.com/styling-drop-down-menus-in-Composr-part-1/
http://blog.arvixe.com/styling-drop-down-menus-in-Composr-part-2/
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)
(Click to enlarge)
(Click to enlarge)
(Click to enlarge)
(Click to enlarge)