Jump to content

Cerere Cod Admincp Si Moderatorcp In Sidebar


Go to solution Solved by gadeas,

Recommended Posts

  • Moderators
Posted (edited)

@Asa si asa, nici nu poti vedea linkurile alea, is ascunse pentru aia cu acces.

@Kennzo, terog nu mai posta daca nu dai solutia. Cand ceri tu ceva nu credca iti spune nimeni sa astepti dupa altcineva sa-ti deie raspunsu.

 

Si da, nu voi astepta pe Courage. In boardIndexTemplate unde ai codu cu acel sidebar, dupa:

<div class='_sbcollapsable'>
<center> 

Adauga:

<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
                    <if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
                        <ul style="width: 50%; text-align: right; float: left;">
                        <li>
                            <a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
                        </li>
                        </ul>
                    </if>
                <ul style="width: 50%; text-align: left; float: right;">
                    <li><a href="{parse url="app=core&amp;module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link_title']}'>{$this->lang->words['gbl_modcp_link']}</a></li>
                    <if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
                        <li class='active'>
                            <a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
                        </li>
                    </if>
                </ul>
            </if> 

Ala e codu care e folosit. Restu poti modifica cum vrei sa arate.

EDIT: Rezolvat codu.

Edited by gadeas
  • Upvote 3

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

  • Moderators
  • Solution
Posted

Poftim:

<if test="accessreports:|:$this->memberData['is_mod'] OR !empty($this->memberData['access_report_center']) || ($this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link'])">
                    <if test="showacplink:|:$this->memberData['g_access_cp'] AND !$this->settings['security_remove_acp_link']">
                        <ul style="display: inline-flex;">
                        <li style="text-align: right;">
                            <a style="color: #ff0000;" href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}' target="_blank">{$this->lang->words['login_to_acp']}</a>
                        </li>
                    </if>
<li style="padding: 0 10px;">|</li>
                    <li style="text-align: left;"><a style="color: #00C000;" href="{parse url="app=core&amp;module=modcp" base="public"}" title='{$this->lang->words['gbl_modcp_link_title']}'>{$this->lang->words['gbl_modcp_link']}</a></li>
                    <if test="rclink:|:$this->memberData['access_report_center'] && $this->memberData['_cache']['report_num'] > 0">
                        <li class='active'>
                            <a href="{parse url="app=core&amp;module=reports&amp;do=index" base="public"}" title='{$this->lang->words['view_reports']}'>{$this->memberData['_cache']['report_num']} {$this->lang->words['report_member_bar']}</a>
                        </li>
                    </if>
                </ul>
            </if>
  • Upvote 4

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

  • 2 weeks later...
  • Moderators
Posted

Esti sigur ca ai codul adaugat, cu sidebarul lateral in index?

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

  • Moderators
Posted

Nici nu stiu daca sti ce vrei sa faci. Dar primadata ar trebui sa te uiti peste:

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.