Git Product home page Git Product logo

cot-attach2's Introduction

Attachments 2 for Cotonti

With this plugin you can attach files and images to any Cotonti objects including pages, forum posts and organize them into galleries or downloads.

Cotonti Rev.

  • 0.9.22 supported
  • PHP 8.1

Thanks to Pavlo Tkachenko

Thanks to his work you could use that good plugin again Pavlo Tkachenko

Forum

Forum

Usage at forum

// Attach to forum post {FORUMS_POSTS_ROW_ID|att_widget('forums',$this,'attach2.link')}

// Displat at forum {FORUMS_POSTS_ROW_ID|att_display('forums',$this)} // All by attach list queue {FORUMS_POSTS_ROW_ID|att_gallery('forums',$this)} // gallery {FORUMS_POSTS_ROW_ID|att_downloads('forums',$this)} // for downloading not picture

// 1000*600 picture

< img src="{FORUMS_POSTS_ROW_ID|att_get('forums',$this)|att_thumb($this,1000,600,height)}" alt="{FORUMS_POSTS_ROW_ID|att_get('posts',$this,'title')}" class="img-fluid"/>

Usage at Pages

// Attach to page {PAGE_ID|att_widget('page',$this,'attach2.link')}

// Display at page {PAGE_ID|att_display('page',$this)} // All by attach list queue {PAGE_ID|att_gallery('page',$this)} // gallery {PAGE_ID|att_downloads('page',$this)} // for downloading not picture

Usage at Comments

// Attach to comment {COMMENTS_ROW_ID|att_widget('comments',$this,'attach2.link')}

// Display at Comment {COMMENTS_ROW_ID|att_display('comments',$this)} // All by attach list queue {COMMENTS_ROW_ID|att_gallery('comments',$this)} // gallery {COMMENTS_ROW_ID|att_downloads('comments',$this)} // for downloading not picture

cot-attach2's People

Contributors

kabak avatar macik avatar trustmaster 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.