You need to be logged in to view a user's profile.
  1. webjive
  2. Help (jevents 1.4 for 1.0.x)
  3. Monday, 07 April 2008
I have played with the "latest events" modules trying to get it to pull remote calendar information from another account/db on the same hosted server. I can't seem to get the module to query the other DB.. <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad" /><!-- s:cry: -->

I have a client with multiple sites (church) and they all have the JEvents component installed. I'm trying to hack a module to pull the latest events from each DB on the same cPanel server.

Here's what i have done: Anywhere there is a SELECT statement, I inserted the following code.
			$host = 'localhost';
$user = 'xxxxx';
$password = 'xxxxx';
$dbase = 'xxxxx';
$dbprefix = 'jos_';
$db = new database( $host, $user, $password, $dbase, $dbprefix );


This should create a new database instance. Any ideas on how this could be accomplished?

I thought the above code might work but I must be missing something.

Regards,
Eric
Accepted Answer Pending Moderation
0
Votes
Undo
You have to investigate Joomla's architecture and get familiar with the dependencies.
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks. I decided to skip this for a client project since I didn't have this work included in the original estimate. I'll just place links to the other jevents calendars in a module below their main sites events.
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.