hp_angel
Forum Replies Created
-
Forum: Plugins
In reply to: [Relations Post Types] Preview not workingI found the solution !
In /views/admin/metabox.php, replace:
<?php submit_button( __( 'Search', 'relation-post-types' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
by :
<?php submit_button( __( 'Search', 'relation-post-types' ), 'quick-search-submit button-secondary hide-if-js', 'submit-relation-post-types', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
The name of the extension submit button was in conflict with the preview submit button.Forum: Plugins
In reply to: [Relations Post Types] 2 bugs in the exampleI simplifed the display function to make it works correctly with use of get_the_ID and wp_list_pages functions:
$related_pages_ids = rpt_get_object_relation(get_the_ID(), 'page'); if ( is_array($related_pages_ids) ) { echo '<ul>'; $liste_id = implode(",", $related_pages_ids); wp_list_pages('include='.$liste_id.'&title_li=<h2>' . __("Related pages") . '</h2>' ); echo '</ul>'; }Forum: Plugins
In reply to: [Coming Soon / Maintenance mode Ready!] Better documentation needed1) Perfect, it works!
2) admin_email is a WordPress option which contains my email address / blog administrator email address(let’s see in Codex: http://codex.wordpress.org/Function_Reference/get_option). Was it your question?
Thanks!
Forum: Plugins
In reply to: [Coming Soon / Maintenance mode Ready!] Better documentation neededHi,
1) Thanks for common.ini, it works, I just have a problem with expression using the ponctuation mark ! in the english version.
Just see it with an example from common.ini:
Thank you for subscription!=”Merci de votre inscription !” causes errors (“Warning: syntax error, unexpected ‘!'”).2) I didn’t used the good word, I meant “sender email” 🙂
When someone subsribes, he receives an email, the “from” is empty. I notice that in \modules\messenger\mod.php, your function “send” is defined like this:public function send($to, $from, $fromName, $module, $template, $variables)
and that in \modules\subscribe\models\subscribe.php, the second parameter is still get_bloginfo(‘name’) in place of get_bloginfo(‘admin_email’) (or another parameter that should be changed in the plugin options).
That’s why I see problem in Gmail when I receive emails from the plugin…Forum: Plugins
In reply to: [Coming Soon / Maintenance mode Ready!] Better documentation neededHi,
I activated your plugin for a new website (coming soon mode), great idea! i have two questions:
First, I’d like to translate parts of templates (subscribe button, confirmation messages), but don’t really understand how to do it correctly (I saw a lang directory but there isn’t any indication)… Could you please give instructions ?
Another thing : I have a problem with the expedition email, there is no expedition email in emails I receive from the plugin, is it a bug ?
Thanks in advance for your answers 🙂
Thanks for your answer!
Do you think it could be possible to make the plugin scanning another repertory (in the theme for example) to find personnalized CSS for NextGen ScrollGallery?