Current User: Guest
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Menubutton text change !

Not An Error
UserPost

3:16 am
Jan 14, 2010


glimer

Member

posts 23

 
1

Hy Guys

Thanks for a nice forum and for this help desk

I dont know if this is a main problem or something that can be fixed in the settings but i cant find it:

My site:press is build into my wordpress site where I have a top menu. I have a menubutton called "Forum" and thats how the visitors open Site:press forum.
When I for instans is in my forum member profile and go to "Manage members Profile" this will also appear in my menu button instead of "Forum" and make no sence for the use.
Its not nice as its making a mess in my tight menu ! How can I solve this problem

4:28 am
Jan 14, 2010


Yellow Swordfish

Peterborough, England

SPF Master
SPF Master

posts 15085

 
2

This is a bug in WordPress (in the wp_list_pages() template tag which they have failed to fix since about Version 2.1.
Two choices: Exclude the forum from the code that buikds the menu and add the link manually (best solution) – or – turn off the forum/topic title appearing in page title option in Forum > Options > Global Display Settings.

Yellow Swordfish

5:38 am
Jan 14, 2010


glimer

Member

posts 23

 
3

Hi Yello
- well the best solution you mentioned seems OK to me but it leads to new questions :

The forum menu button was created by itself when i added the simple:press plugin. So

im not familiar how i can "exclude the forum from the code" as You say ?

Secondly i did not try to add a button maually in wordpress yet – but with a hint to some

guidelines i hope I can manage that step ?

 

//G

5:49 am
Jan 14, 2010


Yellow Swordfish

Peterborough, England

SPF Master
SPF Master

posts 15085

 
4

You will need to find where in the theme the 'menu' is created to find out what WP function is being used. Most usually that will be in the header.php file but not always. All themes are different. These tags all end up calling a function named wp_list_pages() which, if you look it up on the WP codex, can have pages excluded from the list. That is the first step. Adding a link to the forum page is the easy bit but you need to do the above first.

Yellow Swordfish

6:10 am
Jan 14, 2010


glimer

Member

posts 23

 
5

SurprisedWell my php header looks like this

<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' – ' ; bloginfo('name'); }
 elseif (is_single() ) { single_post_title(); }
 elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
 else { wp_title('',true); } ?></title>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!–[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]–>
<!–[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]–>
<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>

 

I do not find any : wp_list_pages() here - any idea of where i have to look?

6:19 am
Jan 14, 2010


Yellow Swordfish

Peterborough, England

SPF Master
SPF Master

posts 15085

 
6

Please don't post reams of code here – it doesn't really help. By all means post snippets but whole files wont get read – we just do not have that sort of time.

Well – as I said – header.php is the most usual but all themes are different. You just need to look through the theme files until you find what looks like the menu call. It MAY be wp_list_pages() it MAY be something with the word 'menu' in it. But it will have to be there somewhere. it is impossible for me to tell you where but a bit of patient searching should turn it up…

Yellow Swordfish

6:22 am
Jan 14, 2010


glimer

Member

posts 23

 
7

Ok I fully understand ! Sorry for that.
So if I find the menu call somewhere – what will i have to change it to ?

6:39 am
Jan 14, 2010


Yellow Swordfish

Peterborough, England

SPF Master
SPF Master

posts 15085

 
8

Find it first then we might be able to talk you through it. Need to know what it is.

Yellow Swordfish

3:52 am
Jan 16, 2010


glimer

Member

posts 23

 
9

Hey Yello

I found now "function art_menu_items()" in the function.php file. (Please notice I used Artisteer to create my theme)

Do you think I got something usefull here ?

9:29 am
Jan 16, 2010


Mr Papa

Arizona, USA

SPF Master
SPF Master

posts 14861

 
10

could be what you are looking for.  but if thats the case, likley you have a theme options panel in the admin for actually setting the values.  have you looked?


Reply to Topic:
Menubutton text change !

Guest Name (Required):

Guest Email (Required):

NOTE: First Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
1 + 7
   


Not An Error


About the Simple:Press Forum

Forum Timezone: America/Chicago

Most Users Ever Online: 118

Currently Online: LockdowN
51 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 10
Topics: 6308
Posts: 45224

Membership:

There are 4355 Members
There have been 1707 Guests

There are 2 Admins
There are 2 Moderators

Top Posters:

jim – 413
ovizii – 232
Tal – 206
Isaak – 183
Barandum – 178
David Polensky – 173
neon – 154
peterhol – 145

Recent New Members: LockdowN, Dye Free Living, inikoa, pquintin, MrFoxBody, jerde, Andrew., azmansell, Kadin, EllieWalsh

Administrators: Yellow Swordfish (15084 Posts), Mr Papa (14859 Posts)

Moderators: -Radio- (1251 Posts), Luffer (482 Posts)