- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- September 2005
- Status:
- offline
- last visit:
- 20.09.05
- Posts:
- 6
In IE and Firefox when clicking on News links from the home page, a Blank Page returns. The source says and nothing else.
A secondary question: I have loaded Gallery2 and would like for it to come in as a "module" but it opens to a full page. What is the appropriate way to set it this way? Can I also link the users DB so my registered users will automatically be registered in g2?
Thanks in advance
medicnick
www.ekgclub.com -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13415
You've got a theme problem - what exactly I can't say as I don't use AutoTheme.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Professional
- registered:
- December 2002
- Status:
- offline
- last visit:
- 24.08.08
- Posts:
- 1588
As you all probably know, I use AutoTheme (and love it), BUT one thing really bums me out on the new version - the fact that it supresses all output that loads before the theme. ie If you have PHP errors they will not show (you can get around this by writing them to a log.
The main problem for me is that some of my Ajax modules inject HTML to straight to an existing page from the module, I do this by exiting before the theme loads, but AutoTheme removes it :(
I did make a hack to AutoTheme to allow content outside of the theme, but I am not sure what other repercussions this could have... anyway this really needs to be addressed as I am sure more people will be utilising Ajax with PostNuke soon...
-Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
- rank:
-
Professional
- registered:
- August 2002
- Status:
- offline
- last visit:
- 29.09.08
- Posts:
- 1383
Lobos
As you all probably know, I use AutoTheme (and love it), BUT one thing really bums me out on the new version - the fact that it supresses all output that loads before the theme. ie If you have PHP errors they will not show (you can get around this by writing them to a log.
The main problem for me is that some of my Ajax modules inject HTML to straight to an existing page from the module, I do this by exiting before the theme loads, but AutoTheme removes it :(
I did make a hack to AutoTheme to allow content outside of the theme, but I am not sure what other repercussions this could have... anyway this really needs to be addressed as I am sure more people will be utilising Ajax with PostNuke soon...
-Lobos
This is easily remedied if you'd care to give some specifics, like what needs to be written, when, etc...?
You can add anything to the head in PostNuke and using AutoTheme by adding elements to the $additional_header array. You can add other output directly in your module, or at the end using an Extra.
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for PostNuke, PHP-Nuke, MD-Pro, CRE Loaded, osCommerce and Wordpress! -
- rank:
-
Professional
- registered:
- December 2002
- Status:
- offline
- last visit:
- 24.08.08
- Posts:
- 1588
here is the message I sent to the md list, maybe this will clarify things more:
Quote
Hi there,
I have some problems with a funciton in the new version of AutoTheme. It is this one here:
function atBufferControl($action='check')
{
$display = ob_get_contents();
switch ($action) {
case 'start':
ob_start();
echo "$display";
break;
case 'check': default:
if (strpos($display, "#AUTOTHEME_BUFFER#") === FALSE) {
ob_end_flush();
atBufferControl();
}
break;
}
return $killed;
}
It suppresses all PHP errors, but this is not the biggest problem for me. Some of my modules require straight output to the browser without the theme HTML - I acheive this by echoing and exiting straight from the module's function. This is also suppressed by the atBufferControl function.
I have commented out the function's internal code, but I don't want my customers to have to hack AutoTheme to get some of my modules to work. AutoTheme seems to work ok without the internals of this funciton returning so I am wondering what it is for and if it should really be included...
Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
- rank:
-
Professional
- registered:
- August 2002
- Status:
- offline
- last visit:
- 29.09.08
- Posts:
- 1383
It is not in the newest Lite .851 and 1.751, however I still think you may have problems with the code. test on the new AutoTheme and let me know.
Thanks!
-Shawn
--
Get the Revolutionary AutoTheme HTML Theme System! Currently for PostNuke, PHP-Nuke, MD-Pro, CRE Loaded, osCommerce and Wordpress!
