Skip to content

Kabak/cot-attach2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

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

About

New generation attachments, downloads and galleries for Cotonti

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 42.5%
  • JavaScript 37.7%
  • Smarty 11.2%
  • CSS 6.8%
  • HTML 1.8%