Developing (v7+)

Graphs

Hi all, Im fairly new to C5 but I want to use the GD library to generate some graphs, I have some code which follows but the main problem seems to be this line: header("Content-Type: image/png"); It says header information has already been sent in t…

User profiles enabled, how do they sign out?

Hey, I am setting up a website for a client and I set up member profiles but when I sign in as one of the dummy accounts I dont see any options to sign out. I searched the forum but I couldn't find anything. Your help is much appreciated. Thanks

Tags block question

In the latest C5 version there is a Tags block. However you can't add it without making a tags attribute. I did but have nowhere to activate the attribute. Can someone please explain the Tags block? What is it? What does it do? and how do I get to use it?

Enable tinyMCE in a textarea

I'm building my own block and I'm having trouble to setup tinyMCE in it. What should I do? I want one like the "content" block. I took a look at the code but I'm not being able to put it in the textarea from my block. Thanks in advance, Lucas Lobosqu…

Full cache recommended in production?

Hello, I'd like to know if you recommend that a site should be put in full cache once it's deployed and the html/css files won't change anymore. Any reason not to? The cache will flush when a user edits a page, right? /Andreas

Block template loading wrong .CSS file

I'm building a C5 site that includes ChadStrat's ProEvents block. I installed the block, created a template in the block folder, and applied a template to the block. The weird thing is, the block's original .CSS file is still loading, overriding the st…

Different data views from the same block data

Hi, I just need a pointer here. I have the guestbook add in on a site. This all works ok. What I want to do is pull a random record from the base table and display it in another part of the site. I know I can easily do this just in php by select…

Need one collection/page with two views or page types

Sorry if my terminology is off here... I want to have one page with about 30 attributes, and two different page types to display that data in very different ways. How can I do this? I was imagining programatically switching the page type with a con…

block doesnt work in C5

Hi, I have created a block to get xml results using curl you can see it here... http://dev.crocodile-communication.com/cruise/blocks/apisearch/view.php when i add the block to the site the dropdowns dont populate ... http://dev.crocodile-communic…

Dynamic Attribute Category Model File

Negating the option to modify core code... If a package contains multiple new AttributeKeyCategories, is there a way to use one file to dynamically model each class, rather than creating a new file for each one?

Filter Posts