Beispiel #1
0
function pagelines_special_content_wrap_top()
{
    if (do_special_content_wrap()) {
        $integration = new PageLinesIntegrationHandler();
        $integration->start_new_integration();
    }
}
Beispiel #2
0
 /**
  * DMS Hack for compatibility
  * DMS uses a output buffer for integrations, they are nested. Look at same trigger function
  * If it is active then actually grab the other buffer as the output, then start a new one that is blank to match
  * the ob_get_clean applied in DMS footer.
  */
 function dms_integration_output_buffer_cascade_issue($content)
 {
     if (function_exists('do_special_content_wrap') && do_special_content_wrap()) {
         global $integration_out;
         $integration_out = $content;
         ob_start();
         pagelines_template_area('pagelines_template', 'templates');
         $content = ob_get_clean();
     }
     return $content;
 }
Beispiel #3
0
 /**
  * Section template.
  */
 function section_template()
 {
     // if using non pagelines template
     if (do_special_content_wrap()) {
         global $integration_out;
         echo $integration_out;
     } else {
         if (pl_standard_post_page()) {
             $this->get_loop();
         } else {
             $this->standard_loop();
         }
     }
 }
function pagelines_special_content_wrap_top()
{
    if (do_special_content_wrap()) {
        add_action('pagelines_after_sidebar_wrap', 'pagelines_special_content_wrap_finish_after_sidebar');
        add_action('pagelines_before_sidebar_wrap', 'pagelines_special_content_wrap_finish_before_sidebar');
        add_action('pagelines_start_footer', 'pagelines_special_content_wrap_finish_after_content');
        ?>
		<section id="content" class="container fix">
				<div class="content">
					<div class="content-pad">
						<div id="pagelines_content" class="fix">

							<div id="column-wrap" class="fix">
								<div id="column-main" class="mcolumn fix">
									<div class="mcolumn-pad">
	<?php 
    }
}