2012-10-05, 20:19:09
i want to add only tags in the sidebar. one tag in one line.
formatting of all tags same.
what should i add to template?
formatting of all tags same.
what should i add to template?
Search plugin (I18N)
|
2012-10-05, 20:19:09
i want to add only tags in the sidebar. one tag in one line.
formatting of all tags same. what should i add to template?
2012-10-05, 20:31:43
mus.aqeel Wrote:i want to add only tags in the sidebar. one tag in one line. Template to have all tags the same size: Code: <div class="tags"><?php get_i18n_tags(array('minTagSize'=>100, 'maxTagSize'=>100)); ?></div> CSS to have one tag per line: Code: .tags span.tag { display:block; }
2012-10-05, 21:13:50
thank you very much for help.
it works. but why tags have no links?
2012-10-05, 21:40:25
mus.aqeel Wrote:thank you very much for help. If you want links, you need to add the parameter slug with the slug of your search page, e.g. assuming page search: Code: ...<?php get_i18n_tags(array('minTagSize'=>100, 'maxTagSize'=>100, 'slug'=>'search')); ?>...
2012-10-05, 21:57:56
Quote:If you want links, you need to add the parameter slug with the slug of your search page, e.g. assuming page search i did it, but again tags in one line, not every tag in separate line. how to correct it?
2012-10-05, 22:02:20
mvlcek Wrote:mus.aqeel Wrote:Hi. mvlcek. To display a more button, use Custom Rendering. I tried to understand Custom Rendering but it is difficult for me. give me instuctions, please.
2012-10-05, 22:08:08
mus.aqeel Wrote:Quote:If you want links, you need to add the parameter slug with the slug of your search page, e.g. assuming page search If you look at the HTML code of your site, you will probably see that the tags are within as instead of spans - so change the CSS appropiately.
Hi! I'm using most of the I18N system, but I'm having a few problems with the search plugin:
My search form is embedded in the template, and I have a search results page that displays the (% %) form tag, if that helps at all. Thank you!
2012-10-10, 13:23:13
mvlcek Wrote:thanks. I changed CSS. everything works.mus.aqeel Wrote:Quote:If you want links, you need to add the parameter slug with the slug of your search page, e.g. assuming page search
2012-10-29, 17:33:09
How to add with this plugin Related Posts?
as is done here on the forum, after reports, Similar topics..
2012-11-02, 05:19:42
(This post was last modified: 2012-11-02, 06:01:49 by volaverunt.)
I have my web page with the GetSimple's system, but I need all posts in a special order.
If for any reason need modify some post, maybe for error or change of template, the plugin "I18N Search" show first the post modified, and no respect my order, the original order. Like a news of July at the position and with October data! I tried with "order:created" , but it's not my solution. I need the original order, no matter if I change the information. Somebody help me. Thanks! Sorry for my english, I used translator for help. (2012-11-02, 05:19:42)volaverunt Wrote: I have my web page with the GetSimple's system, but I need all posts in a special order. Here the solution: http://get-simple.info/extend/plugin/pub...-date/318/ . Or see the answer by Carlos for my thread: http://get-simple.info/forums/showthread...2#pid29472 .
I speak spanish, sorry for my english. I'm learning english with GetSimple too... LOL!
.
I have written a little script that provides "fuzzy" suggestions in the event that a search query returns no results (usually due to a miss-spelling).
Quote:Sorry, I didn't find anything that matched your query: "typografy behavier" The suggestion is rendered as a clickable link that submits the suggestion back to the search engine. The code is available [here on GitHub] To use, simply open the file searchresults.php from the i18n_search directory into a text editor and insert the new code after the following line: PHP Code: <p class="search-no-results"><?php echo htmlspecialchars($notFoundText); ?></p> Try it out with the search engine on my site at: https://www.perpetual-beta.org/ (sorry, search is no longer available on my website) That's all folks!
2012-12-07, 23:00:58
Martin, is there a way to filter search results to not include other plugin's code ?
I'd like to get rid of - among the others - gallery code in SERPs.
Addons: blue business theme, Online Visitors, Notepad
2012-12-19, 10:06:25
Anyone know a php snippet I could use to pull search results for the blog pages, display only the title of the post and force it in to an unordered list to display like the most recent 5 or 10 posts in the side bar?
2012-12-21, 03:50:01
(2012-12-19, 10:06:25)bhwebco Wrote: Anyone know a php snippet I could use to pull search results for the blog pages, display only the title of the post and force it in to an unordered list to display like the most recent 5 or 10 posts in the side bar? Let's say your blog posts are subpages of a page with slug blog. Create a component named e.g. recentpage with this content: PHP Code: <a href="<?php echo $item->link; ?>"><?php echo htmlspecialchars($item->title, ENT_NOQUOTES); ?></a> Insert this in your sidebar (or template): PHP Code: <?php get_i18n_search_results(array( (Thanks to I18N Search custom rendering)
2013-01-12, 20:23:19
I was having a problem when testing in Windows (XAMPP): dates in search results were displayed in Estonian instead of Spanish (Español).
I fixed this by editing i18n_search/lang/es.php and replacing: PHP Code: , 'DATE_LOCALE' => "es_ES.utf8,es_ES,es" by: PHP Code: , 'DATE_LOCALE' => "es_ES.utf8,es_ES,esp,spanish,es" I'll update the Spanish language file in Extend (and I hope mvlcek will update it in his plugin in a future release). (I don't know if other languages may have similar conflicts...)
2013-01-12, 21:59:40
on your website says the following
Code: (% searchresults tags=products component=renderproduct %)
2013-02-20, 02:01:48
Hello guys, I'm a bit in trouble with permalinks in a 3 languages website. I'm trying to do a blog-like section as suggested in this post by Oleg06: http://get-simple.info/forums/showthread.php?tid=2475
with the i18n search function, and everything worked fine until I changed to a custom permalink structure. My permalink stucture is a "standard": Code: %language%/%parent%/%slug%/ I've used this snippets to get the lists of articles: Code: (% searchresults HEADER: i18n:0 numWords:80 tags:ricette order:reverseurl lang:fr %) and the link of the results lists are generated with a "useless" _en or _it appendix, which breaks the links. eg. My page url is mysite.fr/en/pagename, but the link generated by the search engine is mysite.fr/en/pagename_en = 404. Obviously if i cut the _en the page works fine...how can I change this? Thank you very much!! Have a good day
2013-02-20, 02:18:26
(2013-02-20, 02:01:48)-FrA- Wrote: My permalink stucture is a "standard": The documentation says "If you use the I18N plugin, but only have one language, you can add the parameter i18n=0". As you clearly have more than one language, you have to remove this parameter.
2013-02-20, 03:11:06
(2013-02-20, 02:18:26)mvlcek Wrote: The documentation says "If you use the I18N plugin, but only have one language, you can add the parameter i18n=0". As you clearly have more than one language, you have to remove this parameter. Many thanks mvlcek!!! I completely missed that! I started with that snippet adapted from Oleg06's original one Code: <?php get_i18n_search_results(array('tags'=>'blog', 'DATE_FORMAT'=>'', 'max'=>4, 'i18n'=>0, 'lang'=>'ru', 'numWords'=>'1p','HEADER'=>'')); ?> which worked well with I18N activated before the permalink update... Thank you very much for your quick and resolving reply! Have a good day!
2013-02-20, 23:16:52
Hi All,
While trying to build a bilingual site using BlueBusiness template, I found a context searching issue didn’t encounter before. The languages I am using are Traditional Chinese, zh-TW, and English. Let me use a simplified notion to explain: eg. (a sentence) KkGgAaBbBbLlOoGgMmJjPp….. (I use One Uppercase and one lowercase to mimic one double byte Asian Character, or a “wordâ€Â) It looks like the i18n search can only find KkGgAa (must have 3 + characters) correctly, with leading space here! To make a meaningful keyword set (AaBbBbLlOo) searchable, I have to put the sentence like: KkGg_AaBbBbLlOoGgMmJjPp….. or KkGg_AaBbBbLlOo_GgMmJjPp….. to make the [AaBbBb… ] combination searchable. (_: space) This is insane in terms of publishing. Other than using Tags & Keywords field, is there any clean and easy fix to this limitation? Thanks for any input.
2013-02-21, 01:24:52
I18N Search searches for words (or the x first characters of words), where one word is defined as all "word characters" between "non word characters". With Chinese having one character = one word and no non-word characters I fear there is no easy way to fix this.
In order to return relevant results, you have to enter at least 3 characters of a word, otherwise it will only match exactly that word, e.g. "no" will only match "no" (but not "not"), while "not" will match "not", "note", "notice", etc. This you can easily change by searching for 3 in search.class.php and replacing it with 1.
Hi!
I've just noticed that the search plugin is not working with the latest jquery 1.9.1. Live search doesn't work. I tried a bit around, but I admit, I have no idea how to fix it... Is there an updated planned, or does anybody know what is the latest version of jQuery, which I can use to have all functionallity? Many thanks for some hints!
2013-02-25, 03:53:25
(2013-02-23, 03:27:05)retrofan Wrote: Hi! As far as I know, the 1.8.x versions should work. I'll try to support 1.9.x in the next release of I18N Search.
2013-02-25, 14:14:52
I have put certain tags in my pages. I am not using a tag cloud anywhere but have inserted words in my content corresponding to the tags. I want to link these words so that clicking on them will take the user to a page which contains excerpts of all pages with the same tag.
What is the link code to be used here? |
« Next Oldest | Next Newest »
|