Users in the Topbar move to the Topbar dropdown menu (Facebook Like Theme)

Tomcat Whalter Posted in Theme Development 7 months ago

Moved the user from the topbar to the topbar drop down menu via the Facebook Theme ...

themes/facebook/plugins/default/menus/topbar_dropdown.php add :

echo "<li><a href=".ossn_loggedin_user()->profileURL().">".ossn_loggedin_user()->fullname."</a>";

themes/facebook/plugins/default/theme/page/elements/topbar.php remove :

        <div class="col-md-4">
                <div class="topbar-userdata">
                    <img src="<?php echo ossn_loggedin_user()->iconURL()->smaller;?>" />
                    <span class="name"><?php echo ossn_loggedin_user()->fullname;?></span>
                    <span class="homelink"><a href="<?php echo ossn_site_url();?>home"><?php echo ossn_print('home');?></a></span>

for full sitename and remove link edit :

            <a class="sitename" href="<?php echo ossn_site_url();?>"><?php $name = ossn_site_settings('site_name'); echo $name[0];?></a>

to :

            <div class="sitename"><?php $name = ossn_site_settings('site_name'); echo $name;?></div>  

edit :

        <div class="col-md-3 text-right right-side">

to :

        <div class="col-md-7 text-right right-side">

enter image description here