×

Notice

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

TOPIC: Hide search box.

Hide search box. 12 years 8 months ago #12941

  • Iki Cvetkovski
  • Iki Cvetkovski's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 69
  • Thank you received: 0
Is there any possibility to hide search box? :)

Hide search box. 12 years 8 months ago #12952

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Use a template override for hotspots/default.php

Hide search box. 12 years 6 months ago #13909

  • lisa gage
  • lisa gage's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
newbie here. i would also like to hide the search field at the top of the map, but i don't understand your response. can you please explain what you mean by the template override? do i have to go into com_hotspots/views/hotspot and edit the default.php in the tmpl folder? if so, what do i change?
thanks for any assistance...
lisa

Hide search box. 12 years 6 months ago #13911

  • Iki Cvetkovski
  • Iki Cvetkovski's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 69
  • Thank you received: 0
Hello Lisa :)

All you have to do is to override your template - meaning to edit and set default parameters for your template. (if you are questioning yourself, you can try google search and there are tons of topics of this matter)

I did hide my quick search with this command at 1163 line into media/com_hotspots/css/hotspots.css

#quick-search {
margin-top: 0px;
visibility: hidden;


All you need is to work with some CSS codes and voila :)

Hide search box. 12 years 6 months ago #13913

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Lisa,
Template overrides is a powerful concept and the sooner you understand how it works, the more things you will be able to do with joomla :)
docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

Anyway what Iki said is also working...
Kind regards,
Daniel

Hide search box. 12 years 6 months ago #13916

  • lisa gage
  • lisa gage's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Iki,
Thank you thank you! i appreciate you sharing your fix! it worked great..

regards,
lisa

Hide search box. 12 years 6 months ago #13917

  • lisa gage
  • lisa gage's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
daniel,
wow, i wasn't aware of the override process. i am studying the info from the link you provided. thank you for pointing this out!

regards,
lisa
  • Page:
  • 1
Time to create page: 0.168 seconds