Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Hide certificates?

8 years 1 week ago
  • Bosse's Avatar
    Topic Author
  • Bosse
  • Offline
  • Fresh Boarder
  • Posts: 48
  • Thank you received: 4
Licenses:
JomSocial Expired GURU Active

I will never use the function with certificates. How do I hide it from course pages?
(the line "Certificate: No certificate given for this course")

/Bosse

8 years 1 week ago
Licenses:

Hi, Bosse.

Copy this file:

ROOT/components/com_guru/views/guruprograms/tmpl/view.php

to:

ROOT/templates/your-template/html/com_guru/guruprograms/ (if you don't have those folders - feel free to create them)

and comment line 413 to 415, like this:

if($certificate_term == 1){
                                        /* $details .= '<br/><b>'.JText::_("GURU_CERTIFICATE_COL").': </b>'.JText::_("GURU_NO_CERT_GIVEN"); */
                                    }


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
8 years 1 week ago
  • Bosse's Avatar
    Topic Author
  • Bosse
  • Offline
  • Fresh Boarder
  • Posts: 48
  • Thank you received: 4
Licenses:
JomSocial Expired GURU Active

Hi,
Nops. Gave a blank page when going to a course.

8 years 1 week ago
Licenses:

Hi, Bosse.

Sorry, commented too much. I updated my code above - please try it.
I tested it on my test site and it should work 100% this time.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Bosse
8 years 1 week ago
  • Bosse's Avatar
    Topic Author
  • Bosse
  • Offline
  • Fresh Boarder
  • Posts: 48
  • Thank you received: 4
Licenses:
JomSocial Expired GURU Active

My man! :)
That did the trick! Thanks!

/Bosse

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW