Developing (v7+)

Cannot access file via userpages

Dear programmers, The issue that I encounter is the following. When i login to my CMS with my credentials (member + admin) I can do everything. I can view the site just as it is menat to be. But when other users log in and they are part of teh corre…

UTF-8 in add-on

Hello. I have a small problkem. I asked the developer, but I think they forgot me, so I am asking here but on a more general basis. Where would the code for Charset UTF-8 be in an add-on? I have an addon that includes extras info field (as part of page…

email event

So, I'm working on a community sort of website, based on concrete5.6. Now, my clients wants a to automaticly login by clicking a link in their email. This part is no problem. But... How do i create these links? I wanted to plug in to a before_em…

(5.6) File set permissions

Hello all I've discovered that the documentation for programmatically assigning permissions to file sets seems to be out of date. The page refers to $fs->setPermissions() when in fact the API method is $fs->assignPermissions(), and the arguments sugges…

Bug with TinyMCE - Format dropdown - 5.6.3.3

Hi I've logged a bug in the tracker for this. It seems that something has broken the Format dropdown from showing the format (h1, h2, p etc.) of the selected text. This is quite useful for visual reference for editing - client has noted it being a prob…

Get user's file set

Hi all I'm creating a file set when a user is created like this: [code] Events::extend('on_user_add', function($arg){ FileSet::createAndGetSet($arg->uName, FileSet::TYPE_PUBLIC, $arg->uID); }); [/code] The last argument is the user's ID, …

Deleting a file from the front end

Hi all I'm looking to create an interface whereby users can delete files they've uploaded using @johnthefish's Front End File Uploader. The idea is that they use that to upload photos to a gallery, but they need a facility to delete those files too. I …

Linking to pdf file in html block

I want to link to a pdf file I have uploaded in file manager. The problem is I am using a FontAwesome pdf logo, and this needs to be added using an html block. What is the correct way of linking to this file in an html block? The pathway is not very logic…

Filter Posts