Argument-Plugins--Starting-at-the-beginning.html

  1. cis7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  2. cle7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  3. ecd7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  4. elmsmedia7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  5. harmony7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  6. icor7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  7. meedjum_blog7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
  8. mooc7 sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html

File

sites/all/modules/ulmus/ctools/ctools_plugin_example/help/Argument-Plugins--Starting-at-the-beginning.html
View source
<div id="node-12" class="node">



  
  <div class="content clear-block">
    <p>Contexts are fundamental to CTools, and they almost always start with an argument to a panels page, so we'll start there too.</p>
<p>We first need to process an argument.</p>
<p>We're going to work with a "Simplecontext" context type and argument, and then with a content type that displays it. So we'll start by with the Simplecontext argument plugin in plugins/arguments/simplecontext_arg.inc.</p>
<p>Note that the name of the file (simplecontext_arg.inc) is built from the machine name of our plugin (simplecontext_arg). And note also that the primary function that we use to provide our argument (ctools_plugin_example_simplecontext_arg_ctools_arguments()) is also built from the machine name. This magic is most of the naming magic that you have to know.</p>
<p>You can browse plugins/arguments/simplecontext_arg.inc and see the little that it does.</p>
  </div>

  <div class="clear-block">
    <div class="meta">
        </div>

      </div>

</div>
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.