| | #1 (permalink) |
| Guest [+] more user info
Posts: n/a
| Article Index Page Titles Joomla 1.5.7 Website: www.galanovagames.com (currently offline for development) Hey everyone, I was just wanting to know how I can edit the formatting of the article index page titles. The current format is: Article Title - Page Title ![]() I\'d rather it just be: Page Title This is because I already have the title of the article showing at the top so it seems pointless to have the title showing twice on every page. I already tried searching everywhere for a simple solution to this but couldn\'t find anything. I know that stuff is dealt with in the /plugins/content/pagebreak.php but I\'m not sure what to change or take out. I\'m pretty sure it\'s in this portion somewhere: Code: // adds heading or title to <site> Title
if ( $title )
{
if ( $page ) {
$page_text = $page + 1;
if ( $page && @$matches[$page-1][2] )
{
$attrs = JUtility::parseAttributes($matches[$page-1][1]);
if ( @$attrs[\'title\'] ) {
$row->page_title = $attrs[\'title\'];
}
}
}
}
|
| |
| This is a Advertisement. Sign up to have these ads removed. | |
| | |
| | #2 (permalink) |
| Guest [+] more user info
Posts: n/a
| Re:Article Index Page Titles
I would just turn it off. Go into your Joomla backend. Menu/Main menu/Home-> then click \"Parameters component\" and then turn off the article titles or edit the settings however you desire. I believe you can override this per article as well when you are editing the article. |
| |
| | #3 (permalink) |
| Guest [+] more user info
Posts: n/a
| Re:Article Index Page Titles
Thank you for the quick reply after your weekend break B) Ok, after playing around with the title settings throughout the backend some more I have a clearer picture of what I\'m trying to accomplish. So my question has changed slightly: The subject is the page title....not the article title. I went under Menus-->mainmenu-->RM2K3 (my desired category)-->Parameters (System) and set \"Show Page Title\" to no. This gave me the desired effect I wanted for the articles held within:) But now it doesn\'t show the Category title (RM2K3) for the Category list layout. How can I show the category title without it turning on the page titles for the articles within that category? Category list layout (title not showing) |
| |
| | #5 (permalink) |
| Guest [+] more user info
Posts: n/a
| Re:Article Index Page Titles
Yea sorry, this is a different template for one of my other sites. I managed to figure out how to do what I wanted! I got my 1st experience with template overriding so I was able to figure out a solution. For the sake of possibly answering someone\'s future question I\'ll share how I did it. I went to /components/com_content/views/category/tmp/default.php and copied that file to /templates/\"template name\"/html/com_content/category/ (I had to create the last 2 directories) All I did then was delete the conditional statement in the following portion of code that shows the title since I don\'t want the \"Properties (System)\" to control whether it shows or not: Code: <?php if ($this->params->get(\'show_page_title\', 1)) : ?> <--------Remove <div class=\"componentheading<?php echo $this->params->get(\'pageclass_sfx\');?>\"> <?php echo $this->escape($this->params->get(\'page_title\')); ?> </div> <?php endif; ?> <--------Remove |
| |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| You can help me set up the so index.php template f | xml | Zappa | 17 | 02-09-2009 11:50 PM |
| Anyway to spilt menu titles to 2 lines? | dmunz | Rational Magic (discontinued) | 1 | 09-14-2008 11:31 AM |
| Change Font in Article Titles | brett man | Snappa | 3 | 08-29-2008 11:22 AM |
| Article Separators for Front Page | marcsitkin | Rational Magic (discontinued) | 2 | 07-29-2008 06:01 PM |
| Article Seperator Displaying On Every Page | showmecreative | Ario Light | 5 | 07-08-2008 03:54 PM |
Forum by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1 Downloads powered by vBadvanced Dynamics v1.1.0.