fers
Forum Replies Created
-
Hi thanks for your immediate response. Unfortunately, the issue is still there. I installed latest update, but had to revert to 1.22.5 again.
Forum: Plugins
In reply to: [Contextual Related Posts] cache output and qtranlaste-xHi, Yes I know. All translations are stored under the same (only one) post ID as the original language version, separated by tags that denote where each language starts and ends.
Forum: Plugins
In reply to: [Contextual Related Posts] Empty DIV BoxForgot to mention that in crp’s “output settings” I have chosen the “blank output” option, instead of displaying “no related posts found”. And still outputs a DIV.
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEPerfect. Tried it and it works this way!
Much more elegant and useful.Now the question is, will you apply this modification in your next release so that I don’t have to patch the plugin everytime you upgrade?
Thanks!
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATENo, it did not. The trick was somewhere else.
At Line 98, I tried the following and yes, this cures the bug!if(!$is_widget) {
if(function_exists(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’)) $title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($crp_settings[‘title’]);
$output .= (stripslashes($title));
}My question now is, do you plan to insert this in a future update? Otherwise each time your plugin has a new version, the problem would reappear.
Thanks!
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEAjay, disregard my last email please. The code you told me to insert is the one in the previous email, if(function_exists(‘qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage’)) ….
So, added it after line 79, and still the title of the lest’s call it “CRP Box” shows the multilingual string.
Fers
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEHi Ajay, I’m REALLY sorry for the misleading info. ??
Look, the line of code you just told me to add after line 79 is already there (in line 79!).
Maybe you pasted line 79 itself in your last reply?Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEUpdate. As I said before, I am not using the widget mode, but instead the option that injects CRP at the end of post content, and in this scenario, the bug exists. However, just for testing I also added CRP as a widget from the widgets menu in WP, and in this case it works flawlessly. The title of the widget displays only the correct language.
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEDone. No effect unfortunately. Still getting
[:en]Title[:es]Titulo
as the output.
??
By the way… Is it a “widget” properly speaking? Because CRP in fact inserts its output below the post content in my case. Not using it as a “widget” from the “widgets” menu in the WPtheme.
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEStandard “Recent posts” plugin in twenty Ten gets its widgets title translated through qTranslate, for instance.
Maybe this helps?
https://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=294Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATENo idea honestly, I will investigate a bit so that maybe we can sort this out. But it’s got to be a trivial matter I hope ??
Forum: Plugins
In reply to: [Contextual Related Posts] CRP & QTRANSLATEWhat Qtranslate does is to store each post’s title and contents within wp’s database in multiple languages, but under the same post id. Each text block is preceeded by a shortcode that “marks” the start and end of the translated string/text, then at the time of displaying the post in, let’s say English, it filters the content leaving just the desired language visible. And all this works perfect with CRP. CRP shows the post titles in the correct language in the widget.
It’s only the widget TITLE the one that does not play well and does not get translated (instead it shows the full multilanguage string along with qtranslate’s shortcodes). Weird!