Phoca Extensions
Free extensions for Joomla! CMS

Displaying Phoca Download Plugin

Category: Phoca Download Plugin
Add the following code into the article:

Link to Phoca Download Sections

altphocadownload view=sections|text=Sections|target=balt


 Depreciated in Phoca Download 2


Link to Phoca Download Section

altphocadownload view=section|id=3|target=balt


Depreciated in Phoca Download 2


Link to Phoca Download Plugin Category

altphocadownload view=category|id=35|target=balt



Link to Phoca Download File

altphocadownload view=file|id=280alt



Since Phoca Download Plugin 2, link to categories and filelist can be created.


You can use following attributes:

  • view: (Phoca Download 1) sections|section|category|file|fileplay|fileplaylink|filepreviewlink|youtube
  • view: (since Phoca Download 2)categories|category|filelist|file|fileplay|fileplaylink|filepreviewlink|youtube
  • text: text (title) which will be displayed in the content article as a link
  • id: id of section|category|file
  • target: target of the link (b ... _blank, t ... _top, s ... _self, p ... _parent)
  • playerwidth: width of the player - for playing e.g. flv files
  • playerheight: height of the player
  • playerheightmp3: height of the player in case MP3 file will be played
  • previewwidth: widht of the popup window for previewing the file (PDF)
  • previewheight: height of the popup window for previewing the file
  • youtubewidth: width of the youtube player
  • youtubeheight: height of the youtube player
  • url: link to Youtube video ( example: phocadownload view=youtube|url= )
  • limit: (since Phoca Download 2) uses in filelist view - the list of files can be limited

In parameters of this plugin you can set size of icons displayed next to link (16, 32, 64).


When you copy the code from this website, please don't copy the { and }, because these are images. When you add the code to your own article you have to type the { and } yourself. (If it would be typed here, you wouldn't see the code, but the links). Don't use line breaks for the code. The code should be added without any line breaks into the editor.
If you are using SEF, be sure, you have created menu link to Phoca Download so the article links can get Itemid from this menu link.
Access Rights - Access rights are not checked in the plugin, so if e.g. user has no access to some file and you will add the link to this file into the article, user can click on this link but no file will be displayed (downloaded)




Phoca Forum - Latest Topics