Social Media Login Plugin

admin2931

New Member
YetiShare User
Aug 25, 2013
1
0
0
hey guys im getting a server error when i try to edit what needs to be edited for the example: _header.php, _footer.php, and login.php

in _footer.php it says

In _footer.php find:

<li><a href="<?php echo getCoreSitePath(); ?>/account_edit.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t('settings', 'settings'); ?></a></li>
<li><a href="<?php echo getCoreSitePath(); ?>/faq.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t('faq', 'faq'); ?></a></li>
<li><a href="<?php echo getCoreSitePath(); ?>/logout.<?php echo SITE_CONFIG_PAGE_EXTENSION; ?>"><?php echo t('logout', 'logout'); ?> (<?php echo $Auth->username; ?>)</a></li>

Replace with:

<?php
$links = array();
$links['settings'] = '<a href="' . getCoreSitePath() . '/account_edit.' . SITE_CONFIG_PAGE_EXTENSION . '">' . t('settings', 'settings') . '</a>';
$links['faq'] = '<a href="' . getCoreSitePath() . '/faq.' . SITE_CONFIG_PAGE_EXTENSION . '">' . t('faq', 'faq') . '</a>';
$links['logout'] = '<a href="'.getCoreSitePath().'/logout.'.SITE_CONFIG_PAGE_EXTENSION.'">'.t('logout','logout').' (' . $Auth->username . ')</a>';

// include any plugin includes
$links = pluginHelper::includeAppends('_footer_nav.php', $links);

// output nav
echo '<li>' . implode('</li><li>', $links) . '</li>';
?>


when i try to find that in the _footer.php it isnt there