| reverendspam |
Apr 13 2007, 11:21 PM
Post
#21
|
|
Advanced Member Group: Members Posts: 267 Joined: 10-October 02 From: Deep Gap, NC Member No.: 19 |
This TNG-Joomla Bridge is a hack of the original Cas Nuy Mambo install, Mark Fleeson hack, and various code found on the TNG forums. I got tired of sifting through all the different pages of code on the TNG forums and decided to make a packagable joomla component.
I have this working with Joomla 1.0.12 and TNG 6.1.0 You can see it in action here The Mullis Melange. Click on the Genealogy link in the main menu. Enjoy. Joe Cox
tngjoomla_6.0.1.zip ( 29k )
Number of downloads: 961******************************************************************************** ******* To install: 1) You must have TNG 6 working first and placed in its own directory within in your Joomla directory. ex- /myjoomladirectory/tng/. (You can place this outside of your Joomla directory if need be, but you will need to know the server absolute path for the config setting). 2) Unzip the attached tngjoomla-6.0.1.zip file. 3) Place the index_joomla.php file (found in the unzipped TNG folder) in the root of your tng directory. 4) Install com_tng.zip into Joomla as you would any other Joomla component. 5) After install go to Components --> TNG Genealogy --> edit config menu and make sure the configuration is correct (save). The configuration file is automatically set up as: url = /tng (assuming tng is the sub directory in your main joomla directory. You can name it whatever you want) joomla prefix = jos_ (the standard mysql default prefix for Joomla) tng prefix = tng_ (the standard mysql default prefix for TNG) If for some reason this does not work, open up the config.tng file found in "/administrator/components/com_tng/config.tng.php" and manually set the directory and prefixes. note: If you have ever installed an older version of the TNG Genealogy component into your Joomla it may appear with the new install that a new menu item appears. This is just an old remnant leftover in your Joomla database from the old install. Just delete the menu item and create a new menu item to your new TNG Genealogy bridge install. That's it. Addendum: For folks that are new to Joomla and need to know how to set up a link to the component. This will be a general set up for the main menu. 1) On your Joomla admin menu go to menu>mainmenu click on new> 2) Highlight the "Component" radio button then click on next at the top of the menu. 3) Give the menu item a name such as "Genealogy" , highlight "TNG Genealogy" in the component section, highlight where you want it to be place on your menu bar ##, make it public, make it published and click save. Do Not! 1) ##Warning - Do not make this the first item in your Joomla main menu. "Home" should always be the first item in your main menu. If you put this component before your home directory in the main menu you may get Joomla regurgitating some strange things. 2) Do not try to use one of TNG's tmeplates that Darrin provides to set this up. Use the original index.php file that was provided when you initially downloaded TNG. You can use my modified index.php file to get you started if you need. What's new in this bridge? 1) Got rid of iframes on the component end by implementing javascript. Some joomla templates will still create horizontal iframes especially if you open up the ancestor chart to 8 generations. Well at least half the problem is fixed. Thanks David Lovrien for the fix. 2) Updated encryption from base64 to md5. Joomla now passes md5 encrypted password to TNG. 3) Gave the component a logo. If you have any questions, fixes, additional code please add in this section. There are plenty of helpful people here. I may not be one of them (IMG:style_emoticons/default/icon_smile.gif) --as I state before I am not good at tech support. ps. Thanks John Vickers for your extra set of eyes on my global configurations issue. (IMG:style_emoticons/default/icon_smile.gif) John's bridge component that has no iframes is ready for beta testing here. Vickers Code His bridge is different in that he has recoded actual TNG files. My Bridge does not change TNG files, but you may still get the horizontal iframe. That's the trade off. I have not had a chance to play with John's bridge yet, but based on John's other project(s) I'm sure it will be good. pps. Here is a quick and dirty way to redirect away from your TNG directory. ppps. If you absolutely have to get rid of that horizontal scroll bar then go to this thread: Topic 573 |
reverendspam TNG-Joomla Bridge For Joomla 1.0.x and TNG 6.x Apr 13 2007, 11:21 PM
Jens Got the following error:
Warning: mysql_fetch_row... Apr 14 2007, 12:37 PM
reverendspam
Got the following error:
Warning: mysql_fetch_ro... Apr 14 2007, 03:56 PM
Sundog_AK Excellent work. I had completely given up on TNG ... Apr 15 2007, 04:15 AM
reverendspam
Excellent work. I had completely given up on TNG... Apr 15 2007, 09:22 AM
tomk
Thanks for the input. It's a relief to hear t... Apr 16 2007, 07:03 PM
reverendspam
1) I too noticed in both cases that a new publi... Apr 16 2007, 09:29 PM
tomk
2) I do not know what is going on with your admi... Apr 17 2007, 08:37 PM
reverendspam
Joe,
This is happening when I click on 'Admi... Apr 18 2007, 12:04 PM
tomk
Thanks for clarifying Tom.
There is nothing in ... Apr 18 2007, 07:59 PM
reverendspam
Well I've isolated this so far as a problem o... Apr 18 2007, 08:40 PM
tomk
That's a switch usually I have problems with ... Apr 22 2007, 04:55 PM
reverendspam
Joe,
Well still no luck getting Firefox to work ... Apr 22 2007, 07:28 PM

