Giter VIP home page Giter VIP logo

zenpage_macros's Introduction

zenpage_macros

A Zenphoto plugin to provide various content macros for Zenpage CMS items. For content/extra content of a Zenpage page or news article:

[PAGECONTENT <titlelink> <publish true|false> <title true|false> <header string>]
[PAGEEXTRACONTENT <titlelink> <publish true|false>]
[NEWSCONTENT <titlelink> <publish true|false>  <title true|false> <header string>]
[NEWSEXTRACONTENT <titlelink> <publish true|false>]

Excerpts of the direct subpages (1 level) of the current Zenpage page:

[SUBPAGES <headline> <excerpt length> <readmore text> <shortenindicator text>]

All are optional, set to empty quotes ('') if you only want to set the last one for example.

This generates the following html:

<div class='pageexcerpt'>
  <h3>page title</h3>
  <p>page content excerpt</p>
  <p>read more</p>
</div>

zenpage_macros's People

Contributors

acrylian avatar vincent3569 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

zenpage_macros's Issues

issue with zenpage_macros

I have these errors when I activate the plugin :

{26934:Tue, 04 Mar 2014 07:35:35 GMT}

WARNING: call_user_func_array() expects parameter 1 to be a valid callback, class 'zenpageMacros' does not have a method 'zenpageContent_macro' in /home/avbo7291/public_html/zenphoto_dev/zp-core/functions-filter.php on line 149

call_user_func_array called from zp_apply_filter (functions-filter.php [149])

from getMacros (functions.php [2276])

from require_once (macroList.php [77])

from require_once (load_objectClasses.php [35])

from require_once (functions.php [33])

from require_once (admin-functions.php [8])

from require_once (admin-globals.php [15])

from admin-logs.php [8]

{26934:Tue, 04 Mar 2014 07:35:35 GMT}

WARNING: call_user_func_array() expects parameter 1 to be a valid callback, class 'zenpageMacros' does not have a method 'subpages_macro' in /home/avbo7291/public_html/zenphoto_dev/zp-core/functions-filter.php on line 149

call_user_func_array called from zp_apply_filter (functions-filter.php [149])

from getMacros (functions.php [2276])

from require_once (macroList.php [77])

from require_once (load_objectClasses.php [35])

from require_once (functions.php [33])

from require_once (admin-functions.php [8])

from require_once (admin-globals.php [15])

from admin-logs.php [8]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.