course-catalogue page not displaying description for anonymous users

saydujjaman
Forums
Hi course-catalogue page not displaying in manner it was displaying before . Changes that i made is to compress the CSS and Javascript for performance after that it is showing in wrong order. please see the page at http://www.shonod.com/course-catalogue . Can you please help? How can i make this page as default- when user comes to site will see the catelog page ? If i want to customize this page category wise like https://www.udemy.com/courses/ how to do that. How much it will cost to customize it?
axel

Hi

Hi

The display is not correct because you don't have images for your courses.

Regarding the description missing, could you post a sample screenshot of one of your courses' description, as it appears on the course page?

To define course catalogue as the default homepage for anonymous users you should change in

http://<your domain>/admin/config/system/site-information

the default front page (indicate course-catalogue instead of dashboard), and in template.php comment this part:

  // Use a custom markup for the front page if anonymous ?
  if (empty($vars['user']->uid) && $vars['is_front'] && theme_get_setting('platon_use_home_page_markup')) {
    $setting = theme_get_setting('platon_home_page_markup');

    if (!empty($setting['value'])) {
      $value = check_markup($setting['value'], $setting['format']);
      if (!empty($value)) {
        drupal_set_title($vars['site_name']);
        $vars['page']['content'] = $value;
      }
    }
  }

 

saydujjaman

Hi Axel,

Hi Axel, Thank you very much for your informational reply. please see this page http://www.shonod.com/course-catalogue this page, when guest user visit they see this page. Page looks like not structured/aligned properly , no image , no description although it is having description and image with every course.When clicked on any course , it going to page http://www.shonod.com/course/1103/medical-admission-model-test-set-4 which also not rendering properly. Please not when some one logged in it shows images and description as well properly . Please help .
axel

Could you try disabling js

Could you try disabling js and css compression?

saydujjaman

I have already disabled the

I have already disabled the compression for css and js and flushed the cache as well and still it is same. One more basic question , I can not find the template.php file in the root for platon theme, can you please tell me the location.
saydujjaman

I could change the template

I could change the template.php and it is working now for default page. Please just let me know why rendering of the course not working.
axel

Which Opigno version are you

Which Opigno version are you using?

saydujjaman

latest one just installed 2

latest one just installed 2 month back. most probably 1.18 . is there any option to check the actual version from my site.
axel

You can find the version in

You can find the version in the modules interface. If you installed it 2 months ago it should be 1.18

If you don't put images on course catalogue then change the CSS to remove the top setting for

