can't remove aliased page, login page layout

Permalink
Hey guys,
Congrats on concrete5. I quickly dumped another CMS I was mid-stream in implementing for yours.. what took a week+ I accomplished in a few hours with concrete. I'm in portland too, so that's a bonus.

So on to the problems.. I created an aliased page, attempting to duplicate a content item in my autonav structure. Now, in the site manager, I cannot for the life of me delete it, it says I do not have permissions.

I was able to get around it by deleting the entire parent item, finally got that to work, but now I'll need to recreate the structure and pages. Not a big deal, but once this is live it will be..

Also need the $v->setThemeByPath('/login', "yourtheme"); to work in /config/site_theme_paths.php. after dinking around with that for an hour or so I discovered that it *really* isn't implemented yet.

is there a way to customize the login, register, and other built-in pages to be wrapped in my layout?

 
drm replied on at Permalink Reply
drm
sdc,

While I cannot comment on the alias issue I can say that the configuration option you're referring to is working for us.

Here's what we have in our config/site_theme_paths.php file that works for login/register:

<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
$myv = View::getInstance();
// you can override system layouts here  - but we're not going to by default */
$myv->setThemeByPath('/login', "custom_theme");
$myv->setThemeByPath('/register', "custom_theme");


I think the problem is the examples given have the improper naming method ($v-> vs $myv->)

Hope this helps
-drm
sdc53 replied on at Permalink Reply
thanks!
for anyone else reading this, you also need to make a view.php in your template folder and add this where you want the login box:
<?php 
  print $innerContent;
?>
andrew replied on at Permalink Reply
andrew
That page aliasing bug is frustrating, as this bug has reared its ugly head on several occasions in the past. We will add this as a high priority.
andrew replied on at Permalink Reply
andrew
If you're having trouble deleting aliased pages, this may be an issue just with the admin account. Try creating a new user account, and assign them to the administrators group. Then, login with them. Try accessing the dashboard sitemap and deleting the page. I was able to do this. The bug lies in some code that's custom loaded just for the super user.
sdc53 replied on at Permalink Reply
added another 'administrator' user and I was able to delete.