Example: autoNav block ------ controller.php
[code]
use core;
use Database;
use Page;
//rest of the code
[/code]
Why i need for example the "use core;" - inside autoNav controller.php? Someone tell me more about this issue.
This issue "using-a-custom-controller-for-a-core-block-type" C5 docs:
http://documentation.concrete5.org/developers/working-with-blocks/working-with-existing-block-types/using-a-custom-controller-for-a-core-block-type
I try to create custom controller…
I am using the Full Page page type for a photo gallery. There is one block on the page -- a custom block I designed using a javascript photogallery. The old gallery does not work well with mobile so I put together a new custom block using a responsive p…
In this simple example i set name and the single page print "hello name".
Example:
I set in the form the name to "ezra" --> sumbit
The output: "Hello ezra"
"THE PROBLEM" This example works fine but i want to learn how to use the form helper to pass …
Hi all. I apologize if this has been discussed prior. I searched the forum but couldn't find an answer. I am using the the "elemental" theme. There are a couple blocks that link to the associated pages. i.e "blog" and "portfolio". While I'm still buildin…
I have created custom attribute e.g. product_price for Portfolio items
I can display the attribute easily using the Page Attribute Display block
And I can add a HTML block with a form to add to externally hosted shopping cart
But I have to manually set…
I want to give a user group access to the Dashboard (so that they can edit the add-on Event Calendar). I have Advanced Permissions turned on. Previous discussions (2010 - 2012) indicate that the Dashboard should be visible from the full sitemap, with In…
I'm having some very strange problems that *SOMETIMES* happen with my site.
www.whitesvillewv.com
Everything in the site was working fine. We turned the site over to the client and a few days later they couldn't were getting kicked out when they tried…
If you're looking to get help with an Add-on or Theme you got out of the marketplace, you can do that from the very same place you got the item in the first place. For example, if you have an eCommerce or Calendar question - go check out the Support tab for each of them.
Pick an Answer
Hey, you're asking a community of busy people to volunteer their time to find you an answer. Help us know if your thread is resolved or not by picking an answer.
There's a little "Mark as Best Answer" link to every post in your thread. When you find the best answer to your question, just click that link and all sorts of wonderful things happen to everyone!
-Thank You! MGMT
Post
Sign In?
You must have a user account and be signed to perform this action.