Monday, 22 December 2014 14:54
beggarly

Respect title display preference

Report Xmap bugs on this forum.

Respect title display preference

Postby pecus » Fri Aug 08, 2008 1:17 pm

hi,

first of all, excellent work on Xmap!
Whether it was done "on purpose" or not, I think it should respect the user preference for displaying the title when rendering the sitemap as a HTML page.

All is needed is a little fix at line 210 (v. 1.2) of xmap.html.php:

if ( $params->get( 'show_page_title' ) ) {
echo '<div class="componentheading">'.$title.'</div>';
}

Thanks and keep up the good work,
pecus
Attachments
xmap.html.zip
updated file
(3.14 KiB) Downloaded 556 times
pecus
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri Aug 08, 2008 1:00 pm

Re: Respect title display preference

Postby davina » Sat Nov 08, 2008 9:58 pm

Hi,

I've tried this fix, but still cannon get "Site Map" to show up as a title on my Xmap html page. Has anyone else figured out how to do this?

Thanks!
-d.
davina
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Sat Nov 08, 2008 9:08 pm

Re: Respect title display preference

Postby guilleva » Wed Nov 19, 2008 7:02 pm

Hi, I'm assuming you are using Joomla 1.5 with Xmap 1.2

You should specify the title for your page in your menu preferences.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica


Return to Bugs



Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron