Tagged: ALB, learndash, not visible, settings
-
AuthorPosts
-
June 4, 2020 at 1:28 pm #1219380
Hi guys,
In my previous thread: https://kriesi.at/support/topic/2-problems-with-alb-code-for-learndash-please-help/ I had a problem with the settings in LearnDash courses or lessons not showing up correctly when ALB is activated.
This was fixed, very happy :) But I noticed one other problem in settings; when I tried to add course materials like a pdf or use the enfold layout in the classic editor, it does not show up on the page (frontend)
The socket also gets stretched out. I’ve encluded a little video with audio (under two minutes) showing the problem.
Can you help me please?
Sincerely,
MortickaJune 4, 2020 at 2:28 pm #1219407Hey Morticka!
Hope you are doing well :)
Could you please create a test lesson and privately publish it so we can inspect the issue on that one?
Both issues are actually related. Once content is displayed fine, it will fix socket issue as well :)
Regards,
YigitJune 4, 2020 at 4:30 pm #1219457Hey Yigit! :D
I’m doing fine thank you, how are you?
I’ve created a “Test lesson with ALB” for you. Don’t worry about changing things, I’m in maintenance mode :)
If you check the “Test lesson without ALB”, you see that the Materials show up.
(I also noticed that without ALB, the LearnDash focus mode works in the frontend, but with ALB it does not work? You can see the difference if you click on both lessons)
I hope you can fix it :D
Sincerely,
MortickaJune 4, 2020 at 4:46 pm #1219463Hi Morticka!
Me too, thanks!
It seems like LearnDash should add both content to page and depending on active tab, hide the content of other tab. In attached screenshot in private content field you can see that Lesson content is hidden when switching to Materials tab, however since it does not get the content of Materials, it does not display anything.
Could you please contact LearnDash team and ask for pointers on how to display the content of “materials” tab in layout builders? :)
Best regards,
YigitJune 4, 2020 at 5:11 pm #1219471Hey Yigit,
Thanks for looking at it so fast! :D
I’ll ask LearnDash support and I’ll get back to you when they answer.
Did you have a chance to look at the focus mode as well? Because if its something at their end, I can ask that too?
Sincerely,
MortickaJune 4, 2020 at 5:23 pm #1219473Hi,
Sorry I do not have any experience with LearnDash :) Is it the section shown in screenshot below?
If so, it would be great if you could ask if there is a way to include it as well. ALB overwrites default content so it should be manually added.Regards,
YigitJune 4, 2020 at 5:41 pm #1219477Hey Yigit,
Yes, the screenshot you included is focus mode :)
I’ll ask LearnDash about that one as well and get back to you.
Have a great day!
Sincerely,
MortickaJune 4, 2020 at 7:40 pm #1219521Hi,
We will keep the thread open and wait to hear from you :)
Thanks, you too!
Best regards,
YigitJune 9, 2020 at 9:17 am #1220779Hi Yigit :),
Got the answers from LearnDash support, here goes:
Question 1: Materials not showing
When the Enfold layout builder is activated and I try to add materials like a pdf to the lesson, it does not show up in the front end.Answer LearnDash: It points us to behavior caused by the theme activated on your website. Is saw the screenshot of the code you provided and it seems like the materials are under the av_section_3 ID element which is not the LearnDash element and is caused by your theme. The Materials tab is not under any div like av_section_3 (avia layout builder) and when the parent div is hidden, the materials tab is shown visibly.
Question 2: Focus mode not showing with Enfold Layout Builder activated.
Answer LearnDash: Yes, indeed the Avia layout builder is overriding the page templates and that is the reason focus mode is not displayed on your website. One way to achieve this would be to add the same template files in your theme’s template directory and make sure to execute them. The files are:
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/comments.php
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/comments_list.php
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/footer.php
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/header.php
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/index.php
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/masthead.php
wp-content/plugins/sfwd-lms/themes/ld30/templates/focus/sidebar.phpI hope that helps and points you in the right direction.”
Is this what you were looking for Yigit?
Sincerely,
MortickaJune 9, 2020 at 12:46 pm #1220832Hi Morticka,
1- I checked test lesson with ALB and noticed classic editor was enabled however materials tab was still empty. Then I tried to edit lesson without ALB and switched editor to ALB and updated and noticed materials are showing up. So adding materials in Classic editor, updating lesson and then switching to ALB to add content seems to work. I tested it on a newly created lesson I attached in private content field.
Would this workaround work for you? :)2- This will require some customization but I am not sure how heavy. Would it be possible for you to create a testing environment so we can check if we can make it work easily? We would basically need FTP and WP admin logins.
Best regards,
YigitJune 9, 2020 at 5:52 pm #1220916Hey Yigit,
Great, thx for your fast response! :D
1. Yes, I discovered that workaround as well, but It’s not user-friendly at all? Is it possible to use the fix LearnDash support suggested? Or do you need me to get more information from LearnDash support for you?
2. Oh that’s great, thank you! :D I created a separate ftp account for you guys, it’s in the private information. (I can remember that a couple of years ago, the only way to make the ALB work with learndash, was to copy files from LD into the child theme and put extra code in functions.php in the childtheme. Does that help?)
Sincerely,
MortickaJune 10, 2020 at 7:44 pm #1221354Hi,
I have just sent them an email and asked if they have any resources for us :)
Best regards,
YigitJune 11, 2020 at 10:02 am #1221589Hello,
Awesome, thx :D
Sincerely,
MortickaJune 11, 2020 at 11:06 am #1221618June 11, 2020 at 11:10 am #1221619This reply has been marked as private.June 16, 2020 at 2:07 pm #1223029Hi Barb,
Sorry for my late reply!
It would be great if you could share a copy with us :)
Best regards,
YigitJune 16, 2020 at 3:14 pm #1223061This reply has been marked as private.June 17, 2020 at 1:34 pm #1223375June 17, 2020 at 2:30 pm #1223393Hi Yigit,
Same :D
Sincerely,
BarbSeptember 16, 2020 at 1:13 am #1246132Hello!
I am having the same known issue as Morticka with the Settings tab not working unless I turn off ALB. I can do the workaround for now but looking forward to Enfold and LearnDash working together nicely someday!
My question: I also have sections where Enfold and Learndash seem to have the wrong z-order? or dimensions?
Any idea on how to fix this?
September 16, 2020 at 1:14 am #1246134I think those images didn’t come through, here’s direct links to them:
https://drive.google.com/file/d/1OBb4k5Sh0XYFXVQxqVBUqodVQaM8rlIh/view?usp=sharing
https://drive.google.com/file/d/1isx9xhCTQbXStqncXHtPrPyRSxk8aTjV/view?usp=sharingSeptember 20, 2020 at 8:06 pm #1247183Hi,
Thanks for the screenshots, please include an admin login in the Private Content area so we can investigate further.Best regards,
MikeSeptember 21, 2020 at 4:46 pm #1247399Hello!
1. I’ve added the login under Private Content2. Also, I added this to custom CSS on my child theme but the realized that box probably doesn’t affect anything backend and I’m not sure if the z-index number is correct:
/* MOVE LEARNDASH MENU BEHIND ENFOLD MENU */ .block-editor-page #sfwd-header { z-index: 14000 !important; }
Thanks for your help!
LizSeptember 22, 2020 at 1:53 pm #1247620Hi,
Thanks for the login, I tried checking your “Session One” page as in your screenshot, and I set the Classic Editor in the theme options, but I don’t see the same.
Right now Session One & Two are created with the Advanced Layout Builder, viewing the page with the Classic Editor doesn’t show the error, but you would not want to edit the page with the Classic Editor for losing the ALB elements.
Perhaps I looked at the wrong section, please explain how I can recreate and what browser and OS are you using.Best regards,
MikeSeptember 22, 2020 at 4:50 pm #1247659Apologies for not explaining things better.
I could not access the LearnDash Settings tab (controls things like associated assignments, what day to release the lesson, etc) at all unless I switched over from ALB to Classic Editor. Then I made my changes and switched back to ALB. Not ideal but this workaround is ok for now.
A separate issue is the overlapping of LearnDash elements. When I’m trying to do anything within ALB the darn LearnDash items cover things up and make it impossible to work. I’m pretty certain it’s only an issue of z-index order but I’m unsure how to apply CSS changes to backend elements. I asked LD to help and they pointed me to you since it works in TwentyTwenty.
I use Chrome/Catalina but my PC/Edge has the same problem. Thank you for looking into it!!!
September 24, 2020 at 4:58 pm #1248232I just wanted to check in on this and make sure my explanation makes sense? Thank you!
September 25, 2020 at 1:20 pm #1248437Hi,
Sorry for the late reply, so for the “LearnDash Settings tab” do you mean the tab/link at the top of the page, or in the sidebar controls? Sorry I have not used LearnDash, I have just helped with these issues which is usually sorted out with some css, but I don’t think I’m looking in the right place.
So I took a few screenshots with the Classic Editor & ALB side-by-side, to show what I’m looking at, in the Private Content area, but could you please create a video that I can follow along with to the error, thanks :)
Also, for me, I find the “Block Editor” to be a “pain” and I typically switch to the “Classic Editor” in the theme settings so I can find some of the settings that I’m used to seeing (because of the way the Block Editor shows them), anyways is this a similar situation?
I’m sure we can sort this out, I feel I’m not looking at the right thing :)Best regards,
MikeSeptember 28, 2020 at 6:47 pm #1249115Below (Private Content) is a video walkthrough of the issues. Thanks!
September 30, 2020 at 12:33 pm #1249624Hi,
Sorry for the late reply and thanks for the video, for the LearnDash header and the popup editing modal for the ALB please try adding this code to your child theme functions.php in order to add the css to the admin head of the page. I was not able to add it to your theme editor, so you may need to add it via ftp.function correct_admin_sfwd_header(){ ?> <style>#sfwd-header {z-index: 9999 !important;} .avia-modal.modal-preview-active.modal-preview-large {left: 11% !important; right: 1% !important;}</style> <?php } add_action('admin_head', 'correct_admin_sfwd_header', 1);
Best regards,
MikeSeptember 30, 2020 at 5:44 pm #1249724Works perfectly! Thank you!!!
-
AuthorPosts
- The topic ‘Materials in LearnDash not visible with ALB activated, another settings problem?’ is closed to new replies.