Search found 8 matches

Page 1 of 1

Search found 8 matches

Re: Turning OC into online training platform

MrPhil wrote:
Tue Oct 24, 2017 12:00 am
Yeah, just speak English with a "Fargo" accent, and it comes out in Norwegian!
Almost... :D

The layout and colors is in "English", so what du You think about that?

Jump to post
  • Tue Oct 24, 2017 1:41 am
  • Replies 4
  • Views 1346
Re: Turning OC into online training platform

straightlight wrote:
Tue Oct 17, 2017 7:18 pm
Not available in English.
I'm sorry, no it's not :(
I think Norwegian is pretty close English ;)

Jump to post
  • Tue Oct 17, 2017 7:42 pm
  • Replies 4
  • Views 1346
Turning OC into online training platform

I have used OC to make a online training/learning site. When buying a monthly subscription, you have access to all the courses with videos, images and text. The customer can start and stop the subscription at any time and they have access if the subscription is valid. The videos is on Vimeo and can ...

Jump to post
  • Tue Oct 17, 2017 4:46 am
  • Replies 4
  • Views 1346
Re: Disable function if not logged in

No change... Strange...
Any ideas?

Jump to post
  • Thu Jun 29, 2017 3:24 am
  • Replies 9
  • Views 494
Re: Disable function if not logged in

They are in the right places :)

Hmm... How do I clear all the caches? I have rebooted all php/sql services on my web server with no changes.

Jump to post
  • Thu Jun 29, 2017 1:42 am
  • Replies 9
  • Views 494
Re: Disable function if not logged in

I get the same: Notice: Undefined variable: test in I put in this code in header.tpl and footer.tpl <?php if ($logged) { ?> <p> Loged in </p> <?php } else { ?> <p> Not loged in </p> <?php } ?> In footer.php I put in this line $data['logged'] = $this->customer->isLogged(); It works in header but erro...

Jump to post
  • Thu Jun 29, 2017 1:19 am
  • Replies 9
  • Views 494
Re: Disable function if not logged in

I tried that, but with the same result...

The ($logged) code in the article.tpl file and $data['logged'] = $this->customer->isLogged(); in the article.php file.

Jump to post
  • Wed Jun 28, 2017 11:09 pm
  • Replies 9
  • Views 494
Disable function if not logged in

I tried this:

<?php if ($logged) { ?>
"function enabled"
<?php } else { ?>
"function disabled"
<?php } ?>

But get the error message: "Notice: Undefined variable: logged in"

If I put the code in the header.tpl file, it works!
How can I use ($logged) in other places than in the header.tpl?

Jump to post
  • Wed Jun 28, 2017 10:17 pm
  • Replies 9
  • Views 494

Page 1 of 1

Search found 8 matches