Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Show Content Pane Labels #25

Closed
tpluscode opened this issue Jul 4, 2018 · 1 comment
Closed

Show Content Pane Labels #25

tpluscode opened this issue Jul 4, 2018 · 1 comment
Labels
Milestone

Comments

@tpluscode
Copy link
Contributor

Description

When in edit mode > hover over a module > there is a Move flyout menu with content panes listed to reposition the module on a page.

Admins need a way to easily identify the name of each content pane in order for this to be a usable feature.

@OllyHodgson
Copy link

OllyHodgson commented Jul 30, 2018

Recently I've worked around this by making sure all of my content panes have a data-name attribute the same as the ID, e.g. <div runat="server" id="Fullwidth_Central" data-name="Fullwidth_Central"> and used CSS to show that attribute:

.dnn-mode-edit .content-areas .dnnModuleManager::before {
    content: attr(data-name);
    display: inline-block;
    padding: 2px 3px;
    border-radius: 4px;
    position: absolute;
    z-index: 1;
    top: 12px;
    left: 12px;
    font-size: 11px;
    color: $white;
    background: rgba(0,0,0,0.3);
}

It shows up like this when editing the page (extra icons are because it's an Evoq install):

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants