Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

CMS Integration: Concrete5
https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=1826
Page 1 of 1

Author:  Staggerlee [ 23. Jan 2009, 22:34 ]
Post subject:  CMS Integration: Concrete5

Has anyone integrated TWG into the Concrete5, CMS, framework?

Regards,
Paul

Author:  TinyWebGallery [ 24. Jan 2009, 00:31 ]
Post subject: 

Does it has any wrapper component where you can place TWG into?

- Michael

Author:  Staggerlee [ 30. Jan 2009, 20:26 ]
Post subject: 

Michael,

I went to glFusion and asked about wrappers on their forum. This is the answer I got:

You can wrap a page, or script, outside of glFusion by calling the following code in a PHP page:



PHP Formatted Code
require_once('path/to/glfusion/public_html/lib-common.php');
$ret = COM_siteHeader();

$ret .= "whatever (x)HTML content you want to wrap goes here";

$ret .= COM_siteFooter();

echo $ret;


Basically you wrap your content inside the COM_siteHeader and COM_siteFooter functions. Note that when you do this, you no longer need to send HTML head info from the other script or page, as that info is generated by the COM functions.

I caqn only imagine the mess that I would create loading your script into glFusion.

Regards,
Paul

Author:  TinyWebGallery [ 1. Feb 2009, 04:04 ]
Post subject: 

If you put it in an iframe is should work fine.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/