pankamilr
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Displaying form valuesForum: Plugins
In reply to: [Advanced Custom Fields: Extended] Displaying form valuesOk it turns out that when I add action called
Post action
then I saw how is it working but IMO it’s a bit misleading. What is the purpose of usingCustom action
hook when values aren’t loaded back to the form? I can load them when I usePost action -> Load
tab.Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Displaying form valuesI see that no one want’s to help me so maybe I will extend my question, maybe Author will read it again ??
I use “Form” from ACFE to create a form based on field group and I put
[acfe_form name="some-name"]
in template file and form was printed correctly. I filled the form with some data and submit the form. I’m handling form data with action hookacfe/form/submit/some-name
and save data to the database withupdate_field
function. It worked as supposed. Database was updated. Then I refresh the page with form and… the form is empty. Why form was not pre-filled with saved DB values?I did some debugging and take a look how this forms are rendered and i found
acfe_form_front::render_form($args)
method and inside this method is called$this->render_fields($args, $fields)
method and finally inside this method is doneacf_render_fields
function (acf core function) where second parameter should be$post_id
defining ID of the post where the form is rendered BUT instead of ID of a post there is provided someacf_uniqid('acfe_form')
value which don’t know how it’s connected to the post and I assume that’s why values aren’t loaded in form.Can Author describe me how this should work and why/how values aren’t/should load to the form. I really need to know ?? Thank you in advance
- This reply was modified 3 years ago by pankamilr.
Forum: Plugins
In reply to: [SMTP Mailing Queue] Where is the data file stored?If you inspect the code you will see that all records are stored as json files under your upload directory. There will be directory called “smtp-mailing-queue”,
I think you just need to delete the files and then your queue will be “empty” ??- This reply was modified 7 years, 10 months ago by pankamilr.
oh, update: in IE9 wp_editor is down not only if simplefields generates another editor. it crashed anywhere when simple fields is loading.
same here.
I found out that in IE9 my post/page edit screen editor is crashed when i have added simple fields with another tinymce editor. What may cause this?@photocrati – yes I want to disable (dequeue) all NGG from Post/Page/CPT edit panels. I want to disable it only from one custom post type edit screen so I will check this with ‘if’ statement. So… can you help me with this dequeue files?
@photocrati – i figured out that ngg has a conflict with simple fields plugin and when i have extended tinymce editor from simplefields than ngg crashes whole edit page. I can’t write or edit content because editor is down. My whole point is (and I’m not alone with that thoughts, issues from this support shows that) that “new” ngg (>1.9) is the best gallery plugin … in clean wordpress instance. When you want to add some more plugins you’ve got 95% sure that your site is going to blow up because of ngg. Wired ??
OK. But let’s get back to my problem. What can I do (i mean what kind of hook do i have to add) to dequeue all ngg scripts from edit pages?
Forum: Plugins
In reply to: [CKEditor for WordPress] Unable to save/publish in WYSIWYGSame here. I’m trying to change ckeditor.js file under ckeditor folder but there’s no clue to find that. I’m stuck in “j” function and setValue or setHtml function. When these functions appears it prompt the message. When I cut this part of code, the prompt disappeard but the editor didn’t save the content. Maybe someone will get further with this suggestions.
Forum: Plugins
In reply to: [CKEditor for WordPress] annoying alert on click publish in postWhere’s function that fires this alert? It really driving me crazy! Any help?
Forum: Plugins
In reply to: [WP-PageNavi] Navigation wont work pages.Hi cloudstr210,
i don’t know if you dealt with your problem already but if not, you may have read this article: https://scribu.net/wordpress/wp-pagenavi/right-way-to-use-query_posts.htmlCheers,
KamilForum: Plugins
In reply to: [Media Library Assistant] Doesn't load files when filteringSorry for my late response for your posts. Yes, i mean “Set featured image” on post edit page. When i filtered by dropdown field then script didnt print anything back.
I’m using form plugin which has a upload field based on wordpress media window, and mla works with it so i was suprised that “featured image” didnt.
I dont update the plugin yet but i will soon. Please give me some time to check it and back to the topic.
Cheers,
KamilForum: Plugins
In reply to: [Plugin: WP Bannerize] Multi-Site wp_[x]_bannerize_b table problembump! same problem. anyone knows the answer? cheers!
Forum: Hacks
In reply to: Post from child categoryok. i solved the problem by myself.
here’s the cheat:
in this line
<?php if(query_posts('cat='.$category->term_id) > 1) : ?>
i change “cat” thing into
<?php if(query_posts(array("category__in" => array($category->term_id))) > 1) : ?>
that’s all if somebody need it in the future.
cheers