Developing (v7+)

Default view.php inside a Template

Hi guys, Long time no post. :p I've been playing around with the "Page Block" - http://www.codium.co.nz/page_block_for_concrete5/ Sweet block IMO... Anyways, I've modified it so that you can select what attribute you want it to spit out, rather t…

best practice? one down, one to go

In my site i want to have a single page with a large data table coming from mysql and some jquery stuff to manipulate that table. Also i made a page type to use for some quizes made with sql support and a php script. In those both cases my simple so…

Attribute type - Number (sortByCollectionAttribute)

I'm using Concrete5, most recent version - 5.3.1. I have a page attribute, called "Price", which have type definition - "Number". In one of my blocks i use [code] $pl = new PageList(); $pl->sortByCollectionAttribute('Price'); [/code]But list ite…

Updating users attributes from a script

Hi, I need to update users attributes from a script. "Scripting Common concrete5 Tasks" tells me how to update user groups, etc., but not attributes. Data from the text box attribute can be read by following code. [code] [/code] But how do I u…

Access Denied Error

Hi, I was wondering if anybody has any idea on how to fix the following problem, i have a single page that im trying to use to upload some files to a directory, im using the jQuery plugin uploadify, the plugin uploads the files via ajax by using a fla…

migrating sites help?!

after reconfiguring the new server we've got here, and tried to migrate a higher profile site to the new box i'm getting these errors on _some_ of the pages [code]mysql error: [-32000: Cache write error] in CacheExecute(/path/to/concrete/files/cache/e…

Multiple Zoom Image Blocks on a page

I'd like to know how I go about getting multiple zoom image blocks on a single page. I have a need for several images in a row. I'm using a single column layout for the site. Maybe my question is: How do I get a page with arbitrary block 'slots' on it. I…

auto-nav disappears

I'm trying to implement a theme for my site. I used: [code] [/code] I worked great. But now i wrote a new page type, and wrote the same - however, the menu didn't appear :/ I then tried to make an exact copy of default.php, and the menu still d…

Forms emailing

I have built several forms, when someone uses them the it sends me the email but the address that comes from shows this: concrete5@mydomainname.com The user has to enter a email address so that contacting them will be easier. How can I get their e…

redirect on login to members page

I got this code from the forum that I put in my template (default.php). Everything works great, I get a log out and a message area, but I would like to redirect to my members only page rcID-70 when members log in. Of course on log out members would return…

Filter Posts