 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
December 13, 2023 at 4:35 pm #1428015Roman GuestHallo, bin seit Jahren ein begeisterter Enfold User, also gleich mal vorweg – tolle Arbeit, weiter so! Ich bin schon vor längerer Zeit auf einen nervigen Bug gestoßen, den ich mit einem komplizierten Workaround gefixed habe. Heute habe ich durch Zufall etwas entdeckt, das ich mit euch teilen will: Wenn ich ein Masonry als “Custom Element Template” anlege und alle gleich bleibendene Werte sperre, dann verschwindet der “Mehr Laden”-Button immer nach dem ersten Klick auf ihn, egal ob noch Elemente vorhanden wären, oder nicht. Heute entdeckt: 
 Das Problem tritt nur auf, wenn der Wert “Beitragsnummern” gesperrt ist (Stil -> Paginierung).
 Sobald dieser Wert entsperrt wird funzt alles wie gewünscht und der Button kann gedrückt werden, bis alles geladen ist.Das soll, vermute ich mal, nicht so sein :) LG, Roman December 14, 2023 at 5:29 am #1428049Hey Roman, Thank you for the inquiry. We are not yet sure what is causing the issue but you can temporarily fix it by editing the enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.js file, look for this code around line 191. if( new_items.length > data.items )Replace it with: if( new_items.length > data.items || new_items.length == data.items)Please make sure to temporarily disable the Enfold > Performance > File Compression settings after doing the modification. Best regards, 
 IsmaelDecember 21, 2023 at 11:17 am #1428655Hey! We will include a fix in the next patch. If you would like to test it yourself, please edit the enfold/config-templatebuilder/avia-shortcodes/masonry_gallery/masonry_gallery.php and the enfold/config-templatebuilder/avia-shortcodes/masonry_entries/masonry_entries.php file, remove everything and replace it with the following code. masonry_gallery.php: https://pastebin.com/YudgryRc 
 masonry_entries.php : https://pastebin.com/nyM4istwBest regards, 
 Ismael
- 
		AuthorPosts
- You must be logged in to reply to this topic.
