Instead of this:
{exp:channel:entries param="{exp:some:plugin}"}
...
{/exp:channel:entries}
Either use an embed, like this:
| # get rid of template groups | |
| TRUNCATE TABLE exp_template_groups; | |
| INSERT INTO exp_template_groups | |
| (group_name, group_order, is_site_default) | |
| VALUES | |
| ('home', '1', 'y'); | |
| # get rid of templates | |
| TRUNCATE TABLE exp_templates; | |
| INSERT INTO exp_templates |
| // To serialize: | |
| // Yeah, that's 3, 1, 3 and 11 backslashes. | |
| preg_replace('/\\\("|\'|\\\)/', '\\\\\\\\\\\$1', serialize($array)); | |
| // To unserialize: | |
| $REGX->array_stripslashes(unserialize($string)); |
| function _ee_notice($msg) | |
| { | |
| $this->EE->javascript->output(array( | |
| '$.ee_notice("'.$this->EE->lang->line($msg).'",{type:"success",open:true});', | |
| 'window.setTimeout(function(){$.ee_notice.destroy()}, 2000);' | |
| )); | |
| } |
| if ( ! empty($errors) ) | |
| { | |
| $msg = array(); | |
| foreach ($errors AS $line) | |
| { | |
| $msg[] = $this->EE->lang->line($line); | |
| } | |
| $this->EE->session->set_flashdata('errors', $msg); |
| <?php | |
| /** | |
| * Create files for all templates (EE1) | |
| * Add this to a script somewhere | |
| */ | |
| include PATH_CP.'cp.templates.php'; | |
| $CPTMPL = new Templates; |
| // This will execute the exp:tag if first segment is empty | |
| {if segment_1 != ''} | |
| {exp:class:method} | |
| {if var == "foo"} | |
| Lorem | |
| {if:else} | |
| Ipsum | |
| {/if} | |
| {/exp:class:method} |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <!-- Meta --> | |
| <meta charset="utf-8" /> | |
| <meta name="author" content="Lodewijk Schutte | Low" /> | |
| <meta name="description" content="go to Low, for Expressionengine Add-ons" /> | |
| <title>Low Reorder 1 Documentation</title> |
| (function($){ | |
| $(function(){ | |
| var $form = $('#search'), // Search form | |
| $target = $('#results'), // Results container | |
| rp = 'search/ajax-results'; // Template for results only | |
| // Function to execute on success | |
| var success = function(data, status, xhr) { | |
| $target.html(data); | |
| }; |
| function display_var_field($data) | |
| { | |
| return $this->_display_field("var[{$this->var_id}]", $data); | |
| } |