Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Attachments in Units Showing image versus title
Tagged: attachments, units
- This topic has 16 replies, 5 voices, and was last updated 4 years, 5 months ago by Diana.
-
AuthorPosts
-
June 19, 2019 at 4:56 pm #214722a4da_326SpectatorHello, When adding an attachment to the unit from the front end and the back end the attachment will show the image of the pdf versus the title or description of the pdf attachment. AS you can see from the screenshot it isnt doing this on all attachments only some of them and they are all pdfs. I removed from backend and re add pdf as attachment from the front end but it still does the same thing. I followed the instructions from other posts but it has not changed. I dont want to hide the attachments, i want the attachments to show but I dont want the image/picture of the attachment to show I want the title of the attachment to display. All attachments are pdfs http://prnt.sc/o3zgi1 www.academy4da.comJune 20, 2019 at 12:54 pm #214838loganMember
Dear,
when i was debugging i found that your theme is of version 3.9.2 and plugins are of version 3.4.
we are running at 3.9.3.3. please update your theme and then plugins to 3.9.1. there is code conflict. once you are done with this please let me know. i am sure your issue will be gone.
Refer: http://prntscr.com/o4dj70 http://prntscr.com/o4dl0k
September 24, 2019 at 3:09 pm #227553a4da_326SpectatorHi Logan, My apologies for it taking this long to get back with you on this issue but I was finally able to update all plugins and theme to most current and the image of the attachment is still showing instead of the title of the pdf attachment please see screenshot below https://prnt.sc/pabwsb https://prnt.sc/pacqtk WPLMS version 3.9.6 Vibetheme Plugins vibe course module 3.9.6, cutom types 3.9.6.1 Also, Is there a way to have "next unit" and "previous unit" above attachments instead of underneath attachments? Some of our units have 12 -1 5 attachments and it takes student a long time to scroll down the entire page past the attachments and they dont see the "next unit" https://prnt.sc/pacu8z Is there a way to put attachments under "next unit" and "previous unit" ? or have attachments in a sidebar in each unit? www.academy4da.comSeptember 24, 2019 at 3:22 pm #227554a4da_326SpectatorThis reply has been marked as private.September 25, 2019 at 5:39 am #227602loganMemberHello,
use this code in google analytics.
<script>
$('.unit_content').on('unit_traverse',function(){
$('.unit_prevnext').clone().appendTo('div#unit');
});
</script>
and also add this in your custom css.
.unit_prevnext {top: 0 !important;}
September 25, 2019 at 11:41 pm #227755a4da_326SpectatorLogan, I went back to our "test students account" Incognito window and the Next unit/Previous unit was showing at the top of each unit BUT with many issues; #1. the attachments are all still images instead of titles #2 is it possible for the Code to move "next unit/ Previous Unit to be placed "ABOVE the attachments " and not at the very top of the page, I worry students will automatically select "next Unit" if it is at the top of the page instead of ready the directions in the unit first? See screenshot below 12 Week Introduction Section #1 & 2. https://prnt.sc/pb0pl8 #3 I Selected "Next Unit" at the bottom of the page and i got a "something error at the top of the page in a box (only in that unit)?" See screenshot below Course Handouts ( 12 week handouts) 3. https://prnt.sc/pb0q4m "Something Error" #4 - I Selected "Next Unit" at the TOP of the page and i got a "something error?" for a brief second and it went away a BUT the "Next Unit/Previous Unit" was displayed 3 times at top of the page (in same "handouts Section) See screenshot below 4. https://prnt.sc/pb0r8j #5 for the Quiz Sections - The Start Quiz Button is there but when you "start the Quiz" and start answering each question at the top of the screen you can see "Submit Quiz/ Save Quiz progress" but under each question (in course quiz with display check answer button checked) it shows "start Quiz" so the top and bottom dont match. See screen shot below Submit Save quiz at top but under "start Quiz" after I already started and was on Question 2 5. https://prnt.sc/pb0u6y #6 ALL my quizzes are set to autoevaluate it seems just one quiz is not - 12 Week Section 4 quiz ID 4785 doesnt autoevaluate. Since I have all quizzes set to autoevaluate and- Add check answer switch is on and show results after submission, I know I got questions correct but it shows 0/95 ( Section 4 Quiz - Quiz id 4785) Not Auto Evaluating
September 25, 2019 at 11:45 pm #227756a4da_326SpectatorThis reply has been marked as private.September 26, 2019 at 12:21 pm #227837loganMemberThis reply has been marked as private.September 26, 2019 at 4:47 pm #227881a4da_326SpectatorThis reply has been marked as private.September 26, 2019 at 5:39 pm #227891a4da_326SpectatorThis reply has been marked as private.September 27, 2019 at 5:29 pm #228047a4da_326SpectatorHi Logan, Just to give an update the quiz problem has been resolved it is now autoevaluating.- But I still have the issue of the attachments are showing as images not titles
and when a student selects "log out" the message on the screen is "This Course can not be taken. Contact administrator." I have attached a screenshot
https://prnt.sc/pbv0ph It is a current student the "test student" we use "smartypants. active student is not finished with the course . She just finished a section and selected "log out" from the top menu on the right. Selected log out and got the error message
- Can the next unit/ previous unit" buttons be moved to above the attachments not to the top of the page.
September 28, 2019 at 11:18 am #228114loganMemberHello, sorry for the inconvenience. this task was assigned to #alex. he has to be working on this.
please check in wp-admin >> settings >> general. if https:// website but in your wordpress, the http:// The very first step that wordpress recommends for changing the website to https:// is to change the link in the WordPress general setting. Please re-save your permalinks in wp-admin->Settings->Permalinks. refer: http://prntscr.com/oidb2s Also Check that in course status page, start course page is set in template or not : http://prntscr.com/oidcph And also check that in wplms->Course manager->course status template must be set in take this course : http://prntscr.com/oiddm0September 30, 2019 at 5:54 am #228182Anshuman SahuKeymasterWell we are using a common wordpress function to show the attachment link to download : wp_get_attachment_link which shows the thumbnail by itself .There must be a third party plugin in your site which is showing the thumbnail instead of pdf name there for the pdf file type . Please try to deactivate the plugins one by one in your site and check again .May 31, 2020 at 4:50 pm #264524Nibu2019ParticipantHello, Same problem with me. Have you found a solution to this problem? I disabled plugins one by one as recommended in the topic, but nothing changesMay 31, 2020 at 7:03 pm #264529Nibu2019ParticipantPDF_link Should I modify the function.php file of the WPLMS theme? functions.php -
AuthorPosts
- The topic ‘Attachments in Units Showing image versus title’ is closed to new replies.