×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Display the Title of the menu

Display the Title of the menu 11 years 10 months ago #19234

  • Manuel Putmans
  • Manuel Putmans's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello Compojoom,

How can I display the menutitle above the Hotspot component in ; www.hotelglow.nl/test/city-guide-agenda#!/catid=1

It has to look the same as; www.hotelglow.nl/test/breakfast and use the same title css.

I cannot find it in the menuoptions of this component....

Thans for the reraction.

Manuel

Display the Title of the menu 11 years 9 months ago #19245

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Manuel,
In the menu settings you should have a button -> show title? Set this one to yes and it should be fine.
Regards,
Daniel

Display the Title of the menu 11 years 9 months ago #19252

  • Manuel Putmans
  • Manuel Putmans's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
I saw that but then no css is taken from the normal css....

MP

Display the Title of the menu 11 years 9 months ago #19253

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, I just looked again at your site and it uses a little non-standard code for the title. It is html5, which cool and the title is in <header></header>
<header>
			<h1 class="">Glow Morning</h1>
 
		</header>
 

You'll need to make a template override of
docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core
then modify this code:
<?php if (HotspotsHelper::getSettings('show_page_title', 1)) : ?>
<div class="componentheading<?php echo $this->escape(HotspotsHelper::getSettings('pageclass_sfx')); ?>">
    <?php echo $this->escape(HotspotsHelper::getSettings('page_title', 'Hotspots')); ?>
</div>
<?php endif; ?>
most probably to
<header>
<h1 class="title"><?php echo $this->escape(HotspotsHelper::getSettings('page_title', 'Hotspots')); ?></h1>
</header>

Regards,
Daniel

Display the Title of the menu 11 years 9 months ago #19270

  • Manuel Putmans
  • Manuel Putmans's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
What happens then if I update joomla?

MP

Display the Title of the menu 11 years 9 months ago #19271

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Manuel,
Read the document I linked to. Template overrides are there exactly for this situation - so that your changes won't get overwritten. You'll only need to make changes if we make changes to the file and you'll need to reflect them. (for example - if we load more js files or css files etc)

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.142 seconds