ScottC
Member Since
November 08, 2008Bio
I love solving problems, would prefer to be solving them from Hawaii..or somewhere warmer...so I live in Cincinnati until I make that my reality.I am co-creator of concrete5 blog app, contributed wordpress import->concrete5 app code, and I can pretty much do anything you want to do in any exisiting site in concrete5. Budget 2k+ only.
C5 Sites
they've been on espn. Every site that has concrete5 blog app in it has a little bit of my work in it :), so a few hundred or so.Personal URL
n/aMarketplace
My Posts
re: Trying to get the current page URL
do:
[code]
function getCurrentUrl(){
global $c;
$nh = Loader::helper('navigation');
$cpl = $nh->getCollectionURL($c);
return $cpl;
}
[/code]
this is from a controller hence the global $c which is hacky, but it does work.
so say on_st...
03/11/10 - 1:42am
re: Removing the "2" in the url when re-creating a page
the two is triggered by collections/pages (they're blurred at this point, though collections can hold have area relations without being a full fledged page..but that is entirely off topic)
so when you get a 2, or 1, that means you already have a collec...
03/11/10 - 1:32am
re: Registered User unable to moderate comments
well tying the guestbook into the block isn't something that we had originally intended to do. Going forward, it seems like we might have to rewrite this block to properly respect the blog groups or come up with our own more powerful guestbook block wher...
03/10/10 - 1:53pm
well your issue is
make sure your theme has a view.php present and has print $innerContent in it.
You make a view.php by taking default.php, wherever you have $a = new Area('Main'); $a->display($c);
change to:
print $innerContent;
This is always the issue :)
03/10/10 - 12:05pm
re: Can't seem to change Galleria CSS
hi Nate, load up firebug and firebox. You can view where it is inheriting the color from. I think it is probably an !important somewhere that you aren't able to override. often these are in the body tags or something more global that gets inherited..methi...
03/09/10 - 5:36pm
re: Registered User unable to moderate comments
Ah fringe case. This ability is actually managed by the ability to add the block itself, or at least that is the way I am reading it.
so basically to do this as a one of you'll need to change line 55, where it says:
[code]
$u = new User();
[/cod...
03/09/10 - 5:34pm
re: Embed Wordpress gives error
i had the same issue, this one is kind of complex really....
I wrote a bridge to concrete5 that pulled in wordpress posts based on urls, which changed mid-beta to where doing this wasn't possible in a scalable re-distributable manner so i abandoned it....
03/06/10 - 12:49am
re: If a Page has Sub Pages add class
i dunno, there's like 5 ways to do anything.
I'd go about it by doing if(!empty($c->getCollectionChildrenArray()){
//i have kids
}else{
//i have dogs.
}
?
03/06/10 - 12:40am




