Show filebrowser to FEU and weird Smarty tags
Posted: Thu Nov 01, 2007 2:09 pm
Hi all,
As a basic CMSMS user I'm trying to work some with FUE en customcontent. I'm running into some problems I can't get solved.
First off, when typing some CC tags in TinyMCE, some caracters get replaced. This is the case with for example the following tag:This gets replaced by Because I also want other users to work in this content area on other pages, I can't turn off Wysiwyg.
Secondly, I want to show logged in users a filebrowser with their own specific files. These get placed in the folder uploads/debiteuren/debiteurnummer/ where debiteurnummer is a variable number, which I also specify as a property for FEU. So I found this nice filebrowser that I included, but how do I put a tag in that file that makes the link correctly? It has the following string for the folderpath:
So when I alter that to the following, it displays that folder correctly
But how do I replace the number by a tag that includes the FEU attribute
Is it possible to call such a property from outside of a CMSMS app? The filebrowser used can be found here: http://www.evoluted.net/community/code/directorylisting.php
As a basic CMSMS user I'm trying to work some with FUE en customcontent. I'm running into some problems I can't get solved.
First off, when typing some CC tags in TinyMCE, some caracters get replaced. This is the case with for example the following tag:
Code: Select all
{if $ccuser->loggedin()}Code: Select all
{if $ccuser->loggedin()}Secondly, I want to show logged in users a filebrowser with their own specific files. These get placed in the folder uploads/debiteuren/debiteurnummer/ where debiteurnummer is a variable number, which I also specify as a property for FEU. So I found this nice filebrowser that I included, but how do I put a tag in that file that makes the link correctly? It has the following string for the folderpath:
Code: Select all
Start Directory - To list the files contained within the current
directory enter '.', otherwise enter the path to the directory
you wish to list. The path must be relative to the current
directory.
*/
$startdir = '.';Code: Select all
$startdir = 'uploads/debiteuren/12000008/';Code: Select all
{$ccuser->property('debiteurnummer')}