Uploaded File Viewer (airdoc)

More
8 years 4 months ago #62956 by jeffhoneyager
I have uploaded MSword and Excel files using a field of the type of "file"
They display and download fine; as one would expect.

I have added the plugin aridoc by ARI-soft.com

It does a great job displaying documents on the front end.

The plugin is used like this:
{aridoc engine="google" width="595" height="750"}/documents/my-uploaded-file.doc{/aridoc}

During entry, I add the file and it stores it perfectly.

I can display the file when it is in a text area using the above plugin call. But this is outside of the user's capability. I need to display the plugin calls using the file name.

Neither of the following work:

"Every Value Prefix" {aridoc engine="google" width="595" height="750"}/documents/
"Every Value Suffix" {/aridoc}

"Opening Text for Field" {aridoc engine="google" width="595" height="750"}/documents/
"Closing Text for Field" {/aridoc}

How do I display the file name in a template with the above plugin prefix and suffix?

Thanks so much.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #62958 by ggppdk
Hello

yes, the parameters for to enable Joomla content plugin triggering exist in most fields

- but are missing from file field

I have added them, visit URL:
github.com/FLEXIcontent/flexicontent-cck/tree/3.0.x-stable

Click "Download or Clone" / "Download ZIP"

then install in testing web-site by uploading the package via Joomla extension manager (Joomla extension installer)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 4 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #62959 by jeffhoneyager
WOW!

Thank you for addressing this so quickly. Unheard of response time. I'll put in a big positive in a JED review.

I have created the zip and will build in a new test environment.

...will let you know.

Thanks.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #62960 by jeffhoneyager
Installed the beta version.
Still no joy. The plugin "trys" to display the file, but if the parameters are not exact, the plugin shows "No preview available"

I the dev. site I placed the correct plugin call within the description area and it does show fine.

Something is changing the outputted string for the "field" display, but I don't know how to see it before rendering.

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago #62964 by jeffhoneyager
Here is a screen shot of the field definition.


Attachments:

Please Log in or Create an account to join the conversation.

More
8 years 4 months ago - 8 years 4 months ago #62968 by ggppdk
Hello

in most case you also need to enable parameter (Read the popup description):

"Remove space"


otherwise the plugin code may fail


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 4 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.815 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline