Giter VIP home page Giter VIP logo

link_preview's Introduction

Link Preview

Version: 1.2.x

Offers a field that will place a link to the frontend in the publish pages

SPECS

Using the brackets syntax, it permits to create frontend links related to the entry.

REQUIREMENTS

  • Symphony CMS version 2.3.4 and up (as of the day of the last release of this extension)

INSTALLATION

  • git clone / download and unpack the tarball file
  • Put into the extension directory
  • Enable/install just like any other extension

You can also install it using the extension downloader.

For more information, see http://getsymphony.com/learn/tasks/view/install-an-extension/

HOW TO USE

  • Add a Link Preview field to your section.
  • Set up the url format using values from other fields.
  • Use "Anchor Label" to give your link a custom label.
  • A simple link will be added next to the title of the entry.

HOW TO SET UP THE URL FORMAT

  • Use {$fieldname} to include the handle of a field
  • Use {$fieldname:value} to include the value instead of the handle
  • Use {$fieldname:id} to include the ID of an associated entry
  • Use qualifiers for php date_format to format date and datetime fields:
    • i.e. /article/{$date:Y}/{$date:m}/{$date:d}/{$title}/
  • Use qualifiers for php date_format to format the current system date:
    • i.e. /today/{$system:date:Y}/{$system:date:m}/{$system:date:d}/
  • Available system values:
    • system:id => Entry ID
    • system:time => 'H:i'
    • system:date => 'Y-m-d'
    • system:day => 'd'
    • system:month => 'm',
    • system:year => 'Y',
    • system:root => URL,
    • system:workspace => URL . '/workspace',
    • system:http-host => HTTP_HOST,

LICENSE

MIT http://deuxhuithuit.mit-license.org

Voila !

Come say hi! -> http://www.deuxhuithuit.com/

link_preview's People

Contributors

nitriques avatar twiro avatar chobohub avatar beaubbe avatar

Watchers

James Cloos avatar

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.