Hello,
I want to remove forum name from topic title in meta.For example if a topic is in "Wordpress" category will have the name "Best Wordpress Themes - Wordpress".
This is the code im using right now:
I know that this code is the problem : ' . $topic_data['forum_name'] but i can't remove it without errors.
Tried also:
but will not display the page number if the topic has more pages (Topic Name - Page X)
Any help will be appreciated.
Thanks.
I want to remove forum name from topic title in meta.For example if a topic is in "Wordpress" category will have the name "Best Wordpress Themes - Wordpress".
This is the code im using right now:
Code:
$extra_title = ($start > 0) ? ' - ' . $user->lang['Page'] . ( floor( ($start / $config['posts_per_page']) ) + 1 ) : '';
page_header($topic_data['topic_title'] . ' : ' . $topic_data['forum_name'] . $extra_title);
I know that this code is the problem : ' . $topic_data['forum_name'] but i can't remove it without errors.
Tried also:
Code:
page_header($topic_data['topic_title']);
but will not display the page number if the topic has more pages (Topic Name - Page X)
Any help will be appreciated.
Thanks.