Plugin Directory

Changeset 558149


Ignore:
Timestamp:
06/14/2012 08:18:39 PM (14 years ago)
Author:
technosis
Message:

trying to get special previewing to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • templ33t/branches/01_02_handling_posts/templ33t_object.php

    r558148 r558149  
    644644           
    645645            $matches = array();
    646             preg_match_all('/\<\!\-\-\s*TEMPL33T\_BLOCK\_PREVIEW\:\s*(.*)\s*\-\-\>/i', $response['body'], $matches);
    647            
    648             print_r($matches);
    649            
    650             echo $response['body'];
     646            preg_match_all('/\<\!\-\-\s*TEMPL33T\_BLOCK\_PREVIEW\:\s*(.*)\s*\-\-\>/i', $preview['body'], $matches);
     647           
     648            echo '<pre>'.print_r($matches. true).'</pre>';
     649           
     650           
    651651           
    652652            die();
Note: See TracChangeset for help on using the changeset viewer.