Hi community,
I would appreciate any help with this issue.
I have installed SMF 1.1.15, and Flagrant theme. Yerterday just installed the mod Aeva Media. All goes ok, but the menu link appear black while the other are white. I think I need to change something in the code that myself added to the theme's index.template.php. I have borrowed an original theme buttom code:
/ / How about the [search] button?
if ($ context ['allow_search'])
echo '<li> <a', $ current_action == 'search'? 'Class = "current"':'', 'href = "', $ scripturl, '? Action = search"> <span>', $ txt [182], '</ span> </ a> </ li > ';
and the added Aeva Media buttom code (I change the original "Media" name for "Gallery", I think this will not the cause of the problem):
/ / Aeva Media
/ / Recalculate number of unseen items
global $ user_info;
if (empty ($ user_info ['aeva_unseen']) & & $ user_info ['aeva_unseen'] == -1)
{
global $ sourcedir;
require_once ($ sourcedir. '/ Aeva-Subs.php');
aeva_loadSettings ();
}
$ aeva_unseen =! allowedTo ('aeva_access_unseen') | | empty ($ user_info ['aeva_unseen']) | | $ user_info ['aeva_unseen'] == -1? 0: $ user_info ['aeva_unseen'];
if (allowedTo ('aeva_access'))
echo ($ current_action == 'media' | | $ context ['browser'] ['is_ie4'])? '<td class="maintab_active_'. $first.'"> </ td>':'', '
<td valign="top" == $current_action class="maintab_','media'?'active_back':'back','">
<a href="', $scripturl,'?action=media"> ', isset ($ txt [' aeva_gallery '])? $ txt ['aeva_gallery']: 'Media', $ aeva_unseen? '</ a> <a href="'. $scripturl.'?action=media;sa=unseen"> [<b>'. $ aeva_unseen. '</ b>]':'', '</ a>
</ td> ', $ current_action ==' media '? '<td class="maintab_active_'. $last.'"> </ td>':'';
Thank you for reading and for any help!
A link to the site would be a real plus. ;)
Lainaus käyttäjältä: ARG - lokakuu 30, 2011, 06:13:11 IP
A link to the site would be a real plus. ;)
Thank you for your reply: www.foro.vihuelista.com (http://www.foro.vihuelista.com)
You will see the last menu item "Galería" in black and not centered...
It's actually not black but #333, taking after your normal links color.
You may want to take a look at this and add the button manually (http://wiki.simplemachines.org/smf/How_do_I_add_buttons_to_SMF_2.0).
;)
Lainaus käyttäjältä: ARG - lokakuu 30, 2011, 06:32:54 IP
It's actually not black but #333, taking after your normal links color.
You may want to take a look at this and add the button manually (http://wiki.simplemachines.org/smf/How_do_I_add_buttons_to_SMF_2.0).
;)
I will try that...
Lainaus käyttäjältä: ARG - lokakuu 30, 2011, 06:32:54 IP
It's actually not black but #333, taking after your normal links color.
You may want to take a look at this and add the button manually (http://wiki.simplemachines.org/smf/How_do_I_add_buttons_to_SMF_2.0).
;)
Solved, thank you!