Developing (v7+)

Set Attribute File/Image type, how?

Hi All, I'm trying to set an attribute to a custom page type via a script but it seems like I'm missing something, to set the attribute of type image/file what do you need? the file name or the file id? [code] $attributes->setAttribute('product_image'…

Can I echo an images description to a block?

Hi all, I am using the Galleria addon and want to have the description from the File Manager echoed below the images. How do I pull this data from the Db? Cheers Ben

Internal Server Error - Slow Page Loads

Hi all, i have an issue with the page load time of my site. Testserver http://zst.fox-it-solutions.de The size of my database is about 5 MB. At the Moment I'am not able to run the backup at the dashboard anymore. I always get the Internal Server Err…

How do I get a user attribute?

I'm creating a page on_user_add and I want to get the new user's attributes. I've created 3 attributes that are required on registration: firstName lastName phoneNumber I want to be able to get all of these.

addHeaderItem

Hi, I am trying to use the addheaderitem function, the problem I have is that I am trying to use an external hosted js file. Each time I do it it adds v=xxxxxxxx on to the end and I get an error returned because it's not expected. Am I doing something …

Display User Attributes on Members List

I'm building a single page (members.php) that lists all the Users' attributes in a table, with the column headings being the attribute key names. I've been using this: [code] $uaks = UserAttributeKey::getPublicProfileList(); [/code] However it on…

Using a CDN for the filemanager?

I'm building a project where my client is basically going to need unlimited storage space... so storing files on the web server probably ain't gonna cut it. I'm going to use RackSpace's CloudFiles CDN as the api is pretty straight forward. My question …

MVC question - block development

Would really appreciate your help on a broad "C5 block development" question. Question is: In C5 who puts what code where? View or Controller? (If this has been asked/answered/done, please slap me and point me at the right link; I couldn't find anythin…

Filter Posts