Developing (v7+)

Using another database's login info for Concrete5

Sorry if I've posted this in the wrong section - it's my first post here. I'm currently using another (specialised) system for tracking records and specific info, etc. which is quite useful, however for managing the front-end look and news content, it ha…

Print page URL

Hi! Simple question: how can i print current page URL with PHP? Im building a Facebook sharer so i need to print the URL of a current page, like this: http://www.facebook.com/share.php?u=PAGEURLHERE Thanks. :)

Getting over the upload timeout problem

Hello. I have been banging my head against this one for a few days now and wonder if somebody might have an answer. The site needs to upload a large csv file that requires line by line processing as it updates the database, specifically into User at…

Integrate app logic and database data

Hi folks. I'm totally new in concrete5 and i'm surprised with its simplicity and power. I've spent a few hours reading the documents, learning the architecture and how it works. This is my scenario. I've to migrate an existing site. It pulls its data f…

Pushing Membership into my site

I noticed a lot of people downloading my help documents and one pagers for service however I am not getting their contact info. How can I make it when somebody opt to download a pdf on my site that they first have to become a member. thanks in advanc…

Brand New Helper

I am trying to create a brand new helper (not override an existing one), but am having trouble. I copied the layout of form/page_selector and have tried naming my class Concrete5_Helper_MyHelper, Helper_MyHelper, Site_Helper_MyHelper, and SiteHelperMyHelp…

Replacing variable in an html link with an attribute

This might be an easy question, but I'm stumped. I'm trying to figure out how to take the value this provides, $ownerName = $ui->getUserName(); //get the username of the page owner and insert it into the spot that says [VARIABLE] here: Simple …

mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1] in EXECUTE("select max(cDisplayOrder) from Pages where cParentID = LIMIT 1")

My PHP is generating the following error: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1] in EXECUTE("select max(cDisplayOrde…

Filter Posts