Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • dhuelsmann Friend
    #198647

    This template doesn’t show the edit icon on articles in the front end when logged in as a super admin. I find code in templatesja_mendozitehtmlcom_contentfeatureddefault_item.php which one would think should work but it doesn’t.

    <?php if ($params->get('show_print_icon') || $params->get('show_email_icon') || $canEdit) : ?>
    <ul class="actions">
    <?php if ($params->get('show_print_icon')) : ?>
    <li class="print-icon">
    <?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
    </li>
    <?php endif; ?>
    <?php if ($params->get('show_email_icon')) : ?>
    <li class="email-icon">
    <?php echo JHtml::_('icon.email', $this->item, $params); ?>
    </li>
    <?php endif; ?>

    <?php if ($canEdit) : ?>
    <li class="edit-icon">
    <?php echo JHtml::_('icon.edit', $this->item, $params); ?>
    </li>
    <?php endif; ?>

    Yet, I can add this and then I do get an Edit

    <?php if ($canEdit) : ?>
    <class="edit"> <?php echo JHtml::_('icon.edit', $this->item, $params); ?>
    <?php endif; ?>

    Is the template just not ready for 3.3?

    Ninja Lead Moderator
    #538477

    So that I can take a look and try to assist, please provide the url of the site you’re working on

    dhuelsmann Friend
    #538935

    It is on localhost so no url to provide. Looks like it is failing the first if statement.

    Ninja Lead Moderator
    #539039

    <em>@dhuelsmann 432306 wrote:</em><blockquote>It is on localhost so no url to provide. Looks like it is failing the first if statement.</blockquote>

    Please try with steps below:

    Click the Global Configuration button in the Control Panel, or
    Select SystemGlobal Configuration from the drop-down menus.

    In Site setting tab, you will see the “Mouse-over edit icons for” option.
    Set it to “Modules and menus” if you want to have mouse-over edit icons for such items.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum