Developing (v7+)

login form if else

I'm a little confused on how to use an if else statement I can use [code] [/code] But how would I alter the statement using else . It just seems to error. eg. if user is logged in "do this" else "do that"

Request for site structure advice!

Good evening! I'm developing a C5 site with a somewhat complicated structure, and I wanted to appeal to the experience and wisdom of the community for some advice on how to execute it. So here's how a portion of the site lays out: it starts at a con…

Theme not showing up in "pages and themes"

I downloaded a little HTML theme, made the changes to the default.php page as instructed, added a thumbnail and description.txt, uploaded it to the themes folder of my site, but don't see it when I look in the dashboard. What could it be?

How to switch hosting?

Hi, If I have a c5 website running, and would like to switch hosting providers, what exactly do I need to do? I understand, of course, that I need to move the whole file structure to the new host server, but apart from that...? Details appreciated. …

eCommerce & Next & Prev

I have a site with pretty URL's enabled but for some odd reason the Product pages and any link that uses Next & Prev block all have the /index.php/ Any ideas anyone? Thanks

Events in eCommerce

I'm having trouble using the core_commerce_on_checkout_finish_order event in the core commerce add-on. The event is fired in /packages/core_commerce/libraries/payment/controller.php: [code] Events::fire('core_commerce_on_checkout_finish_order',$order,$…

Controller not possible when page name contains hyphen?

As far as I can tell it is impossible to have a controller for pages with hyphens in the name. For example: if we have a single page called 'my-page' there doesn't seem to be a way to correctly name the controller. The documentation still refers to under…

Redirect Parent Page to FIRST child page

Let's say a client wants to use the parent nav element for organization and not as an actual page. For Example: -Product 1 --About Product 1 --Pictures --More Info In this case they would want 'Product 1' to redirect to 'About Product 1' so th…

Filter Posts