how to edit Vanity?...Footer links how to edit Vanity?...Footer links
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

how to edit Vanity?...Footer links

Started by Seleno, May 09, 2008, 05:14:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Seleno

Hi There
how can i edit vanity?
the footer links like php.net and mysql.com
where can i find footer.php to edit their links or to add sitemap close to them?
waiting your help

Joachim Müller

In a similar manner that applies to all your custom theming efforts: edit themes/yourtheme/theme.php, find the section that controls the stuff that you want to see changed and edit accordingly. If your custom theme doesn't contain the section that you want to see changed, copy that section first from themes/sample/theme.php into a new line before?>of themes/yourtheme/theme.php
This has been explained countless times already. The section you need to copy to edit the vanity footer is// Template used for Vanity Footer
$template_vanity = <<<EOT
<div id="vanity">
      <a id="v_php" href="http://www.php.net/" target="_blank"></a>
      <a id="v_mysql" href="http://www.mysql.com/" target="_blank"></a>
      <a id="v_xhtml" href="http://validator.w3.org/check/referer" target="_blank"></a>
      <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"></a>
</div>
EOT;

Please read up the docs.