I'm stuck on how to actually drop or even remove rows from a database table when a block is uninstalled.
Here's my current method that I'm using.
[code]
function delete(){
$db = Loader::db();
$db->query("DELETE * FROM tableName");
parent…
Hi
I like how the "screenshots" icon on the Addon's pages launches the first photo in a collection of images. You then click the next arrow to go through them.
e.g. http://www.concrete5.org/marketplace/addons/extended-google-map/
Can we do this w…
Hi,
How can I add a tab/page to someone's dashboard when they install my addon (package)?
I saw this post, but was still confused: http://www.concrete5.org/community/forums/customizing_c5/creating-dashboard-page-tutorial/
Thank you.
Hi everybody,
Is there any way to add swfobject.js only to page_not_found.
I have a flash menu there and right now its showing me "You must install Adobe Flash to view this content.".
I know I can add it to my theme header but that would add it t…
I'm looking for a way to discover if a checkbox attribute has been added to a page, but is unchecked.
My testing has indicated that this code to get the value of a checkbox attribute
[code]$page->getAttribute('hide_date');[/code]
will return 'empty' …
I get this error when publishing a page.... Please help...
Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [126: Incorrect key file for table './nogepa/PageSearchIndex.MYI'; try to repair it] in EXECUTE("UPDATE PageSearchIn…
I have created a custom page attribute called 'background_theme'.
This will be used where users can change the properties of the page attribute to select from a drop down one of theme options.
What I am trying to do is in the header.php is look at t…
I would like to pre-install some themes in an installation of concrete, I have managed to install the auto-reset script and can pre-install some of the add-ons but would like to install it with some extras that I create every time I set up a new site.
Ma…
Hey All,
I'm trying to write some code to add a page in the unapproved state. So, I'm working at it in this way:
[code]
$parent = Page::getByID($parent_id);
$ct =CollectionType::getByID($collection_type);
$data = array('cName' => 'Page Nam…
Hy.
I'm creating a new custom block upload (see screenshot).
I would like to send email notification to users when I upload a file.
I have a problem. How can I retrieve value of checkboxes?
[code]
add.php
************************************…
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.