Avatar of HelpNearMe
HelpNearMeFlag for Afghanistan

asked on 

Joolma 1.5 show section name and menu name

Hi Experts,

Two seperate but very similar questions:
1)  I woud like to echo the section name on the page, how can I get the Joomla section name using PHP?
2)  Same question but for menu name,  how can I get the menu name using php?

Thanks,
HNM
Joomla

Avatar of undefined
Last Comment
Michael Knight
ASKER CERTIFIED SOLUTION
Avatar of Michael Knight
Michael Knight
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of Robert Jackson
Robert Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
SOLUTION
Avatar of Carlos Llanos
Carlos Llanos
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Robert Jackson
Robert Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

I agree with NUKIT - just turn on the breadcrumbs module - that will answer your question 2) - without the need for any php code.
Avatar of Michael Knight
Michael Knight
Flag of United States of America image

The question wasn't how do i do it through joomla! or the breadcrumbs module.
The questions were:
...how can I get the Joomla section name using PHP?
AND
...how can I get the menu name using php?




Avatar of Carlos Llanos
Carlos Llanos
Flag of United States of America image

You are correct...and as I stated in my post, your solution will work...i posted the other information in case they were looking for another perspective...
Avatar of HelpNearMe
HelpNearMe
Flag of Afghanistan image

ASKER

Thanks for the ideas, I'll be testing this afternoon and post my feedback
Avatar of Carlos Llanos
Carlos Llanos
Flag of United States of America image

How did the testing go?  
Avatar of HelpNearMe
HelpNearMe
Flag of Afghanistan image

ASKER

nothing yet; stuck closing another proj, hopefully tonight.  Thanks for waiting.
Avatar of Carlos Llanos
Carlos Llanos
Flag of United States of America image

No problem, I completely understand.  
Avatar of HelpNearMe
HelpNearMe
Flag of Afghanistan image

ASKER

Hi All,

Haven't forgotten about this, should be on it tomorrow then I can respond.  thanks for waiting
Avatar of HelpNearMe
HelpNearMe
Flag of Afghanistan image

ASKER

thanks for waiting, michaelaknight your solution was perfect thanks.
Avatar of Michael Knight
Michael Knight
Flag of United States of America image

my pleasure.
Joomla
Joomla

Joomla is a free and open-source content management system (CMS) for publishing web content. It is built on a model–view–controller web application framework that can be used independently of the CMS. Written in PHP, Joomla uses object-oriented programming (OOP) techniques and software design patterns, stores data in a MySQL, MS SQL or PostgreSQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, search, and support for language internationalization.

4K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo