Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

mattpoole-1505392

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Matt Poole's avatar
    Matt Poole authored
    c947a4b2
    History
    This module allows you to take portions of your page template and evaluate them with separators between each section
    or a single section. The callback that powers this page returns no content, so it will basically output the wrapper
    for the site. This module is useful if you need, for example, to copy the header and the footer for the site added on a
    separate code base.
    
    To access the wrapper visit /share_wrapper
    To access a single section vist /share_wrapper/[SECTION-NAME]
    To access the page as the anonymous user add /anonymous to the end of the above urls.
    
    If you'd like to check if the wrapper page is being displayed so you can modify the output, check if the constant
    SHARE_WRAPPER_ACTIVE is defined or if arg(0) is share_wrapper.