Jump to content


Header and link bar


  • You cannot reply to this topic
2 replies to this topic

#1 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 07 September 2004 - 12:55 PM

How to center header logo:

If you are using your forum skin for MKPortal...

FIND:
in function get_logo() {

/mkportal/templates/Forum_Skin/tpl_main.php said:

return <<
   
       
   
left" id="logostrip">
            siteurl/index.php">
       

EOF;

}

REPLACE WITH:

/mkportal/templates/Forum_Skin/tpl_main.php said:

return <<
   
       
   
center" id="logostrip">
            siteurl/index.php">
       

EOF;

}



If you are using MKPortal skins...

FIND:

/mkportal/templates/default/tpl_main.php said:

function view_logo() {
global $mklib;
return <<
<!-- testata di sinistra con il logo -->
 
 
       


EOF;
}
REPLACE WITH:

/mkportal/templates/default/tpl_main.php said:

function view_logo() {
global $mklib;
return <<
<!-- testata di sinistra con il logo -->
 
images/sf_logo.jpg" align="left">
                siteurl/index.php">images/logo.gif" border="0">
             

 
       


EOF;
}


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#2 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 07 September 2004 - 01:03 PM

How to re-align linkbar links


If you are using forum skins for MKPortal...

FIND:

/mkportal/templates/Forum_Skin/tpl_main.php said:

function view_linkbar($row_link) {
global $mklib, $ibforums;
return <<    

       
   

EOF;
}
Replace alignment value in red with your alignment preference (right, left, or center).



If you are using MKPortal skins...

FIND

/mkportal/templates/default/style.css said:

#navigatore {
  background: #DFE6EF;
  vertical-align: bottom;
  text-align: right;
  font-family: Verdana, Arial;
  font-weight: 300;
  font-size: 9px;
  color: #000000;
  }

Replace alignment value in red with your alignment preference (right, left, or center).


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#3 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 13 October 2004 - 12:11 AM

How to remove icons from linkbar (text links only):


In /mkportal/include/functions.php delete the code for the image from every $row_link line. This method won't work unless you delete (or comment out) all of them.

Example...

FIND:
        $row_link .= $Skin->row_link("$this->images/atb_down.gif", "href='$this->siteurl/index.php?ind=downloads'", $this->lang['download']);


REPLACE WITH:
        $row_link .= $Skin->row_link("href='$this->siteurl/index.php?ind=downloads'", $this->lang['download']);



Then in mkportal/templates/default/tpl_main.php

FIND:
function row_link($url, $text) {



global $mklib;



return <<<EOF







<!-- compone i link da visualizare nella barra dei link -->







	 <img src="$icon" border="0"> <a class="uno" $url'>$text</a>







EOF;



}

REPLACE WITH:
function row_link($url, $text) {



global $mklib;



return <<<EOF







<!-- compone i link da visualizare nella barra dei link -->







<!--    <img src="$icon" border="0"> --> <a class="uno" $url'>$text</a>







EOF;



}

That should give you text links without images.


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

images/sf_logo.jpg" align="left">
                siteurl/index.php">images/logo.gif" align="center" border="0">
             

           
                   
               
           
right'>
$row_link