Forum Replies Created
-
AuthorPosts
-
September 18, 2024 at 7:25 am in reply to: Post ID no longer displaying on Post Data feature on Button Element #1467277
Hi Ismael,
Thanks for confirming this. I updated the Link and it works now. So this has now been resolved.
Just like you said, I had to use the Custom Field Link with the orange database icon (with the absolute URL) instead of the Button Link.July 25, 2024 at 8:48 am in reply to: Post ID Formatting on new Post Data feature on Button Element #1462937Thanks Ismael !!, exactly what I needed. That filter works perfectly and I am able to get the Post ID dynamically now in the custom field link:
Example: https://kriesi.at/?iframe=true&post_id={wp_post_ID}
July 25, 2024 at 8:41 am in reply to: Post ID Formatting on new Post Data feature on Button Element #1462936Hi Guenni007
I am actually trying to use the {wp_post_ID} to get the post id (without commas for a dynamic link) e.g. https://kriesi.at/?iframe=true&post_id={wp_post_ID}So while I referred to the Button label, I am actually using this in the Custom Field Link section because {postID} doesn’t work there as per:
“Custom Field Link
Select a custom field containing a string – leave empty to use selectbox setting:an URL starting with http://, https:// (e.g. https://your-domain.com)
an E-Mail containing @, may start with “mailto:” (e.g. mailto: (Email address hidden if logged out) )
link to a post: “{post_type},{postID}” (e.g. post,1058)
link to a taxonomy: “{taxonomy_slug},{termID}” (e.g. category,8)”July 24, 2024 at 7:54 am in reply to: Post ID Formatting on new Post Data feature on Button Element #1462825Thanks Ismael,
This works for now.
I will be looking forward to an update of the theme with the fix.July 23, 2024 at 9:35 am in reply to: Post ID Formatting on new Post Data feature on Button Element #1462748Hi Ismael,
Thanks for your reply.
I am aware of that. I think you may have understood my message and also missed the screenshot: https://snipboard.io/wMUOI5.jpg
I have added the dynamic content {wp_post_ID} to a button Label (which has the orange database icon). It returns the Post ID as 49,708. Instead of 49708.
Should the Post ID not be an int, without the thousand comma separator?
Yes thank you. You may close the thread.
Thanks Mike,
We decided to used an iframe instead of a lighbox popup because it was necessary for tracking conversions. > The iframe was basically a gravity form on a page and then we track the conversions of the confirmation/thank you page.
But based on your suggestion, I guess it will just be easier to use a lightbox popup as you suggested to add a link in the popup to the page with the contact form.
Hi Ismael,
That is correct. We use a plugin called Popup by Supsystic. Basically, the popup I referred to opens in an iFrame hence the duplicates stylesheets and scripts.
Do you have a solution for this? to avoid duplicates of the stylesheets and scripts when opening on iFrame, with the frame content being from the same site?
Please advise.February 24, 2023 at 8:41 am in reply to: Search Results Page (avia_product_slider) – get_style_tag() on null error #1399098Hi Ismael,
I finally resolved the issue via some support from Relevanssi. You may want to add it to your documentation as well. *On the below filter, the following line just needed to be added: $query[‘relevanssi’] = true;
add_filter(‘avia_product_slide_query’, ‘avia_product_slide_query_mod’, 10, 2);
function avia_product_slide_query_mod($query, $params) {
if(is_search()) {
$query[‘s’] = $_GET[‘s’];
$query[‘relevanssi’] = true;
}return $query;
}The query and pagination on the custom avia product slider/search grid now works as needed.
Thanks.
February 13, 2023 at 7:58 am in reply to: Search Results Page (avia_product_slider) – get_style_tag() on null error #1397710Hi there,
I have also noticed that the pagination doesn’t work anymore. It always returns to Page 1.: https://www.patiowarehouse.co.za/?s=amalfi&avia-element-paging=2I am not sure if it is somehow related to one of my older posts on the same topic, but I know this was fixed on a later version of enfold: https://kriesi.at/support/topic/pagination-not-working-on-avia_product_slider-in-search-php/#post-1319492
Please check and advise how this can be solved?
February 13, 2023 at 7:50 am in reply to: Search Results Page (avia_product_slider) – get_style_tag() on null error #1397708Thanks Ismael,
The issue seems to be coming from the following plugin: Relevanssi Premium. However, I understand Relevanssi is compatible with Enfold.
When I remove or comment the following line, I get the results for products and everything works as needed:
$blog->query_entries();
Is this something you are able to check out on your side? Or should I send a support ticket to Relevanssi support about this?- This reply was modified 1 year, 10 months ago by Rustum.
February 7, 2023 at 9:15 am in reply to: Search Results Page (avia_product_slider) – get_style_tag() on null error #1396948Hi,
Do you have any update on the above issue?
I have tried the code on 2 other sites and the issue is still the same: Fatal error: Uncaught Error: Cannot access protected property avia_product_slider::$element_id
Kindly assist.
February 3, 2023 at 8:05 am in reply to: Search Results Page (avia_product_slider) – get_style_tag() on null error #1396501Hi,
I copied the above code from the forum and it is still not working on my end. The below is the latest error:
Fatal error: Uncaught Error: Cannot access protected property avia_product_slider::$element_id in /home2/patiowarehouse3z/public_html/wp-content/themes/enfold-child/search.php:73 Stack trace: #0 /home2/patiowarehouse3z/public_html/wp-includes/template-loader.php(106): include() #1 /home2/patiowarehouse3z/public_html/wp-blog-header.php(19): require_once(‘/home2/patiowar…’) #2 /home2/patiowarehouse3z/public_html/index.php(17): require(‘/home2/patiowar…’) #3 {main} thrown in /home2/patiowarehouse3z/public_html/wp-content/themes/enfold-child/search.php on line 73
Please advise if there is maybe something else I need to do?
February 2, 2023 at 7:09 am in reply to: Search Results Page (avia_product_slider) – get_style_tag() on null error #1396335Hi,
I added the code, but now there is a new error:
Fatal error: Uncaught Error: Cannot use object of type avia_product_slider as array in /home2/patiowarehouse3z/public_html/wp-content/themes/enfold-child/search.php:73 Stack trace: #0 /home2/patiowarehouse3z/public_html/wp-includes/template-loader.php(106): include() #1 /home2/patiowarehouse3z/public_html/wp-blog-header.php(19): require_once(‘/home2/patiowar…’) #2 /home2/patiowarehouse3z/public_html/index.php(17): require(‘/home2/patiowar…’) #3 {main} thrown in /home2/patiowarehouse3z/public_html/wp-content/themes/enfold-child/search.php on line 73
February 17, 2022 at 10:31 pm in reply to: Search Results Page – Grid Layout not working after updating enfold #1341231Hi Nikko,
I have reviewed the site and the grid search now work perfectly.
Thanks once again.
February 14, 2022 at 1:21 pm in reply to: Search Results Page – Grid Layout not working after updating enfold #1340485Hi Nikko,
Yes, I am aware of that. My search.php file in my child theme contains a grid layout as per: https://kriesi.at/support/topic/search-results-page-grid-layout/#post-917717.
It is not a typical search. It uses new avia_product_slider($atts); as per the above link, that’s the only customization done there. So this is where the main issue comes from.
As per my previous post, the search.php file in my child theme with new avia_product_slider($atts); works perfectly on previous versions of Enfold, just not with the latest version. All I am trying to do is replace the default search results with a grid layout.
Please assist.
February 12, 2022 at 8:03 pm in reply to: Search Results Page – Grid Layout not working after updating enfold #1340295Hi Nikko,
Please find the credentials as requested.
Thanks Ismael,
All good now. Works perfectly.
Thanks once again Ismael,
Is it possible to make this change in my child theme’s functions.php file? if not, I will rather just disable the Ajax search as a workaround for this.Hi Ismael,
I have now added the above filter as per: https://kriesi.at/documentation/enfold/search/#use-relevanssi-in-search-instead-of-the-default-search and it still doesn’t fix the issue. Please note that the instruction in the above link also states “The below code is no longer required to add the Relevanssi support to your enfold theme. Please remove from your functions.php file if you have added it to the earlier version of the enfold theme.”
However, I have left the code in as per your suggestion. The issue is with the Ajax search itself. If you search for the Product Category “Brackets” for example, the Ajax search only returns the excerpt, the title and link are blank. But when you click through to search page: https://orthoemporium.zerobox.co.za/?s=brackets the title and link work as expected. So I just need to get the Title and link to be fixed in the Ajax search.
Thanks.
August 25, 2021 at 8:32 am in reply to: Pagination not working on avia_product_slider in search.php #1318242Perfect. The Pagination now works. Could I please just ask that you make a note of this for the next Enfold update, so that I don’t lose this fix when I update Enfold.
Thanks once again.
Hi Yigit
The issue was on the core theme files. We changed the hard coded 256M to our server limit. Please check the below files for your next update
config-layerslider\LayerSlider\assets\classes\class.ls.importutil.php
config-layerslider\LayerSlider\assets\templates\tmpl-revisions-history.php
config-layerslider\LayerSlider\assets\views\slider_edit.php
config-layerslider\LayerSlider\assets\views\system_status.php
config-templatebuilder\avia-template-builder\php\class-html-helper.php@ini_set( ‘memory_limit’, ‘256M’ );
We changed the 256M to a greater value and all is working now.
Thanks !
I see this was posted here https://kriesi.at/support/topic/allowed-memory-exhausted/
Wanted know if this was resolved and if so how..
Thanks
Was this resolved? I am having the same issue and have a lot of memory. we have also ran the memory allocation test script and we could go up to 5G memory allocation on the script meaning the memory is sufficient.
Hi Support
What average response time should I expect as this is highly urgent?
Thank you
But this seems to only happen when trying to edit the special heading. There is sufficient memory and it is not a shared server.
There must be some configuration. We ran the memory test script and it goes all the way to 5g when running the script therefore it is not server related
hi support, do you have any feedback?
Thanks
August 23, 2021 at 10:13 am in reply to: Pagination not working on avia_product_slider in search.php #1317939Thanks Ismael. But that did not work.
The value of $url before and after esc_url( $url ); is still the same.
The below is the main issue I found. The & sign is being replaced by #038; So the url becomes https://www.patiowarehouse.co.za/?prod_category&avia-element-paging=2#038;s=palm which takes me to the home page instead of https://www.patiowarehouse.co.za/?prod_category&avia-element-paging=2&s=palm where the pagination works correctly.
Please advise on how I can fix this, preferably via my child theme rather than editing the core theme files if possible.
Thanks.
Hi
the credentials have been provided and WP-Debug enabledHi. This is urgent.
CN you please assist?
-
AuthorPosts