Simple file field (instead of file manager)

More
12 years 4 months ago #33037 by ggppdk
I have some thoughts of this and
i have opened an enhancement issue:

Enhancement Issue 552

just note this is low priority now


-- 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...

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

More
10 years 3 months ago #52723 by juansolos
Hello,
this post is 2 years old but as i have seen here
github.com/FLEXIcontent/flexico ... issues/128
still actual.

So to stay in work with the files manager. It should be fine to override the front end view.
Using the file
administrator/components/com_flexicontent/views/filemanager/tmpl/default.php
i am able to modify the backend view. Not my goal.

But in the file
components/com_flexicontent/views/filemanager/tmpl/default.php
this is the same file that is required. But no change.

What have i missed?

Is it clear for me that is not a fine solution to simpify the file field in front end.

Regards

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

More
10 years 3 months ago #52735 by ggppdk
Hello

sorry,

not possible to do, due to little time for such a feature, although it is nice and maybe not so difficult, it does need some time and planning, (planning to make it properly so that we do it bonds well with existing implementation, since we don't want to re-write the file field)


reason we have other priorities:
-- just finished FIELD grouping, all multivalue fields can be grouped, ... and filtering, existing values, etc, work
-- powerful cascading for fields (is almost done):
select
selectmultiple
radio (TODO)
radioimage (TODO)
checkbox (TODO)
checkboximage (TODO)
-- revised all backend UI !!! ... !!!
-- templating work, e.g. we will have a template selector in frontend to switch layouts: e.g. list, table, blog
(this is already supported we need to finish the selector)
-- remaining multi-list views except search will use the category model and templating: tags, favourites,
(mostly done)
-- new configuration based on dependencies hides parameters in component, modules and plugins, TODO for categories in v3.1
-- more work on frontend templating
and others !!
-- other !!

we are quite busy with v3

if a developer does this for you, may contribute code in GitHub, otherwise we will do in a future version

Regards


-- 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...

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

More
10 years 3 months ago #52737 by juansolos
Hi,
i am aware that your ToDo list is full.
I do't want to say you to do a simple file field. You had told in another post that it is not your priority. I anderstand.

I am just asking how to 'hack' the front end submission files. (hide some optionnal field as language, ...)

I have found the backend submission file here :
administrator/components/com_flexicontent/views/filemanager/tmpl/default.php

and the modifications affect only backend.

I am asking which file modify for the front end.

Thank for all your work.

Regards

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

More
10 years 3 months ago #52738 by ggppdk
Hello

the simpler / quicker solution is to create a new FLEXIcontent field


-- 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...

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

More
10 years 3 months ago #52739 by ggppdk
Hello

here are detailed instructions on how to create a new field type:
How to Duplicate a Flexicontent Field to create a new Field Type

www.flexicontent.org/documentati ... -type.html

-- then use PHP knowledge (google it) to handle file uploading:

1. inside field function:
onDisplayField(...)
display a simple upload


2. handle file renaming/moving (after form submit) inside field function:
onBeforeSaveField(...)


3. display if need a link to the file inside function:
onDisplayFieldValue(...)


-- you do not need to hack the form, only implement the above 3 functions

a. use HTML and PHP knowledge of forms
b. e.g. use (or some log file)
print_r($var);
exit;
to see content of variables

Regards


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.330 seconds
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
Save