xanathon
Forum Replies Created
-
Forum: Plugins
In reply to: [Ceceppa Multilingua] internal Links do no longer workIf I reactivate Ceceppa I cannot see my pages in the backend anymore, so no editing and reposting possible.
If I deactivate it again, I can see the pages.
Forum: Plugins
In reply to: [Ceceppa Multilingua] internal Links do no longer workYes, inside a post or page and the links are supposed to bring you to another internal post or page. The links look correct, but if I click them I get the redirection-error.
Forum: Plugins
In reply to: [Ceceppa Multilingua] Current theme … doesn't support localizationActually it does work, but the po-file created by Ceceppa is way smaller than the original file provieded with the theme.
Forum: Plugins
In reply to: [Ceceppa Multilingua] Current theme … doesn't support localizationNope does not work. The already existing en_US.po is ignored and overwritten.
Forum: Plugins
In reply to: [Ceceppa Multilingua] Current theme … doesn't support localizationokay, I did this:
in the theme’s functions.php I added:
add_action( 'after_setup_theme', 'retro_load_language' ); function retro_load_language() { load_theme_textdomain( 'retro', get_template_directory() . '/languages' ); }in the theme’s style.css I added to the header:
Textdomain: retro Domain Path: /languagesThat seems to work, I now can translate the theme in Ceceppa.
Forum: Plugins
In reply to: [Ceceppa Multilingua] Current theme … doesn't support localizationThanks for the info.
The theme has a .po file in the theme directory. Where does Ceceppa look for it? I could for example crate a subfolder and copy the .po file there.
Okay, this works. I will probably publish this very basic plugin. ATM it is of very limited scope as I just needed a language-specific sitemap of pages. But as it is probably useful for someone even in this simple state I guess I will publish it after a little polishing.
I will then inform you.
Keep up the good work and thanks again! 🙂
I am trying to code something.
Just for info:
In your reference of usable functions you describe the function
cml_get_language_of_post( $post_id )that does not exist. The correct name is
cml_get_language_by_post_id( $post_id )Forum: Plugins
In reply to: [Ceceppa Multilingua] get_the_date() does not support parameters?Marking topic as solved.
Forum: Plugins
In reply to: [Ceceppa Multilingua] get_the_date() does not support parameters?That works.
Thank you very much for the fast help.
Just donated some Euros as a token of my gratitude!
Forum: Plugins
In reply to: [Ceceppa Multilingua] get_the_date() does not support parameters?I tried this:
function get_the_date( $d ) { global $post; if( empty( $d ) ) { $format = $this->_current_language->cml_date_format; } else $format = $d; if( empty( $format ) ) $format = get_option( 'date_format' ); $the_date = mysql2date( $format, $post->post_date ); return $the_date; }But then the returned value is:
DiUTC350UTC12bUTCTue, 17 Dec 2013 15:39:29 +0000if I provide “F” as a formatstring. “j” does seem to work, however. “M” returns values like FrUTC360 or +0000k31
Forum: Plugins
In reply to: [Ceceppa Multilingua] get_the_date() does not support parameters?Thank you very much for the fast reply!
Unfortunately this does not work. If I replace the function, I get the following error at the date position:
Warning: Missing argument 2 for CeceppaML::get_the_date() in /var/www/web8/html/wp-content/plugins/ceceppa-multilingua/ceceppaml.php on line 3499AFAIK get_the_date() only takes one parameter, the format string.
But if I remove $the_date from the parameter list the fields in the html are empty, I guess the function does not return any data.
Forum: Plugins
In reply to: [Social] wrong imageWell, but if I post manually, Facebook fetches the right image 9 out of 10 times. So posting via Social is not a viable alternative at this time, especially if i have to fiddle and configure yet another plugin for it to work.
Forum: Plugins
In reply to: [Social] wrong imageI have the same problem. The images send to facebook seems to be a random image from the page, regardless of if I set a featured image or not.
Forum: Fixing WordPress
In reply to: Visual Post Editor slow on Firefox 13 in Windows 7 64 BitUpdate: tested with Waterfox (64 Bit version of Firefox) the problem is the same.
[ Please do not bump, it’s not permitted here. ]