Forum Replies Created
-
AuteurArticles
-
5 December 2010 at 16:55 in reply to: xili-language 1.8.8 : widgets are now integrated in one plugin #2531
After upgrading xili-language to 1.8.8, you can see a red message in plugins list.
No trouble, it is only because now, the widgets provided are not in a separate plugin but integrated in main plugin and activated by default.
In addition, through settings UI, you are able to disable xili-language widgets.
dev.xiligroup.com へようこそ。これは最初の投稿です。
(The « Welcome first post » translations are kept in ja.po of japanese WP installation download kit – Please comment in english… !
I download Hybrid and will give soon results of X-Ray evaluation !
Updated after a quick look….
The theme’s source is very complex and not very WP academic – some errors are displayed by xili-language because the theme don’t use standard naming for .mo file (fr_FR.mo or it_IT.mo…) – (so difficult to use with xili-dictionary)… The menus work after two visits in admin menus page and hybrid menu page (to see the location and widget compatibility… and after saving… languages list appear after the items set in menu pages…
What I can say now : test your site with twentyten-xili… and after choose a shortlist of themes and I will help you to choose a well designed in code side…
Keep me informed
Michel m.d.
I think you must study the powerful and highly customizable xili-postinpost !!!
28 November 2010 at 15:13 in reply to: xili-postinpost: able to control when to display the result… #1873The hightly customizable plugin xili-postinpost is able since version 0.9.2 to display the result of the query according time or date.
Below one attachment appear in the morning and another appear in the afternoon
[xilipostinpost query="attachment_id=1875" from="****-**-** 00:00" to="****-**-** 12:00" expired="this is afternoon" beforeall="
" afterall="
" showcontent=1 showexcerpt=0 ]
[xilipostinpost query="attachment_id=1876" from="****-**-** 12:00" to="****-**-** 23:59" expired="this is morning" beforeall="" afterall="
" showcontent=1 showexcerpt=0 ]
The date kept is the date of the server that is set in General Settings of WP dashboard. Two shortcodes are present in content of the post and the query is here for the afternoon image: query=’attachment_id=1876′ to demonstrate that xili-postinpost use current WP loop syntax.
More infos here how to configure shortcodes !
27 November 2010 at 21:42 in reply to: Widget tidy-tags: is it possible to display all tags without groups ? #2813To display all tags without groups, the two popup must be left to « Choose… », so the values are empty and widget displays all the tags in a cloud where you can specify the style, size and order, orderby….
27 November 2010 at 19:29 in reply to: xili-dictionary v. 1.3.1 shipped: More links in backend to go from original term #2527Since 1.3.1 shipped today, xili-dictionary add translation links between
msgid
and (existing – or not)msgstr
for each target language to help work of translator. See http://wordpress.org/extend/plugins/xili-dictionary/screenshots/27 November 2010 at 19:22 in reply to: xili-tidy-tags v. 1.5.1 shipped: widget easier to setup with popup for groups… #2526xili-tidy-tags v. 1.5.1 is released. For webmaster using widget, it is now easy to choose the group in backend side… By example, just choose the good line of popup to display the tags associated to the current category or (if xili-language is active) these linked to the displayed language…
This week was marked by exchange with a xili-language user about an error that occurs when reactivated after updating : some extracts.
QThe latest 1.8.6 update is causing this error on my WP 3.0.1 install. Any idea?
[23-Nov-2010 23:02:29] PHP Fatal error: Call to undefined function wp_get_current_user() in /home/jujucom/public_html/wp/wp-includes/capabilities.php on line 1059
R
When occurs this message ?
– when you activate xili-language plugin ?
– on admin or end-user side ?
– are you in mono or multisite mode ?
what is your plugin list ? – I will try to reproduce ?
It is very strange, because this plugin don’t call function where from the error…
function current_user_can( $capability ) {
$current_user = wp_get_current_user(); // line #1059After investigations
The faulty is a plugin named theme-test-drive. His code is not based class architectured (impossible to order activation with action) and it uses two filters which are not restricted when enable.
I have reproduced the errors due to the filters (hack) of TTD
add_filter(‘template’, ‘themedrive_get_template’);
add_filter(‘stylesheet’, ‘themedrive_get_stylesheet’);
Effectively, I need current template and stylesheet options called by core wp functions to automatically detect the current value of theme, but TTD add these filters without conditions and transform the value BUT also TTD introduce conditions by getting if current_user_can w/o testing if this function is present.
I will study an elegant solution for testers like you but adding online theme testing in CMS multilingual dedicated for end user is a little perilous !
THE SOLUTION
here below the patch to encapsulate the two filters around line #300 in TTD
/**
* © dev.xiligroup.com 2010-11-24
* to avoid side effects of filters call everytime
*
*/
add_action('plugins_loaded','TTD_filters'); // because filters call current_user_can and other plugins need raw value from options
function TTD_filters () {
if ( !is_admin() ) { // not needed in admin side
add_filter('template', 'themedrive_get_template');
add_filter('stylesheet', 'themedrive_get_stylesheet');
}
}It is a working solution and the author of TTD is informed.
21 November 2010 at 11:00 in reply to: xili-language : installation with a child theme of twentyten #1855This week-end, xili-language has reached 16001 downloads !
[caption id="attachment_1856" align="aligncenter" width="300" caption="xili-language at 2010-11-20 22:30"][/caption]In a series of articles in demo multilingual website, a twentyten-xili child theme of default twentyten is shipped to show how child approach works and how to setup a simple multilingual site.
[caption id="attachment_1857" align="aligncenter" width="300" caption="multisite demo english"][/caption]
These posts also concern the other plugins of xili-language trilogy.It is also an opportunity to discover some core mechanisms of CMS in multilingual context powered by xili-language.
This series will be completed week after week.
Hope a good reading.
(don’t hesitate to comment and afford experiences)
-
AuteurArticles