2011-04-06, 06:36:10
Can I add a folder "data/articles"to search for
Search plugin (I18N)
|
2011-04-06, 06:36:10
Can I add a folder "data/articles"to search for
2011-04-06, 07:59:51
Oleg06 Wrote:Can I add a folder "data/articles"to search for No, the Search plugin only searches the pages.
2011-04-06, 18:50:13
and why news stopped working?
2011-04-06, 21:02:56
Oleg06 Wrote:and why news stopped working? Did you change the call (in the component) after the upgrade to I18N Search 1.0?
I put in the components
Code: <?php get_i18n_search_results('news', null, 'No news found', 'l, F jS, Y - g:i A', 15, -1); ?> Code: <?php get_component('news'); ?> http://neowebtime.ru/1/news http://neowebtime.ru/1/news/news-20110101-1544 previous plugin works http://neowebtime.ru/2/news/
2011-04-07, 01:49:48
Oleg06 Wrote:I put in the components The call syntax changed (and there was a small bug - please download version 1.1), just put the following text in your page (the component isn't needed anymore): Code: (% searchresults tags:news max:15 numWords:-1 %) You can find more information on the Plugins/Search configuration page in the admin back-end.
2011-04-07, 02:00:31
Angryboy Wrote:Is your search function able to sort the data by page name/slug? I was thinking this may be an easier thing for ensuring an order when articles are retrospectively edited (ie having year-month-date in decending order at the beginning), because then you need to re-save them in the corresponding order to get the original order back. The new version 1.1 of the Search plugin features:
ad creation date: the creation date attribute (creDate) must be stored in the page file, otherwise the publishing date is used. The I18N CustomFields plugin automatically stores the creation date for new pages (and those updated for the first time).
Thanks, it works
but as a sidebar to place?
2011-04-07, 02:57:30
Oleg06 Wrote:Thanks, it works Code: <?php get_i18n_search_results(array('tags'=>'news','max'=>15,'numWords'=>-1)); ?>
2011-04-07, 04:13:53
Well 'eff me running. I didn't think you'd get to making those adjustments and then some in this space of time. This is the most complete Search plugin for GS to date, and (when combined with the CustomFields plugin) provides everything necessary for a core news plugin! You've done it again, mvclek.
If you aren't working on a standalone news plugin, this is quality stuff for someone confident with utilising GS, and they can get exactly what they want out of it. However, because it is a little "piece-meal" in this respect (and in all honesty it needs to be in order to have the utility it does), it may scare away some newcomers just wanting a quick way to blog/display news. If you could, it'd be nice to take the essential elements from this and the CustomFields plugin and tailor them into one easily approachable package for producing articles, because that result and roog's News Manager would give GS two solid and easily approachable news systems.
Thanks on page news in the sidebar appeared lines
Code: Fatal error: Cannot redeclare i18n_compare_search_results_score() (previously declared in /home/cp068800/public_html/neowebtime.ru/1/plugins/i18n_search/search.php:2) in /home/cp068800/public_html/neowebtime.ru/1/plugins/i18n_search/search.php on line 9 For some reason the search does not search for words with a hyphen (polling-booth, ÑÂðùт-òø÷øтúð)
2011-04-07, 22:25:08
Oleg06 Wrote:Thanks on page news in the sidebar appeared lines This happens if two search results are visible at the same time - I will correct it. Thanks for testing. Oleg06 Wrote:For some reason the search does not search for words with a hyphen (polling-booth, ÑÂðùт-òø÷øтúð) No it doesn't because it splits the text into words on character boundaries - polling and booth are treated as separate words. You need to search for "polling booth" but it will find any page that has "booth" and "polling" on it.
2011-04-08, 05:48:16
Oleg06 Wrote:Thanks on page news in the sidebar appeared lines Fixed in version 1.1.1.
oh yeah, thanks again
but is it possible to add the ability to create news for the other tag, such as tags:blog Code: (% searchresults tags:blog max:2 numWords:30 %)
2011-04-08, 06:35:15
Just give a page the tag 'blog' (or literally anything else) instead of 'news' and that does it.
http://neowebtime.ru/1/blog
I've tested it, does not work on page Code: (% searchresults tags:blog max:2 numWords:30 %) on tags 'blog' although in the sidebar it works Code: <?php get_i18n_search_results(array('tags'=>'blog','max'=>1,'numWords'=>30)); ?>
Really? On this page I have the following code:
Code: (% searchresults tags:news max:5 showLanguage:0 showDate:0 order:reverseurl HEADER:News %) And on this test page I have the following code: Code: (% searchresults tags:podcasts max:5 showLanguage:0 showDate:0 order:reverseurl HEADER:News %) And both seem to display just fine, assuming that the tags are correctly spelt on both the pages and within the codes.
2011-04-09, 06:24:51
Thanks, it works
I put the following code in the sidebar Code: <?php get_i18n_search_results(array('tags'=>'podcasts','max'=>1,'numWords'=>30,'HEADER'=>ÃÂþòþÑÂтø)); ?> Code: Notice: Use of undefined constant Ñûþó - assumed 'Ñûþó' in /home/cp068800/public_html/neowebtime.ru/1/admin/inc/theme_functions.php(583) : eval()'d code on line 20
I'm trying to get the script to work but I can't...
Where should I put the (% searchform %) (% searchresults %) because look at what it's giving me http://www.oxyda.net/index.php?id=search I must do something wrong or i'm just too tired to see it lol PS. My website is in french I don't know if it has something to do.
2011-04-10, 00:41:44
try to install the plugin http://get-simple.info/extend/plugin/dynpages/81/
2011-04-10, 00:43:39
djburnout Wrote:I'm trying to get the script to work but I can't... The only way to get this result with an active I18N Search plugin is, if you have entered entities, e.g. Code: (% searchform %) or something similar in the source code view of the page editor. Goto the page, make sure (% and %) are displayed in the text and source code view and save again.
the source code is :
<p> (% searchform %)<br /> (% searchresults %)</p> And i'm gonna try the plugin dynpages Same problem with the plugin, if it can help here's my list of plugin : dynpages hitcount i18n_search exec-php
2011-04-11, 07:29:34
dah nvm I can't get it to work so I just removed it.
2011-05-08, 10:53:18
mvlcek,
I'm using 1.1.1 and testing the "news blog" usage. In the generated results list of available pages, the page's URL has Code: ?lang=en appended (there's only one news article yet). Please note that there's a space before ?lang=en. Clicking that URL generates a 404. No other URLs in my site has any lang suffix as far as I can tell. I previously had the default language of my user set to en which I edited to be de now. I read through the help pages for the plugin and found the following sentence which I don't quite get: Quote:To switch the language for the current session, add links like http://my.site/?setlang=de (German) to your template or home page. I added such a link to the homepage (edited to match my domain) and clicked it, hopefully removing the English lang setting. It didn't work. I noticed that the search form for regular searches is displayed in English as well. Any idea? If you need more info, I'll gladly provide it.
2011-05-08, 15:57:21
polyfragmented Wrote:mvlcek, The blank should not happen - and looking at the source code, it can't happen ;-) Can you give me a link to your site? polyfragmented Wrote:I previously had the default language of my user set to en which I edited to be de now. I suppose that means changing it in the admin I18N pages view and then saving? polyfragmented Wrote:I read through the help pages for the plugin and found the following sentence which I don't quite get: This has nothing to do with the default language.
polyfragmented Wrote:I added such a link to the homepage (edited to match my domain) and clicked it, hopefully removing the English lang setting. It didn't work. I noticed that the search form for regular searches is displayed in English as well. Regarding the link see above. If you have the pages "index" (in German) and "index_en" and you have set your default language do "en" the plugin will assume that the pages without suffix are Englisch. |
« Next Oldest | Next Newest »
|