Vodes for Joomla 1.5

15 years 11 months ago #3557 by rakib
what the version of your Joomla. I guess it is < 1.5. JFactory is introduced with Joomla 1.5. Can you please make sure your version.

Please Log in or Create an account to join the conversation.

15 years 11 months ago #3558 by serge06
Joomla 1.0
I guess this explains.
What should then be the code?
Thanks

Please Log in or Create an account to join the conversation.

15 years 11 months ago - 15 years 11 months ago #3559 by rakib
Probably code should be like this
<? require_once('vodes_util.php'); 
//$my = & JFactory::getUser(); // <----- comment this line 
$uid = $my -> id; // in Joomla 1.0 $my is a gloabal variable so would get the id automatically.
$vode = new Vodes(); 
?>

Please Log in or Create an account to join the conversation.

15 years 10 months ago #3744 by rewing
Hi,rakib

Link is dead! could you upload again?

Please Log in or Create an account to join the conversation.

15 years 10 months ago #3793 by rakib

Hi,rakib

Link is dead! could you upload again?


Hi which link did you mean for dead ? I can download vodes for Joomla 1.5 from the link joomlacode.org/gf/project/vodes/frs/

Please Log in or Create an account to join the conversation.

15 years 9 months ago #3833 by wc_r
I have added in this code to the default.php article view on Joomla 1.5. THe vodes_util.php is in the dame directory as default.php. But when I try to view an article, it says

Call to undefined method Vodes::updateVodes()

Code I added -
<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>

<? require_once('vodes_util.php'); 
$my = & JFactory::getUser();
$uid = $my -> id;
$vode = new Vodes();
?>

<?php $vode->updateVodes($uid)?>
<img rc="images/stories/folder_locked.png" />

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch