Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search plugin (I18N)
(2016-12-29, 05:13:54)Oleg06 Wrote: code to search
Code:
<?php get_i18n_search_results(array('addTags'=>'_search', 'DATE_FORMAT'=>'', 'max'=>10, 'i18n'=>0, 'numWords'=>'30', 'order'=>'created','showPaging'=>1,'HEADER'=>'','NOT_FOUND'=>'Not Found','component'=>'search')); ?>
I use plugin I18N Custom Fields.
http://prntscr.com/doztwm

Thanks that works.

Unfortunately the default does not apply to existing pages so I will need to edit them all to apply that value.
Reply
Posting as a last resort. I'd like to use the search results as a list of categories on a page except to have them displayed in a single line. I need a little help with the CSS to get it to do this, please. I got the tagclassprefix figured out but I've been googling and trying several things for over an hour and can't get the list to display inline. Source code looks like this:

Code:
<li  class="search-entry  nav-categories">

I tried all manner of combinations of "nav-categories" and "li" {display:inline;} in the Innovation Theme style sheet but nothing is working. What the heck do I put in the CSS to get it to display inline?
Reply
li {display:inline;} has got to be right
Reply
(2017-03-17, 05:16:42)Timbow Wrote: li {display:inline;} has got to be right

I thought so too but it doesn't work (and yeah, I cleared all my caches to make sure that wasn't the problem). Weird, huh?
Reply
This is the Innovation theme?
Reply
Quote:I tried all manner of combinations of "nav-categories" and "li" {display:inline;} in the Innovation Theme style sheet but nothing is working. What the heck do I put in the CSS to get it to display inline?

Yes.
Reply
(2016-03-18, 06:23:16)Oleg06 Wrote: Martin, please add a checkbox to the plugin settings I18N Search to disable the tags <ul> and <li>.
They are very interfere when you use the plugin "Special pages" and various frameworks.
I did it for myself, but I'll have to re-add that functionality after each update.
http://prntscr.com/agjw7s
Maybe it will be useful for other users.
http://getsimplecms.ru/plaginy-dlya-gets...8n-search/

Oleg,

thank you so much! I was almost ripping my hair off trying to find a solution for getting rid of the tags, you saved my day Big Grin.
That way, i am able to position the search results sideways and make em fit really nicely to the desired design.

@Martin, thank you for all the plugins you made, they are really useful and add a lot of additional functionality to GetSimple.
I also would be really glad to see Oleg's request for a checkbox, to disable the list tags, implemented in an updated version of l18nsearch, if there will be one.

Thanks a lot for your contribution.
Regards.
Shasaar
Reply
As jlyon1515 commented, there seems to be a small bug/typo in searchresults.php line 207 (checked in plugin version 2.13.1):
<span class="next"> should be <span class="last">
Reply
Good morning, how are you?

I'm Brazilian and the plugin is working perfectly!

I would like to know if there is an option to use a friendly URL

My site returns the following link http://alexandrino.cim.br/buscar/?tipo=A...dade=Venda

I would like to use this way:

http://alexandrino.cim.br/buscar/apartam...drao/venda

it's possible?
Reply




Users browsing this thread: 1 Guest(s)
Free HDTV Channels Residential Solar Panels