S sultime3732 Member YetiShare User Wurlie User Mar 13, 2014 48 0 6 57 France Jun 22, 2014 #1 Hello, I would like to put a link to the administration in the footer, can you tell me how I can add this thank you
Hello, I would like to put a link to the administration in the footer, can you tell me how I can add this thank you
Y ysmods New Member Jan 29, 2013 860 1 0 UK www.ysmods.com Jun 22, 2014 #2 Open _footer.php Find: Code: <a href="<?php echo WEB_ROOT; ?>/terms_and_conditions.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("term_and_conditions"); ?></a> | <a href="<?php echo WEB_ROOT; ?>/contact.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("contact_us"); ?></a> | <a href="http://www.mfscripts.com/fonts_website_script.html" target="_blank">Font Site Script</a> by <a href="http://www.mfscripts.com" target="_blank">MFScripts</a><br/><br/> <a href="#pageTop" style="text-decoration:none;"><?php echo t("page_top"); ?></a> </div> Replace with: Code: <?php if($Auth->level == 'admin') { echo '<a href="'.WEB_ROOT.'/admin/login.php" target="_blank">Admin</a> | '; } ?> <a href="<?php echo WEB_ROOT; ?>/terms_and_conditions.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("term_and_conditions"); ?></a> | <a href="<?php echo WEB_ROOT; ?>/contact.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("contact_us"); ?></a> | <a href="http://www.mfscripts.com/fonts_website_script.html" target="_blank">Font Site Script</a> by <a href="http://www.mfscripts.com" target="_blank">MFScripts</a><br/><br/> <a href="#pageTop" style="text-decoration:none;"><?php echo t("page_top"); ?></a> </div>
Open _footer.php Find: Code: <a href="<?php echo WEB_ROOT; ?>/terms_and_conditions.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("term_and_conditions"); ?></a> | <a href="<?php echo WEB_ROOT; ?>/contact.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("contact_us"); ?></a> | <a href="http://www.mfscripts.com/fonts_website_script.html" target="_blank">Font Site Script</a> by <a href="http://www.mfscripts.com" target="_blank">MFScripts</a><br/><br/> <a href="#pageTop" style="text-decoration:none;"><?php echo t("page_top"); ?></a> </div> Replace with: Code: <?php if($Auth->level == 'admin') { echo '<a href="'.WEB_ROOT.'/admin/login.php" target="_blank">Admin</a> | '; } ?> <a href="<?php echo WEB_ROOT; ?>/terms_and_conditions.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("term_and_conditions"); ?></a> | <a href="<?php echo WEB_ROOT; ?>/contact.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t("contact_us"); ?></a> | <a href="http://www.mfscripts.com/fonts_website_script.html" target="_blank">Font Site Script</a> by <a href="http://www.mfscripts.com" target="_blank">MFScripts</a><br/><br/> <a href="#pageTop" style="text-decoration:none;"><?php echo t("page_top"); ?></a> </div>
S sultime3732 Member YetiShare User Wurlie User Mar 13, 2014 48 0 6 57 France Jun 22, 2014 #3 Hello, Thank you very much for your help yetisharemods so fast Regards