J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sat May 18, 2013 1:25 pm

New Show Headline Option: Page Title of a Menu Item

Proposed new features of merit and bugs to be fixed. Messages are moved here from the main forum by moderators.

Gold and Silver members can add posts here directly.

New Show Headline Option: Page Title of a Menu Item

Postby speaking » Wed May 26, 2010 5:52 pm

Configuring JEvents (in JEvents > Configuration > Tab Component) there is a feature called Show Headline with the following options:

Show Headline
- Component name
- None
- Menu entry

I think it is necessary to include a new option that gives the ability to display the "Page Title" configurable in tab "Parameters (System)" during the creation/modification of a Menu Items. Of course, this function must work only if the option "Show the Page Title" is set to Yes. 8-)
speaking
Posts: 61
Joined: Sun Apr 18, 2010 6:59 pm

Re: New Show Headline Option: Page Title of a Menu Item

Postby Geraint » Thu May 27, 2010 9:47 am

You want to display something different than the menu item title?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: New Show Headline Option: Page Title of a Menu Item

Postby speaking » Thu May 27, 2010 7:06 pm

Geraint wrote:You want to display something different than the menu item title?
Yes, the "Page Title" configurable in tab "Parameters (System)" during the creation/modification of a Menu Items.

jevents-page_title.jpg
jevents-page_title.jpg (26.45 KiB) Viewed 1757 times
speaking
Posts: 61
Joined: Sun Apr 18, 2010 6:59 pm

Re: New Show Headline Option: Page Title of a Menu Item

Postby speaking » Sat Jun 26, 2010 1:59 am

I think the solution is a simple change code...
speaking
Posts: 61
Joined: Sun Apr 18, 2010 6:59 pm

Re: New Show Headline Option: Page Title of a Menu Item

Postby Geraint » Sun Jun 27, 2010 2:08 pm

Can you add it to the Wishlists please

Thanks
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30507
Joined: Fri Feb 15, 2008 6:14 pm

Re: New Show Headline Option: Page Title of a Menu Item

Postby speaking » Thu Jul 29, 2010 9:40 pm

In the defaultviewhelperheader.php there is this code:

Code: Select all
[..]
case 'menu':
$menu2   =& JSite::getMenu();
$menu    = $menu2->getActive();
if (isset($menu) && isset($menu->name)) {
    $t_headline = $menu->name;
}
break;
[..]


If I want to show the Alias of the Menu Item I can change the string name with alias, but if I want to show the "Page Title" (configurable in tab "Parameters (System)" during the creation/modification of a Menu Items), what I have to change?

I think it is a simple change that I don't know how to do because I have to get the parameters "Page Title" (params[page_title]).
speaking
Posts: 61
Joined: Sun Apr 18, 2010 6:59 pm

Re: New Show Headline Option: Page Title of a Menu Item

Postby speaking » Thu Jul 29, 2010 9:54 pm

I solved adding this string:

Code: Select all
echo $params->get( 'page_title' );
speaking
Posts: 61
Joined: Sun Apr 18, 2010 6:59 pm


Return to Feature Requests/Suggestions

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: No registered users

Login Form