Posts: 8
Threads: 2
Joined: Jan 2014
2014-06-12, 03:29:24
(This post was last modified: 2014-06-12, 03:31:58 by olexandr.)
Hello! At the end of each page I make information block similar pages as it can display the material?
The first way is
(% searchresults tags:car %)
And the page that are close to the same page on what will be necessary to put pokazyvatsya tag "car"
Posts: 21
Threads: 0
Joined: Jun 2014
I'm using multi language support on a news overview page and provide two versions English and German. I get the search results of all pages tagged "news". And the problem is, that I get on the English results page both English and German results.
Quote:(% searchresults tags:_special_news numWords:27 max:5 showDate:0 showLanguage:0 HEADER: %)
What attributes can I set to get only English version pages when I switched to English and German version pages when I switched to German?
Thanks a lot!
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2014-06-14, 20:48:04)hugel Wrote: Code: (% searchresults tags:_special_news numWords:27 max:5 showDate:0 showLanguage:0 HEADER: %)
What attributes can I set to get only English version pages when I switched to English and German version pages when I switched to German?
Thanks a lot!
Code: (% searchresults tags:_special_news numWords:27 max:5 showDate:0 showLanguage:0 lang:de HEADER: %)
and lang:en, respectively.
Posts: 21
Threads: 0
Joined: Jun 2014
Thank you, mvlcek! That was quick and simple.
Posts: 21
Threads: 0
Joined: Jun 2014
2014-06-20, 21:07:06
(This post was last modified: 2014-06-20, 21:07:57 by hugel.)
Hi everybody,
I'd like to show search results of pages tagged either _special_work or _special_news
PHP Code: (% searchresults tags:_special_work _special_news numWords:50 max:5 showDate:0 lang:de showLanguage:1 HEADER: %)
But I get as results only pages tagged _special_work and the pages in English language.
Is there wrong syntax?
Thanks
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2014-06-20, 21:07:06)hugel Wrote: Hi everybody,
I'd like to show search results of pages tagged either _special_work or _special_news
PHP Code: (% searchresults tags:_special_work _special_news numWords:50 max:5 showDate:0 lang:de showLanguage:1 HEADER: %)
But I get as results only pages tagged _special_work and the pages in English language.
Is there wrong syntax?
Thanks
PHP Code: (% searchresults tags:"_special_work _special_news" numWords:50 max:5 showDate:0 lang:de showLanguage:1 HEADER: %)
Posts: 3,491
Threads: 106
Joined: Mar 2010
Maybe you have to enclose those tags between quotes:
... tags:"_special_work _special_news" ...
Posts: 21
Threads: 0
Joined: Jun 2014
Thanks mvlcek and Carlos,
unfortunately it doesn`t work. No results at all.
Posts: 1,928
Threads: 88
Joined: Apr 2010
2014-06-21, 00:49:36
(This post was last modified: 2014-06-21, 00:51:29 by Oleg06.)
I think tag _special_work must be the parent for the tag _special_news
if you want to show your special pages on one page, ask for all of them one particular tag and use it
(2014-06-21, 00:04:28)hugel Wrote: Thanks mvlcek and Carlos,
unfortunately it doesn`t work. No results at all.
Posts: 21
Threads: 0
Joined: Jun 2014
(2014-06-21, 00:49:36)Oleg06 Wrote: I think tag _special_work must be the parent for the tag _special_news
if you want to show your special pages on one page, ask for all of them one particular tag and use it
(2014-06-21, 00:04:28)hugel Wrote: Thanks mvlcek and Carlos,
unfortunately it doesn`t work. No results at all.
Hi Oleg06,
the search using two key words doesn't work. I have a diferent solution, I add a new key word to the pages I'm searching for.
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2014-06-21, 00:04:28)hugel Wrote: Thanks mvlcek and Carlos,
unfortunately it doesn`t work. No results at all.
I didn't see that you wanted to search for either one OR the other tag. This is not possible, as I18N Search only searches for both tags (AND), which won't give you results in this case.
You can set the special pages' configuration to automatically add another tag for (new) pages.
Posts: 2
Threads: 0
Joined: Jun 2014
I want to display on each page of a list of relevant articles using the "words"
(% searchresults HEADER='' words:"keywords" max:4 showPaging:0 %)
How to make so that the results are not output a page on which the request is made?
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2014-06-28, 03:35:39)Xstroy Wrote: I want to display on each page of a list of relevant articles using the "words"
(% searchresults HEADER='' words:"keywords" max:4 showPaging:0 %)
How to make so that the results are not output a page on which the request is made?
Code: (% searchresults HEADER='' words:"keywords" max:4 showPaging:0 slug:targetpage %)
You find all the parameters in the usage section of the I18N Search administration page.
Posts: 2
Threads: 0
Joined: Jun 2014
2014-06-29, 00:37:54
(This post was last modified: 2014-06-29, 00:54:55 by Xstroy.)
(2014-06-28, 03:59:35)mvlcek Wrote: Code: (% searchresults HEADER='' words:"keywords" max:4 showPaging:0 %)
You find all the parameters in the usage section of the I18N Search administration page.
I am Russian. Translate in translate.google)) and basic school English.
I do not see a variable for the output filter of the current page.
I ask to help. An example can be?
Example:
Page: site/page1 /
How to make a conclusion on page1 answers only links to other pages?
I do not like the use of tags, as they need to assign each page, and "words" more flexible tool
Posts: 28
Threads: 3
Joined: Oct 2013
Hi mvcek, fantastic work...
I am trying to use your search and special pages plugins to make a list of events, where the event date is not the create or publish date. I am stuck trying to get i18n search to list events in the order of the event date, which is a field in a special page. Can you give me any pointers?
Thanks in advance!
Posts: 28
Threads: 3
Joined: Oct 2013
a bit clearer now, I think I need to use something like the tables solution : http://mvlcek.bplaced.net/get-simple/i18...rch-tables
(2014-07-29, 01:39:13)olmy Wrote: Hi mvcek, fantastic work...
I am trying to use your search and special pages plugins to make a list of events, where the event date is not the create or publish date. I am stuck trying to get i18n search to list events in the order of the event date, which is a field in a special page. Can you give me any pointers?
Thanks in advance!
Posts: 8
Threads: 2
Joined: Aug 2014
2014-08-15, 15:22:25
(This post was last modified: 2014-08-15, 15:31:37 by BigChris.)
I am complete new in webdesign and GetSimle, and try hard to add a search to my site.
In the sidebar, i put this code to a component:
Code: <?php get_i18n_search_form(array('slug'=>'search')); ?>
Then, i create a site search with slug=search, with the code
If i use the search, soemthing went wrong with the design of the page and the result seem to display in the sidebar.
What can i do to display the search result on "main screen" with correct design?
[Design Elegantblue]
P.S.: Sorry for my bad english, i hobe someone understand my question
Posts: 166
Threads: 24
Joined: Jul 2012
2014-08-16, 00:03:28
(This post was last modified: 2014-08-16, 00:12:56 by lnickel.)
(2014-08-15, 15:22:25)BigChris Wrote: I am complete new in webdesign and GetSimle, and try hard to add a search to my site.
In the sidebar, i put this code to a component:
Code: <?php get_i18n_search_form(array('slug'=>'search')); ?>
Then, i create a site search with slug=search, with the code
If i use the search, soemthing went wrong with the design of the page and the result seem to display in the sidebar.
What can i do to display the search result on "main screen" with correct design?
[Design Elegantblue]
P.S.: Sorry for my bad english, i hobe someone understand my question
So you created a page and put the (% searchresults %) in the editor for your results to show and it shows up in the sideabar. hmmm...
Perhaps there is an open or missing div tag somewhere. I would wrap that search in a div in the search slug page. Its most likely that because from what you wrote, it seems you are doing the right process.
If you use firefox you can look at the source and if you have an open tag it will show red somewhere. Also, chrome, firefox and explorer have the ability to add on extensions to help web developers troubleshoot. On firefox there is a neat very handy extension called firebug. That will help. Good to have in your arsenal.
PHP Code: <div>(% searchform %)</div>
Posts: 8
Threads: 2
Joined: Aug 2014
Thanks for reply, but i can't find something
Posts: 166
Threads: 24
Joined: Jul 2012
(2014-08-16, 04:16:46)BigChris Wrote: Thanks for reply, but i can't find something
No on ever really tells you that troubleshooting is going to the biggest part of development. The biggest
I would try maybe using another theme and see if you get the same results. If so then perhaps there is something in the plugin. If not, then its in the theme. Do you have this up live? Maybe send a link in a private message of course.
Posts: 116
Threads: 8
Joined: Oct 2011
2014-08-24, 21:52:47
(This post was last modified: 2014-08-24, 23:24:00 by Lars.)
Hi!
Great plugin :-)
Is there a posibility to
a) set minimum tag lenght to e.g. 5? Bbecause I use tags for some internal identifications and any number will appear in the tag cloud, its not really nice...
- Solved, by adding a leading "_" to each number.
b) disable the search form if you use the tag cloud?
- Solved by setting the class tag to "visibility:hidden"
Best
Lars
Posts: 4
Threads: 0
Joined: Aug 2013
2014-08-27, 21:53:47
(This post was last modified: 2014-08-28, 04:12:44 by anteroom.)
SOLVED! Code-inside-form mistake!
Code: <form> ... get_i18n_search_form() ... </form>
WRONG!!
-------------------------------------------
Hi, I have a problem, already spent two hours on this
I feel I'm missing the point or sth
1. I created a page in the editor with slug 'search'
2. I put the code in the sidebar
Code: <?php get_i18n_search_form(array('slug'=>'search','GO'=>'Szukaj','PLACEHOLDER'=>'Wpisz szukane słowo')); ?>
3. URL of the page with sidebar is as follows
Code: http://www.domaincom.com/somepage/
but when i enter sth in the search input and hit the button my URL goes like this Code: http://www.domaincom.com/somepage/?tags=&words=test&search=Szukaj
so it does not go to the search page
What is more important, the cloud or the search from http://www.domaincom.com/search page sidebar works OK.
Posts: 2,094
Threads: 54
Joined: Jan 2011
(2014-08-27, 21:53:47)anteroom Wrote: 1. I created a page in the editor with slug 'search'
2. I put the code in the sidebar
Code: <?php get_i18n_search_form(array('slug'=>'search','GO'=>'Szukaj','PLACEHOLDER'=>'Wpisz szukane słowo')); ?>
3. URL of the page with sidebar is as follows
Code: http://www.domaincom.com/somepage/
That should be fine - as long as you use a western l and not the crossed polish one in "slug" ;-)
I don't see what the problem might be :-(
Posts: 4
Threads: 0
Joined: Aug 2013
Thank u mlvcek. Obviously it was my school mistake.
I didn't notice that outside of a sidebar.php include I've still got open <form> tag from the beginings
It was sth like :
Code: <form> ... <?php get_i18n_search_form() ?> ... </form>
Anyway, thanks for the response ... and I just want to say "Muchos gracias" for all your work on your plugins, without people like you .. the world would be a much more darker place ... Greetings!
Posts: 87
Threads: 1
Joined: Nov 2012
Hi mvlcek, first off - thanks for all of your amazing plugins! They are part of the core of every site I build - you're a genius =)
I'm curious how I can create a pretty URL from the rather ugly one I see when I use "showPaging" to look through customer reviews - for instance:
Current URL: www.mydomain.com/reviews/?tags=&words=&search=&page=5
Desired URL: www.mydomain.com/reviews/page-5/
I just don't know how to achieve this with .htaccess - any help you can offer is most appreciated!
|