Skip to content

terrybritton/parse_file_paths

 
 

Repository files navigation

Parse File Paths

Parses {filedir_X} variables. Works great with query module and activerecord plugin, and any other add-on that outputs raw channel data.

This new 2.1 version includes the required addon.setup.php file and also updates the code for upcoming changes in PHP which deprecate a class and function having the same name.

Installation

  • Copy the /system/user/addons/parse_file_paths/ folder to your /system/expressionengine/third_party/ folder

Usage

{exp:query sql="SELECT field_id_1 AS file FROM exp_channel_data"}
{exp:parse_file_paths}
	{file}
{/exp:parse_file_paths}
{/exp:query}

About

Parses {filedir_X} variables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published