tomk
It finally clicked with me what you are trying to... Apr 23 2007, 01:35 PM

reverendspam
Joe,
Yes deleting/replacing the code did solve t... Apr 24 2007, 10:46 AM

tomk
Thanks Tom,
I'll see if I can figure out what... Apr 26 2007, 10:17 PM

Alex
Hi,
I hope my question is in the right topic? I... May 5 2007, 02:54 AM

tomk
Hi,
I hope my question is in the right topic? ... May 5 2007, 11:00 AM

reverendspam
Hi,
I hope my question is in the right topic? ... May 5 2007, 04:10 PM

Alex
You are attempting to run one of Darrin's ful... May 7 2007, 01:46 PM


tomk
Thank you Joe and TomK for providing me with some... May 19 2007, 01:02 PM


lesdelc Hi Tomk, do you have a link to your website? I am ... Dec 24 2007, 08:58 AM

Will2
Hi Alex,
Thanks for providing a picture.
You ar... Sep 9 2007, 03:29 PM
reverendspam
Joe,
Well still no luck getting Firefox to work ... Apr 22 2007, 08:12 PM
Carlton Brooks Thanks for the new linkage.
Some questions.
Inst... Apr 15 2007, 01:57 PM
reverendspam
Thanks for the new linkage.
Some questions.
Ins... Apr 15 2007, 06:06 PM
Carlton Brooks Ok I understand what you are doing.
To verify tha... Apr 16 2007, 06:43 PM
reverendspam
Ok I understand what you are doing.
To verify th... Apr 16 2007, 09:55 PM
Carlton Brooks Having used Joomla and other bridges I understand ... Apr 17 2007, 06:11 PM
reverendspam
Having used Joomla and other bridges I understand... Apr 18 2007, 11:35 AM
Carlton Brooks I spoke to soon. Now that I understand what is ... Apr 18 2007, 05:41 PM
Carlton Brooks Bear with me for a minute.
I registered a name an... Apr 18 2007, 05:55 PM
reverendspam
Bear with me for a minute.
I registered a name a... Apr 18 2007, 08:51 PM
BMR789 Hey Joe (I guess you get that a lot)
Anyways - un... Apr 23 2007, 04:23 AM
ms Jay
I went to your website as you have instructed a... May 6 2007, 12:48 AM
reverendspam
I went to your website as you have instructed and... May 6 2007, 01:12 PM
ms Jay
The Module changes nothing to the core of Joomla ... May 7 2007, 10:48 PM
reverendspam
I installed the module finally and yes it works p... May 9 2007, 06:27 AM
Marchel How to prevent bypassing joomla ?
Now the user can... Jun 13 2007, 02:23 AM
reverendspam
How to prevent bypassing joomla ?
Now the user ca... Jul 16 2007, 12:49 PM
Will2 I have Joomla 1.0.12 and TNG 6.0.4 installed ok, a... Jul 9 2007, 12:23 PM
spankee I think I may have found a bug.
The userfield ... Jul 9 2007, 03:20 PM
reverendspam
I think I may have found a bug.
The userfield ... Jul 16 2007, 12:59 PM
JMack
[b]note: If you have ever installed an older vers... Jul 11 2007, 11:44 AM
reverendspam [Hi folks I'm still here. I am working on a fe... Jul 13 2007, 07:50 AM
spankee It sounds like I should leave it as it is then.
I ... Jul 16 2007, 03:54 PM
Stephen Rowe Not sure if I have done everything right or not al... Jul 17 2007, 02:19 AM
reverendspam
Not sure if I have done everything right or not a... Jul 17 2007, 11:41 AM
Stephen Rowe
Not knowing the specific set up of your server in... Jul 18 2007, 08:10 AM
reverendspam
Interesting also that I added one of the users ... Jul 18 2007, 09:35 AM
Stephen Rowe Joe - thanks for the detailed reply. As backgroun... Jul 18 2007, 04:27 PM
Stephen Rowe To follow up. I have performe da COMPLETE re-inst... Jul 18 2007, 05:39 PM
reverendspam
To follow up. I have performe da COMPLETE re-ins... Jul 18 2007, 07:42 PM
Stephen Rowe
I posted on your other thread about your cookie i... Jul 21 2007, 01:29 AM
Stephen Rowe Joe - another follow up, an apology and (hopefully... Jul 21 2007, 07:14 PM
reverendspam
Now I just have to try and get TNG out of the fr... Jul 24 2007, 05:38 PM
Stephen Rowe
I'm glad you got it working.
To get the sit... Jul 24 2007, 05:50 PM
reverendspam
Made those changes - but - bummer, doesn't wo... Jul 24 2007, 08:37 PM
Stephen Rowe
Here is my tng.php file that works on my site.
... Jul 24 2007, 09:20 PM
gpal
This TNG-Joomla Bridge is a hack of the original ... Aug 15 2007, 10:23 PM
reverendspam
Thanks for this wonderful mod.
I installed the ... Aug 16 2007, 09:40 PM
firetruckred I understand how, once the bridge is in place, tha... Oct 5 2007, 07:02 PM
Stephen Rowe
I understand how, once the bridge is in place, th... Oct 5 2007, 07:49 PM
winzor Has anybody looked at the videos in the TNG sectio... Nov 24 2007, 08:45 AM
Stephen Rowe Now that Joomla! 1.5 has gone final, has anyon... Jan 27 2008, 03:06 PM
reverendspam
Now that Joomla! 1.5 has gone final, has anyo... Feb 2 2008, 09:05 PM
CJE Culver Hello, Joe.
I'm using your bridge on my websi... Mar 16 2008, 01:07 AM
CJE Culver Hello, Joe.
I'm using your bridge on my websi... Mar 16 2008, 08:34 AM
reverendspam
Hello, Joe.
I'm using your bridge on my webs... Mar 18 2008, 08:42 PM
CJE Culver
Try a very basic Joomla template that has no java... Mar 19 2008, 12:10 PM
tomk
Well, I downloaded and tried tried several simple... Mar 19 2008, 01:18 PM
CJE Culver
FireFox has been a problem with Admin dropping to... Mar 23 2008, 10:37 PM
firetruckred CJ,
Are you by chance using Firefox? I have the s... Mar 16 2008, 09:22 AM
CJE Culver
Are you by chance using Firefox?
Ah, yes, you... Mar 16 2008, 10:58 PM
CJE Culver Two unrelated items, reverendspam.
First, related... Mar 23 2008, 11:29 PM
reverendspam
In its current form, your integration is hard-co... Apr 11 2008, 06:35 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 3rd September 2010 - 05:07 AM |