deterius
Forum Replies Created
-
Forum: Plugins
In reply to: [Calculated fields for ACF] Updating calculations with default valuesThanks for the quick response,
Here it is:
{ "key": "field_5e549e0e1d423", "label": "Score Result", "name": "Score_Result", "type": "group", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 0, "show_in_graphql": 1, "layout": "block", "sub_fields": [ { "key": "field_5e549e661d425", "label": "Q1", "name": "Q1", "type": "number", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_5e15a58089296", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 1, "show_in_graphql": 1, "default_value": 1, "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e549e861d426", "label": "Q2", "name": "Q2", "type": "number", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_5e15a5ae89297", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 1, "show_in_graphql": 1, "default_value": 1, "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e549ea01d427", "label": "Q3", "name": "Q3", "type": "number", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_5e15a5c789298", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 1, "show_in_graphql": 1, "default_value": 1, "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e549ed81d428", "label": "Q4", "name": "Q4", "type": "number", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_5e17d6de84a9d", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 1, "show_in_graphql": 1, "default_value": 1, "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e549eec1d429", "label": "Q5", "name": "Q5", "type": "number", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_5e4a6b7382d88", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 1, "show_in_graphql": 1, "default_value": 1, "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e549f071d42a", "label": "Q6", "name": "Q6", "type": "number", "instructions": "", "required": 0, "conditional_logic": [ [ { "field": "field_5e4a6b8082d89", "operator": "==", "value": "1" } ] ], "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 0, "show_in_graphql": 1, "default_value": 1, "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e549f2fd4111", "label": "Result", "name": "result", "type": "number", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "formula": "Q1+Q2+Q3+Q4+Q5+Q6", "readonly": 1, "show_in_graphql": 1, "default_value": "", "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" } ] } ],
Forum: Plugins
In reply to: [Calculated fields for ACF] Am I doing this right?Yes, That fixed the problem! Thanks.
Thanks for the hard work!
Forum: Plugins
In reply to: [Calculated fields for ACF] Am I doing this right?Thanks for the quick reply!
Yes, since I am using the free version, I do not have access to the repeater field, but using group instead.
Okay, the versions:
– PHP 7.3
– Worpdress 5.3.2
– ACF (free version)ACF field groups
[ { "key": "group_5e15a2d3ca750", "title": "Generic Secret Shop", "fields": [ { "key": "field_5e15b0367c131", "label": "Visit Date", "name": "visit_date", "type": "date_picker", "instructions": "", "required": 1, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "display_format": "d\/m\/Y", "return_format": "d\/m\/Y", "first_day": 1 }, { "key": "field_5e15aca1f11cc", "label": "Shopper Info", "name": "shopper_info", "type": "relationship", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "post_type": [ "shopper" ], "taxonomy": "", "filters": [ "search", "post_type", "taxonomy" ], "elements": "", "min": 1, "max": 1, "return_format": "object" }, { "key": "field_5e15a2e089295", "label": "Generic Questions", "name": "genericquestion", "type": "group", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "layout": "row", "sub_fields": [ { "key": "field_5e15a58089296", "label": "Were you greeted in 30 seconds?", "name": "Were_you_greeted_in_30_seconds?", "type": "true_false", "instructions": "Where you greeted in 30 seconds?", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e15a5ae89297", "label": "Did the sales staff "break the ice" by first engaging you in any non-product conversation before referring to product sales or pricing?", "name": "Did_the_staff_break_the_ice?", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e15a5c789298", "label": "Did the staff compliment you?", "name": "Did_the_staff_compliment_you?", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e17d6de84a9d", "label": "Shopping Reason", "name": "Did_the_staff_ask_you_who_and_why_you_are_shopping?", "type": "true_false", "instructions": "Did the staff ask you who and why you are shopping?", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e4a6b7382d88", "label": "Was staff able to answer basic questions about the product such as price material etc.", "name": "was_staff_able_to_answer_basic_questions_about_the_product_such_as_price_material_etc", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e4a6b8082d89", "label": "Did staff explain to you what the features, advantages, and benefits of the product are you are interested in", "name": "did_staff_explain_to_you_what_the_features_advantages_and_benefits_of_the_product_are_you_are_interested_in", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e4a6ba382d8a", "label": "Did service staff explain why this product is suitable for you your life style or why it matches or compliments their other products or preferences", "name": "did_service_staff_explain_why_this_product_is_suitable_for_you_your_life_style_or_why_it_matches_or_compliments_their_other_products_or_preferences", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e4a6bd182d8b", "label": "Did staff recommend any second or third other product to purchase or try out...", "name": "did_staff_recommend_any_second_or_third_other_product_to_purchase_or_try_out", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e4a6bee82d8c", "label": "Did staff thank you for shopping with their company and welcome you to return again?", "name": "did_staff_thank_you_for_shopping_with_their_company_and_welcome_you_to_return_again", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" }, { "key": "field_5e4a6c4382d8d", "label": "Did staff share any information with you about the company, brand, story or history?", "name": "did_staff_share_any_information_with_you_about_the_company_brand_story_or_history", "type": "true_false", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "message": "", "default_value": 0, "ui": 0, "ui_on_text": "", "ui_off_text": "" } ] }, { "key": "field_5e40f0bbee815", "label": "Secret Shop Score", "name": "secret_shop_score", "type": "number", "instructions": "Divide the number of true \/ false", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "default_value": "", "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e1aac657e72a", "label": "Client Details", "name": "client_details", "type": "relationship", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "post_type": [ "client_details" ], "taxonomy": "", "filters": [ "search", "post_type", "taxonomy" ], "elements": "", "min": "", "max": "", "return_format": "object" }, { "key": "field_5e41077535b6a", "label": "Open ended questions", "name": "open_ended_questions", "type": "group", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "layout": "block", "sub_fields": [ { "key": "field_5e41078b35b6b", "label": "Body language assessment", "name": "body_language_assessment", "type": "textarea", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "default_value": "", "placeholder": "", "maxlength": "", "rows": "", "new_lines": "" }, { "key": "field_5e4a6dbf79236", "label": "Tone of voice assessments", "name": "tone_of_voice_assessments", "type": "textarea", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "default_value": "", "placeholder": "", "maxlength": "", "rows": "", "new_lines": "" }, { "key": "field_5e4a6dd879237", "label": "Urgency assessment", "name": "urgency_assessment", "type": "textarea", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "default_value": "", "placeholder": "", "maxlength": "", "rows": "", "new_lines": "" }, { "key": "field_5e4a6de979238", "label": "Conversation Notes", "name": "conversation_notes", "type": "textarea", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "show_in_graphql": 1, "default_value": "", "placeholder": "", "maxlength": "", "rows": "", "new_lines": "" } ] }, { "key": "field_5e4a8a54d9054", "label": "SimpleCalc", "name": "SimpleCalc", "type": "group", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 0, "show_in_graphql": 1, "layout": "row", "sub_fields": [ { "key": "field_5e4a8a64d9055", "label": "field1", "name": "field1", "type": "number", "instructions": "put a numba", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 0, "show_in_graphql": 1, "default_value": "", "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e4a8ab2d9056", "label": "field2", "name": "field2", "type": "number", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "formula": "", "readonly": 0, "show_in_graphql": 1, "default_value": "", "placeholder": "", "prepend": "", "append": "", "min": "", "max": "", "step": "" }, { "key": "field_5e4a8ac5d9057", "label": "sumField", "name": "sumField", "type": "text", "instructions": "", "required": 0, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "formula": "field1 * field2", "readonly": 1, "show_in_graphql": 1, "default_value": "", "placeholder": "", "prepend": "", "append": "", "maxlength": "" } ] } ], "location": [ [ { "param": "post_type", "operator": "==", "value": "generic_secret_shops" } ] ], "menu_order": 0, "position": "acf_after_title", "style": "default", "label_placement": "top", "instruction_placement": "label", "hide_on_screen": [ "permalink", "the_content", "excerpt", "discussion", "comments", "revisions", "format", "featured_image", "tags", "send-trackbacks" ], "active": true, "description": "", "show_in_graphql": 1, "graphql_field_name": "generic_secret_shop" } ]
Okay, I thought that was the problem- I did remember messing with the setting and turning it off- but when I went back to the settings- it’s checked.
I realize that I can’t uncheck that option, it remains on.
But still, the menus are not working correctly.
Thanks in advance
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Quiz questionsWell, strange thing now it displays the quiz results.
I am not 100% if I just didn’t refresh the results page, I’m fairly confident I did- but today the results show up.
So question 1, is moot- my fault.
If it is my fault, apologizes for wasting your time
Forum: Themes and Templates
In reply to: CSS specific to page and categoryIts kind of strange, its beyond that- for example I have two plugins: Connections and Forum Server…. the Forum Server Style Sheet is affecting the Connection tags!
Hey, thanks for the reply- this is really odd- I can’t find that piece of code there.
Which is bizzare, I made sure im looking at the right file, in the right plugin, I checked line 197 and searched the document.Am I missing something?
Forum: Fixing WordPress
In reply to: Markup Validation HTML – Cannot Encode properlyWow- thats dumb of me!
Thanks a lot!Forum: Plugins
In reply to: [Event Calendar] [ajax-event-calendar]Right, thats the issue:
The “User” that I demonstrate on 0:42 has only add_events proprety- yet he can still modify events of admin, a different user. Just to clarify, in the screencast I had two different browsers open, one browser I was logged in as ADMIN the other as USER.Det
Forum: Plugins
In reply to: [Event Calendar] [ajax-event-calendar]Hey!
Here’s a screen-cast of my error: https://www.screencast.com/users/detterius/folders/Jing/media/02519f77-9c91-4239-b24b-1c46d17369a2Forum: Fixing WordPress
In reply to: DOCTYPE cannot be defined – but its there!Thanks! Fixed!
Forum: Themes and Templates
In reply to: CSS: Align content to top, sidebar keeps pushing content down.Fixed, I specified a height for #content and that fixed the error!
Forum: Themes and Templates
In reply to: CSS: Align content to top, sidebar keeps pushing content down.Thanks Esmi,
Im working to fix those errors, but thats a different conversations and has a different set of problems and questions I have.Any idea on why my content being shifted down?
Forum: Themes and Templates
In reply to: CSS strange when scrolling horizontally, resize issuebump?
Forum: Plugins
In reply to: Link to categoryMaybe I should restate the problem, the link to the post is generated here:
<a href="' . get_permalink() .'" rel="facebox" title="' . __('Permanent link to:', 'yd-recent-posts-widget') . ' ' . get_the_title( '', '', FALSE ) . '">';
Is there a way to modify the get_permalink() so it gets the link to category? Or am I tottaly off here?