Download & Extend

Do Contextual Variables Exist to use within Admin Pages?

Project:Flexifilter
Version:6.x-1.1-rc2
Component:User interface - Admin pages
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello all,

I was curious if any context sensitive variables could be used while creating a filter with Flexifilter within its admin pages.

For instance, here is an example work flow to replace a custom video tag with embed code:

//Example custom video tag:
//[video@location="/videos/test.flv"&height=400&width=400]

1. Chunk Grabber -- Get chunk from node body using [video@, ] delimiters (include delimiters)
//RESULT: [video@location="/videos/test.flv"&height=400&width=400]

I) Chunk Grabber -- Get chunk from video tag of parameters using @ ] delimiters (do not include delimiters)
//RESULT: location="/videos/test.flv"&height=400&width=400

II) Execute PHP Code -- parse_str($CHUNK_RESULT_I);
//RESULT: $location = "/videos/test.flv" $height = 400 $width = 400

2. Text Replace -- Replace result of highest level chunk with video embed code
//RESULT: Printed video embed code with appropriate variables

In the above example, does a variable exist that will allow me to manipulate the results of a Chunk Grab?

Essentially, where does the result of a Chunk Grab get stored?

Thank you very much for any and all help with this issue!

Also, I am not "married" to this work flow. So, if there is a logical way to attempt the above process that I might not be thinking of, then please feel free to suggest the alternative.

Thanks!

--Dustin

Comments

#1

Assigned to:grease357» Anonymous