1. Empire
  2. Tuesday, 22 January 2019
Hi,
There is a template installation on the site. Quick installation is not. I want to add a simple search icon.

empire_template_j3_v1.9
Attachments (1)
Accepted Answer
Hi,
In easy or hard way?


1) Anyway first you have create a new menu item with Search component used. Remember URL for step 4.
2) In Global Configuration > Editor > choose "No editor" or "CodeMirror" > Save
3) Create a new Custom module
4) Inside textarea put HTML code

<a href="/forums/URL-to-SEARCH-Page">
<i class="fa fa-search" aria-hidden="true" style="color: black;"></i>
</a>


5) Publish in top2 position, assign to all menu items
6) Save
---------------
*URL-to-SEARCH-Page - use URL alias from step 1 here.
As a alternative you can use "index.php?option=com_search&view=search" too
Attachments (1)
  1. more than a month ago
  2. Empire
  3. # Permalink
Responses (5)
search button is ok

click button

404
Not Found
Attachments (1)
  1. more than a month ago
  2. Empire
  3. # 1
Antonio,
You forgot make step (1) and put proper URL in step 4
Joomla don't know what URL should use (!)

Hello wake up. Drink morning coffee. :p
---
If you cannot wake up yet or you are too tired to think clear etc.

Use default link

<a href="/forums/component/search/">
<i class="fa fa-search" aria-hidden="true" style="color: black;"></i>
</a>
  1. more than a month ago
  2. Empire
  3. # 2
I drink coffee Thanks :)
  1. more than a month ago
  2. Empire
  3. # 3
Now you understand your mistake?
  1. more than a month ago
  2. Empire
  3. # 4


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.