Search found 3 matches
- Mon Mar 03, 2008 4:31 pm
- Forum: Joomla! Coding 101
- Topic: Custom PHP script: need to check user is logged in
- Replies: 5
- Views: 797
Re: Custom PHP script: need to check user is logged in
Within Joomla extensions / templates you can use: global $my; if ($my->id>0){ // registered user has been logged in. } However, you cannot use this in your wrapped pages... You can if you use Jumi. (Sorry to be a contrarian :) ) Jumi will import all Joomla variables/objects for your using pleasure....
- Sat Mar 01, 2008 7:50 pm
- Forum: Joomla! Coding 101
- Topic: Easy Question, hopefully
- Replies: 3
- Views: 525
Re: Easy Question, hopefully
This site offers trial licenses for an application and I when a user wants to get a license I need to first check to make sure he/she is eligible for it, then if so, I need to hit a remote server which generates the license and emails it out to that user. ...what I can't seem to figure out is wheth...
- Thu Dec 20, 2007 10:40 pm
- Forum: Joombie Coding Q/A
- Topic: Using Ajax to display rotating news items in IE7, using Joomla/VirtueMart/sh404
- Replies: 0
- Views: 379
Using Ajax to display rotating news items in IE7, using Joomla/VirtueMart/sh404
Hi: I'm a beginner with AJAX, just graduated, and I'm attempting to get my website to display rotating news items in a compact frame: essentially there are news items in a SQL database, and I am using setTimeout() to change the news item every 5 seconds [code below]: This is an included .js file in ...