Home

OFF-SOFT.net

OFF-SOFT.net

This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?[:]

In the article Phoca Download To create a link to the file

Published on| April 20th, 2009 | No Comment.
Description:
Joomla! Download as a component in managing the Phoca Donwload, is one of the most popular components. However, this component, but unfortunately one does not have the plug-in modules and for a logical link in the article, you had to describe the links to the articles themselves. (The approach may have something, at least I did not know it. )

This time, phoca from the site, so (to put on a logical link in the article) was published a plug-in.
By using this plug-in, long, you can create a link in a logical and easily, leave it here.

First, download and install
Has written to Phoca Download component and, separately, Phoca Download the plug-in required.
Components for the Japanese language file is there, if necessary, during the download, you have fallen in with.
※ The plug-in, there is no Japanese language file, so there are few parameters, I need Not too much.

Phoca Download and install the downloaded components.
※ After the installation of the Japanese language file (ZIP) after extracting the appropriate folder,
/language/ja-JP
Then uploaded to.

Phoca Download to download the plug-in installed.
Phoca Download Enable plug-ins.


Download section, category, create a file
Then register the file to download.
Phoca Download component is to register the file to download the section belongs to that file, you'll need a category.
And feel normal when you register is the same article.
So, here is a sample
  • Section: Sample section
  • Category: Sample Category
  • File: Sample files
And to create a sample.

Section: Create a sample section
Phoca Download Section to view the screen components.
Components - Phoca Download - section]

"New" button.


Title: Alias section sample: samplesection
Published: No Yes Description: The description section of the sample
The "save" button.

Category: Sample Category
Phoca Download Component Tree to display the screen.
Components - Phoca Download - Category

"New" button.


Title: Alias Sample Category: samplecategory
Section: Public sample section: No ● Yes Description: Description Sample Category
The "save" button.

File: Sample files
Download the file to the actual
/phocadownload/
Then uploaded to.
※ The default file is located in the directory. (Or change)

Phoca Download file screen to display the components.
Components - Phoca Download - Files

"New" button.


Title: Alias Sample Category: samplefile
Section: Category Sample section: Filename: sample Category: Published on the uploaded file name: No ● Yes Description: Sample File Description
The "save" button.


In fact, let's create a link in this article
To create a link, as you see the article in the module, enabling it to easily embed the code in the article.
Since, in the code and display cases.

Link to the entire
Embed code)
{Phocadownload view=sections|text=Sections|target=b}
Example)


Links to Sections
Embed code)
{Phocadownload view=section|id=2|target=b}
Example)


Links to categories
Embed code)
{Phocadownload view=category|id=2|target=b}
Example)

Link to file
Embed code)
{Phocadownload view=file|id=2}
Example)



Like this, you can create a link to the article.

The meaning of each parameter is as follows.

Parameter name Meaning
view Type of rinse
  • sections: All
  • section: see the section for the specified ID
  • category: the specified category ID display
  • file: the specified file ID Display
text If not specified the title character string used to link the title, section name, category name, and file name used.
id ID
specified by means of a different view
  • view = sections: ignore
  • view = section: specify the ID section
  • view = category: Category ID to specify the
  • view = file: specify the file ID
target Anything but the specified target landing landing? Can change the
  • b: blank
  • t: top
  • s: own
  • p: Links for parents


Now you can create a link within the article easily.
If the new AGERE if the link specified in the alias, and appreciate the thought, it remains useful.
Yet, as it is beta, please use it in the light.


Comments

Leave a Reply







  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする
ページトップへ