.view-opigno-course-catalgue .views-field.views-field-title {

The description seems to be emtpy so you should fill it in

 

saydujjaman

I am putting the image and

I am putting the image and description for each course and it is showing perfectly when some one logged in , problem remains only with anonymous users. Can tell me how can I update the site into new version 1.19 ?
axel

Upgrade is explained in our

Upgrade is explained in our user manual:

https://www.opigno.org/150706_Opigno_User-Manual.pdf

saydujjaman

I have upgrade to 1.19

I have upgrade to 1.19 version and the front page is now worst than before. menu bar is now floating and the alignment are wrong. you can check here http://www.shonod.com/ . please help how to solve the view. I have inspected the source , i found every css and js having parameter like "http://www.shonod.com/profiles/opigno_lms/themes/platon/css/styles.css?nscn5k . what does this nscn5k number mean. please help to restore the front page for guest user. appreciate your help.
axel

In Configuration -&gt; System -&gt;

In Configuration -> System -> Site information try to change with:

default front page: dashboard:

default 403 (access denied) page: course-catalogue

This should fix your display

saydujjaman

It is same still. Do you have

It is same still. Do you have any permission issue for that? can you please tell me how I can create diagnosis report and that can help to find the problem? I can see the below message : _______________ Referrer http://www.shonod.com/admin/config/system/site-information Message Notice: Constant OG_ACCESS_FIELD already defined in include_once() (line 17 of /home/shonod/public_html/profiles/opigno_lms/modules/opigno/opigno/modules/opigno_og_access/opigno_og_access.module). Severity notice Hostname 27.131.13.130 ________________________ Notice: Constant OG_ACCESS_REALM already defined in include_once() (line 12 of /home/shonod/public_html/profiles/opigno_lms/modules/opigno/opigno/modules/opigno_og_access/opigno_og_access.module).
saydujjaman

When anonymous user click on

When anonymous user click on any publish course instead of showing details , it is redirecting to the login page. previously it was showing course details and option to buy.
saydujjaman

Hello Axel, if you need the

Hello Axel, if you need the access on my site , I can provide. It is still in evaluation phase so we can work together to diagnose the problem. I am guessing problem with the permission on contents. It is picking course title but not picking the description and image . can you please tell where are those permission being set?
axel

Which visibility setting did

Which visibility setting did you choose for your courses? Public, private, semi-public?

saydujjaman

I have chosen semi public and

I have chosen semi public and public for some. With this it was working properly before. Moreover, after aupgrade to 1.19 the display/view page for guest user not aligning properly.
axel

When you say &quot;it was working

When you say "it was working properly before", when did it stop to work properly?

As I already told you the display for guest is incorrect because you don't have images

saydujjaman

It stopped working properly

It stopped working properly after setting the performance - compression of all the JS and Css option. even I disable the setting the problem remain same (image and description not displaying, After migrating to 1.19 it became even worst, alignment of the page broken, main menu floating in the middle of page and logo in the middle of header. For Admin user it is showing perfectly and all other users it is not showing properly. Is there any thing with the content access module? I enabled before after word i uninsulated (not disablr) it yesterday. Still problem persist.
saydujjaman

update: I have just created 3

update: I have just created 3 test course with image and description with public, semi public, with price , image and description. for newly created courses it is coming properly but not for old course although those also having images and description . Alignment is still same as before, menu not showing at side.
Profile picture for user James Aparicio
James Aparicio

Hi saydujjaman,

Hi saydujjaman,

I suggest you create a backup of the database and go to admin -> structure -> views, and for the views that come with Opigno, click on revert on the views.

After that clear the cache. If the issue persists please provide us with some screenshots. Also, let us know if you have a custom or sub theme.

Best regards

saydujjaman

Thank you for your reply. I

Thank you for your reply. I am not finding any option to revert from the said menu. Can you please help me to find the reverting option for the view? I do not have custom or sub theme . Once I installed a theme education from the drupal site , enabled . Since it did not meet my criteria , i removed it from site.
Profile picture for user James Aparicio
James Aparicio

Hi saydujjaman,

Hi saydujjaman,

If you go to admin/structure/views, each view has a operations dropdown.

If any of them are not default, a revert option will display. If it has not been changed the option will not display.

Best regards 

saydujjaman

Hi, In my case there is no

Hi, In my case there is no operations dropdown enabled for any of the view. When i go to admin/structure/views , it list all the views with "View name Description Tag Path" column only. When I go individual view it also not having any such option , even i don't find Save configuration for individual view. Is there any permission issue? although I have checked for the permission , as Admin I have all permissioned checked.
saydujjaman

Full site is now mingled. I

Full site is now mingled. I would like to give a fresh installation. Before the fresh installation , I would like to take export all the contents that are created in current system.Can you please tell me, How Can i export contents and then import into the system again after the fresh installtion. Only content , Multiple choice question questions and users. please help.
Moonley

Catalogue showing neither pictures/text, nor &lt;BUY access&gt; button

Hello and many thanks to Opignio Team, I have similar issues on my site and I would like to ask you for kind help. Everuthing is running fine, except: a problem in the catalogue showing neither pictures/text, nor button (cart), except for the admin and managers belonging to a class/course. - Pictures: in the catalogue, ONLY Admin and the added user to class/course can see the picture of the PRODUCT description, and when I switch to the languages written right to left, picture is not centred. Same for the text. Nothing is showed to neither anonymous nor authenticated users not belonging to a class/course. - Button cart: anonymous and authenticated users have to be able to press ‘Buy access” button and add products to cart and follow the buying process. It does not seem having a problem in the view or in permission. I have installed the latest version. Thanks for kind response; Best regards.