Dear Elgg Developers.....I need an urgent help.......am trying to add search in topbar....So i put this code echo elgg_view('search/search_box', array('class' => 'elgg-search-header')); in views/default/page/elements/topbar.php its worked but i need to align this search to center or before settings link in topbar......So can u tell me how to do that.....
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Thankz...costakisc....Am going to try this........
here is a topbar plugin:
http://community.elgg.org/plugins/847150/Air/sticky-topbar
the css code:
.elgg-search-header {
bottom: 5px;
height: 23px;
position: absolute;
right: 400px;
}
just use the phloor topbar plugin as an example code of how to register the search bar in it
Again thankz costakisc u r Grate
if you cant get it fixed, send me a message tomorrow morning around this time and i will make you a plugin
Sure......
Got the code...I edited Magic Topbar Plugin....Thank You costakisc !!!
elgg_register_menu_item('topbar', array(
'name' => 'search',
'href' => false,
'text' => elgg_view('search/search_box', array('class' => 'elgg-search-header')),
'section' => 'alt',
'priority' => 1
));
thanks, but you did all the work
But i where unable without you :)
- Previous
- 1
- 2
- Next
You must log in to post replies.