Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Search

  • Robert Sensburg
  • Robert Sensburg's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 9 months ago #137890 by Robert Sensburg
Search was created by Robert Sensburg
I want to place the search input field into the header like it`s done in standard protostar Template.

How to do this?
As a beginner, everything here looks complicated - but has an easy solution.
I hope in a few weeks I can concentrate on the content of my site...

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #137891 by Krikor Boghossian
Replied by Krikor Boghossian on topic Search
Hello Robert,

As you can see the module map here : nuevvo.com/documentation/commercial-templates/item/40-nublog-documentation

There is only the menu position and the menu position on the header. What you can do is open a new position in your index.php if you do not want the search button to appear next to the menu.

New module code:
<?php if ($this->countModules('nuBlog_Search')): ?>
   					<div class="searchHeader">
  						<jdoc:include type="modules" name="nuBlog_Search"  style="nuBlog" />
  					</div>
   					<?php endif; ?>

This should be placed in index.php around line 59 (After an <?php endif; ?>).

Then you should send me a link so I can assist you with the stying.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Robert Sensburg
  • Robert Sensburg's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 9 months ago #137892 by Robert Sensburg
Replied by Robert Sensburg on topic Search
Maybe it would be better then to place the search-field beside of the main menu links. But there is not enough space I think. I sent you an email. Please have a look.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #137893 by Krikor Boghossian
Replied by Krikor Boghossian on topic Search
Once you have installed the new version publish a search module at the nuBlog_Header position.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Robert Sensburg
  • Robert Sensburg's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 9 months ago #137894 by Robert Sensburg
Replied by Robert Sensburg on topic Search
I want to place the search field in the upper right header corner.
When I try it like you described it`s just centered and too big...
Maybe you can assist a few seconds... ;)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #137895 by Krikor Boghossian
Replied by Krikor Boghossian on topic Search
Sure thing.

You need to move the nuBlog_Header position above the entire logo area.

Then use some css to align in to the right and reduce that large gap.
.topHeaderZone { text-align: right; margin-bottom: -10px; }
div.module div.search input.inputbox { max-width: 150px; }

The second line reduces the size of the search box.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Robert Sensburg
  • Robert Sensburg's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 9 months ago #137896 by Robert Sensburg
Replied by Robert Sensburg on topic Search
real fast...

But now I have 3 or 4 search moduls. Can I erase the 3 others without any problem?

Another with it:
If I search for a term, e.g. "gold" the system marks the word "old" in search results...
it`s not that important but if you have time you can have a loo for it.
Maybe this happens to other users, too.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #137897 by Krikor Boghossian
Replied by Krikor Boghossian on topic Search
Yes you can safely unpublish all other search modules. The header position is not chained with any other position.

Now for the com_search, I can verify this behaviour, it is not a CSS issue and indeed both Gold and old are highlighted. I do not think this is a bug. I think this is how com_search behaves.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Robert Sensburg
  • Robert Sensburg's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 8 months ago #137898 by Robert Sensburg
Replied by Robert Sensburg on topic Search
Is com_search the original joomla-search component?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 8 months ago #137899 by Krikor Boghossian
Replied by Krikor Boghossian on topic Search
Yes.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum