Project

General

Profile

Actions

Bug #61369

closed

ElementBrowser.php Link Wizard

Added by stefan schreck about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2014-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Link which will be set by the Link Wizard uses the id of the "File Storage" instead of the REAL path name

file:1/
instead of
fileadmin/

<a href="#" onclick="return link_folder('file:1:/bereiche/Bilder/Kuenstler/fritsch/cock/');">

Actions #1

Updated by Markus Klein about 10 years ago

  • Status changed from New to Needs Feedback

Can you please describe what you precisely did?
What is the expected behaviour?

Your current description is not really meaningful unfortunately.

Actions #2

Updated by stefan schreck about 10 years ago

In a flexform I have the following field settings:

<startingpoint>
<TCEforms>
<displayCond>FIELD:mode:!IN:RECORDS,DAM,DAMCAT</displayCond>
<label>LLL:EXT:rgsmoothgallery/locallang.xml:flexform.sheets.general.startingpoint</label>
<config>
<type>input</type>
<size>45</size>
<eval>trim</eval>
<wizards>
<_PADDING>2</_PADDING>
<link>
<type>popup</type>
<title>Folder Selector</title>
<icon>link_popup.gif</icon>
<module>
<name>wizard_element_browser</name>
<urlParameters>
<mode>wizard</mode>
<act>folder</act>
</urlParameters>
</module>
<params>
<blindLinkOptions>page,url,mail,spec,file</blindLinkOptions>
</params>
<JSopenParams>height=400,width=400,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
</TCEforms>
</startingpoint>

the path should be File Storage path which is "fileadmin" an to the ID of it.

so result should be e.g.

fileadmin//bereiche/Bilder/Kuenstler/fritsch/cock/

instead it is
file:1:/bereiche/Bilder/Kuenstler/fritsch/cock/

is this more meaningfull?

Actions #3

Updated by Markus Klein about 10 years ago

If you mean that this is the content of the db column, then this seems correct.
'file' is the indicator that the links is about a file,
'1' is the storage uid (fileadmin in your case)
'/path' is the identifier inside the storage. (a path for local, file-based storages)

Actions #4

Updated by stefan schreck about 10 years ago

But it should be a link to a directory inside of fileadmin/.
not to a file.

there was a misspelling here:
the path should be File Storage path which is "fileadmin" an to the ID of it.
should have written
the path should be "File Storage" path which is "fileadmin" an the ID of it is 1.

Actions #5

Updated by Markus Klein about 10 years ago

I still don't understand the problem, sorry.

FAL references to files or folder are set up like described above:

file:<storage-id>:<identifier>

Where identifier can be a path to a file or a folder inside the storage.
Maybe ask on the German forum for further help, such that we can identify whether this is a bug or not.

Actions #6

Updated by stefan schreck almost 10 years ago

Could you please close / delete this topic!?!
It was a missunderstanding of the the new FAL reference scheme.

Actions #7

Updated by Markus Klein almost 10 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF