Joomla and Phorum integration
Posted by scottmason
|
May 30, 2007 03:02PM |
Registered: 19 years ago Posts: 202 |
Look like you use mostly div in your template and the phorum stuff get flow to the top.
Try to use some table code to contain phorum stuff to see if that make any different.
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
Try to use some table code to contain phorum stuff to see if that make any different.
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
|
Re: Joomla and Phorum integration May 30, 2007 05:01PM |
Registered: 18 years ago Posts: 19 |
|
May 30, 2007 05:23PM |
Registered: 19 years ago Posts: 202 |
My site use mostly div in my template too and phorum work just fine in it.
There might be some missing tag that surface when you enable phorum to your site.
Try to run through the validation to see where is the possible problem with your template.
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
There might be some missing tag that surface when you enable phorum to your site.
Try to run through the validation to see where is the possible problem with your template.
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
|
Re: Joomla and Phorum integration May 30, 2007 05:40PM |
Registered: 18 years ago Posts: 19 |
|
May 30, 2007 07:21PM |
Admin Registered: 21 years ago Posts: 8,532 |
It's not really the template. In the source code of the page, you can see that the connector's body output is really in front of everything. So it's Joomla, not capturing the printed body data from the connector, but showing it immediately. So the question is if there is a different way of providing the body data for a component. Please check for that with Joomla people / docs. If the data can be sent to Joomla through a function or variable, then it's easy to change the printing to doing the apparent right thing.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Joomla and Phorum integration May 30, 2007 08:04PM |
Registered: 18 years ago Posts: 19 |
thanks for all your help guys however, i'm stuck now as im not a coder and have no idea how to do this. I'll try over at the Joomla forum to see if there is a solution. In the meantime if you come up with a solution, please let me know.
How did you guys get it to work with Joomla, was it a simple install or did you have to do a bit of playing around?
thanks again
Scott
How did you guys get it to work with Joomla, was it a simple install or did you have to do a bit of playing around?
thanks again
Scott
|
May 30, 2007 08:15PM |
Admin Registered: 21 years ago Posts: 8,532 |
I didn't do much with it. I just had to modify the Phorum path in the code, install the component and link it to a menu. That's what I needed to get it running.
Please do post to the joomla forum, because it probably is something obvious with the component not providing the data that should go in the body part correctly. Joomla component writers are welcome to join this thread and help figuring out what needs to be done to make this work.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Please do post to the joomla forum, because it probably is something obvious with the component not providing the data that should go in the body part correctly. Joomla component writers are welcome to join this thread and help figuring out what needs to be done to make this work.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Joomla and Phorum integration May 31, 2007 10:22AM |
Registered: 18 years ago Posts: 19 |
Hi Maurice,
In the README file included in the embedded_phorum module, there's a whole bunch of info. Are these instructions? am i supposed to be making changes to files according to any instructions? There's stuff in there about the templates, am i supposed to do anything with the .tpl files. Or is all this just for information purposes.
I Posted the problem on the Joomla site but no responses as yet.
Cheers
Scott
In the README file included in the embedded_phorum module, there's a whole bunch of info. Are these instructions? am i supposed to be making changes to files according to any instructions? There's stuff in there about the templates, am i supposed to do anything with the .tpl files. Or is all this just for information purposes.
I Posted the problem on the Joomla site but no responses as yet.
Cheers
Scott
|
May 31, 2007 10:58AM |
Admin Registered: 21 years ago Posts: 8,532 |
It's all just information about the structure of the embedding module. The template instructions are there as a reminder how to convert a template into an embedded template. Only the very start describes what to do with Phorum. But any documentation about how to install Phorum in combination with a connector should go with the connector code, since there's no generic installation instruction that I could provide with the module.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
|
Re: Joomla and Phorum integration May 31, 2007 11:09AM |
Registered: 18 years ago Posts: 19 |
Hi,
Thanks,
What is a single glue script? do i have to do anything with this:
Phorum now fully expects to be run from within a master application.
A single glue script is needed to run all Phorum code. A simple
example glue script can be found in:
connectors/stub_example/index.php
Important in the glue script is the creation of a PhorumConnector object,
which is put in $PHORUM_CONNECTOR. This is actually the most important
part for embedding Phorum into another application, because this class
describes how to fit Phorum in there. The connector for this example
glue script can be found in:
connectors/stub_example/connector.php
After that, the glue script will have to include the worker script:
run_phorum.php
Are these instructions that i have to follow? I'm totally confused.
Thanks
Scott
Thanks,
What is a single glue script? do i have to do anything with this:
Phorum now fully expects to be run from within a master application.
A single glue script is needed to run all Phorum code. A simple
example glue script can be found in:
connectors/stub_example/index.php
Important in the glue script is the creation of a PhorumConnector object,
which is put in $PHORUM_CONNECTOR. This is actually the most important
part for embedding Phorum into another application, because this class
describes how to fit Phorum in there. The connector for this example
glue script can be found in:
connectors/stub_example/connector.php
After that, the glue script will have to include the worker script:
run_phorum.php
Are these instructions that i have to follow? I'm totally confused.
Thanks
Scott
Sorry, only registered users may post in this forum.

