I am working on a custom theme based on a WordPress theme. (my site
http://www.dean-logan.com/photo )
In the theme the menu items are bullet lists which have classes and styles assigned to them to give them icons and proper layout.
I have been using the Sample theme and others to try and get my theme working. So far, I have all of the menu lists working except the
User Admin Menu. I did searches on the forum to see if I could figure it out, but the search results didn't return any threads that solved my problem.
The Issue BreakdownWhen the
Admin Menu is displayed while logged as a
Admin, the formatting style is correctly used and the menu is displayed correctly.
When logged as a
Admin and selecting
User Mode, the menu is
not displayed at all.
When the
User Admin Menu is displayed while logged as a User, the formatting style sheet is ignored. It should look similar to the admin
In the theme.php file I have added the parameter
$template_user_admin_menu // HTML template for user admin menu
$template_user_admin_menu = <<<EOT
<h2 style="font-size: 14px; color: #333000;">User Controls</h2>
<ul id="adminnav">
<li class="album"><a href="albmgr.php" title="{ALBMGR_TITLE}">{ALBMGR_LNK}</a></li>
<li class="config"><a href="modifyalb.php" title="{MODIFYALB_TITLE}">{MODIFYALB_LNK}</a></li>
<li class="profile"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></li>
<li class="picmanage"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></li>
</ul>
EOT;
I have attached my theme.php, template.html, and a combined screen shot.
I am sure it is just something simple that I am missing. Any ideas as to what it is?