Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 19, 2010 11:31 PM
RE: How to add a search portlet to the right side of the navigation bar Bavithra Rajendran September 19, 2010 11:46 PM
RE: How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 20, 2010 12:49 AM
RE: How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 20, 2010 1:59 AM
RE: How to add a search portlet to the right side of the navigation bar Jari Fredriksson September 28, 2010 11:16 AM
RE: How to add a search portlet to the right side of the navigation bar Jari Fredriksson September 28, 2010 11:48 AM
RE: How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 29, 2010 12:11 AM
RE: How to add a search portlet to the right side of the navigation bar Jari Fredriksson September 29, 2010 1:13 AM
RE: How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 29, 2010 1:46 AM
RE: How to add a search portlet to the right side of the navigation bar Sharath Babu A September 29, 2010 2:36 AM
RE: How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 29, 2010 2:57 AM
RE: How to add a search portlet to the right side of the navigation bar Sharath Babu A September 29, 2010 3:04 AM
RE: How to add a search portlet to the right side of the navigation bar Arun Kumar Ramachandran September 29, 2010 3:15 AM
RE: How to add a search portlet to the right side of the navigation bar Hilko Jacobse December 17, 2010 9:29 AM
RE: How to add a search portlet to the right side of the navigation bar Sharath Babu A December 21, 2010 5:35 AM
RE: How to add a search portlet to the right corner of the navigation bar mohammed ali November 7, 2012 10:31 PM
Arun Kumar Ramachandran
How to add a search portlet to the right side of the navigation bar
September 19, 2010 11:31 PM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

Hi all,
Now i am creating a intranet portal. I need to know that , How to add search box in the navigation bar.


Thanks
Arun
Bavithra Rajendran
RE: How to add a search portlet to the right side of the navigation bar
September 19, 2010 11:46 PM
Answer

Bavithra Rajendran

LIFERAY STAFF

Rank: Regular Member

Posts: 123

Join Date: October 7, 2009

Recent Posts

Hi !

For adding search portlet in the navigation bar, add $theme.search() in the navigation.vm file. Here is the sample :

<div id="page-search">
$theme.search()
</div>


Thanks,
Bavithra Rajendran
Arun Kumar Ramachandran
RE: How to add a search portlet to the right side of the navigation bar
September 20, 2010 12:49 AM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

Hi,
Thank you very much. I checkedand update you.



Thanks
Arun
Arun Kumar Ramachandran
RE: How to add a search portlet to the right side of the navigation bar
September 20, 2010 1:59 AM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

Hi
Its working fine.





Thanks
Arun
Jari Fredriksson
RE: How to add a search portlet to the right side of the navigation bar
September 28, 2010 11:16 AM
Answer

Jari Fredriksson

Rank: New Member

Posts: 23

Join Date: September 14, 2010

Recent Posts

theme.search() is way too wide for me emoticon

Is it possible to get a search without the combobox for Everything/Commmunity?

That would be really nice. Maybe search() has options?
Jari Fredriksson
RE: How to add a search portlet to the right side of the navigation bar
September 28, 2010 11:48 AM
Answer

Jari Fredriksson

Rank: New Member

Posts: 23

Join Date: September 14, 2010

Recent Posts

Jari Fredriksson:
theme.search() is way too wide for me emoticon

Is it possible to get a search without the combobox for Everything/Commmunity?

That would be really nice. Maybe search() has options?


Never mind, CSS for rescue emoticon

#page-search select {
display: none ;
}
Arun Kumar Ramachandran
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 12:11 AM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

Hi,
thanks for your idea. But i add the css code in search portlet folder> CSS>main.css

But no effect . Can you help me.

Thanks
Arun
Jari Fredriksson
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 1:13 AM
Answer

Jari Fredriksson

Rank: New Member

Posts: 23

Join Date: September 14, 2010

Recent Posts

Arun Kumar Ramachandran:
Hi,
thanks for your idea. But i add the css code in search portlet folder> CSS>main.css

But no effect . Can you help me.

Thanks
Arun


Do you have a custom theme? If so, then the code goes to theme's docroot/_diffs/css/custom.css

I would not put it in the search portlet folder, as the code is not used there. The css belongs to the theme having the theme.search() call in it.
Arun Kumar Ramachandran
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 1:46 AM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

Hi,
I paste it in ..\webapps\ROOT\html\themes\classic\_diffs\css\custom.css . But it still not working. Any deployment needed?

Thanks
Arun
Sharath Babu A
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 2:36 AM
Answer

Sharath Babu A

Rank: Regular Member

Posts: 146

Join Date: May 18, 2009

Recent Posts

hi,

I think its better to keep the following code in the portal_normal.vm file above the <h3 class="page-title">tag.

<div class="search">
$theme.search()
</div>


Thanks & Rgds,
Arun Kumar Ramachandran
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 2:57 AM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

hi,
Thanks for your reply!. I done that. but even though i cant remove that drop down box. where we need to place this css

#page-search select {
display: none ;
}

Or need to change


Thansk
Arun
Sharath Babu A
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 3:04 AM
Answer

Sharath Babu A

Rank: Regular Member

Posts: 146

Join Date: May 18, 2009

Recent Posts

hi Arun,

If you just want to remove the dropdown, then remove the 'select' tag from the start.jsp located at (\html\taglib\ui\search)



Thanks & Regards
Arun Kumar Ramachandran
RE: How to add a search portlet to the right side of the navigation bar
September 29, 2010 3:15 AM
Answer

Arun Kumar Ramachandran

Rank: Regular Member

Posts: 228

Join Date: June 28, 2010

Recent Posts

Thank you very much its working fine.Can you tell me how to remove the languages which are not wanted .I need to add thre language at the navigation bar.



Thanks
Arun
Hilko Jacobse
RE: How to add a search portlet to the right side of the navigation bar
December 17, 2010 9:29 AM
Answer

Hilko Jacobse

Rank: New Member

Posts: 5

Join Date: January 15, 2010

Recent Posts

Hi All,

Does it matter where you add the code below to navigation.vm?

1<div id="page-search">
2        $theme.search()
3</div>


I can't seem to get it to work...emoticon
Sharath Babu A
RE: How to add a search portlet to the right side of the navigation bar
December 21, 2010 5:35 AM
Answer

Sharath Babu A

Rank: Regular Member

Posts: 146

Join Date: May 18, 2009

Recent Posts

hi,

Keep the following code in the portal_normal.vm file above the <h3 class="page-title">tag.

<div class="search">(not page-search)
$theme.search()
</div>
mohammed ali
RE: How to add a search portlet to the right corner of the navigation bar
November 7, 2012 10:31 PM
Answer

mohammed ali

Rank: New Member

Posts: 1

Join Date: November 7, 2012

Recent Posts

Hi,


any one can tell me , how to add a search portlet to the right corner of the navigation bar.



thanks,