Developing (v7+)

Login Destination - Redirect to a specific page issue.

Hi C5 Community, In systems and settings' Login Destination page, the redirect to a specific page option it's not working anymore after I deleted the assigned page in the sitemap. Now I can't set it to another page and just throwing a JS error. Un…

Calendar block - block date display error - last date missing

Hi, I am creating a simple calendar to display when a rental property is booked but when displaying a booking of 4-days the calendar display block misses off the last date. So a 4-day booking appears like a 3-day booking. It, however, displays correctly …

add multiple classes at once via page_theme

How can i add multiple classes at once via page_theme, "getThemeAreaClasses()" is that possible? it would be much easier and would save time for editors. thank you.

autonav $navItem->level is always 1

He all I am writing a custom template for autonav and need to know the level at which the page appears in the sitemap code $navItems = $controller->getNavItems(); foreach ($navItems as $ni) { echo $ni->level; } ie this is what I believe…

Unable to log in to dashboard.

I set pretty url's which didn't work for me, so I disabled it. Now I go back to the site and it looks like it's enabled again. When I try to log in to the dashboard, it directs me to a pretty url and fails, then I try to log in again and it gives me a m…

Multiple 302 Redirects

Hello all, Am having some trouble with our website and the bing/yahoo search bots complaining of too many 302 redirects. The GoogleBot is fine. I was wondering if anyone else have come across this issue before? Have tried editing the .htaccess file…

base url for images in a package

I am migrating a site to a C5 package and I wish to use the existing twig templates. To do so, I added the following twig() method to the page controller. report.php is just a standard twig template and ideally wouldn't have a PHP extension but C5 compl…

Member Attribute Permissions

Hi Folks, Is it possible to assign permissions to member attributes? I basically have a website with different tiers of members and I only want certain attributes to appear on certain member profiles. So for example, I don't want a normal bog sta…

Using middleware for authentication

I am developing a package of multiple single dashboard pages. The package requires some api information to be filled out prior to using it. Each time the package is accessed, I wish to verify that it is configured before displaying a given page. Can mi…

Filter Posts