User Profile Single Page Overrides
Permalink 1 user found helpful
I'd like to customize the user profile pages. Is there a way to completely override them AND preserve the directory structure of the files?
In other words, the default profile pages are located at:
concrete/single_pages/profile/avatar.php
concrete/single_pages/profile/edit.php
concrete/single_pages/profile/friends.php
concrete/single_pages/profile/messages.php
concrete/single_pages/profile/view.php
I can override them by simply copying the entire “profile” directory to the single_pages directory at the root. However, that still wraps them in the theme's view.php.
What I'd like to do is customize them completely; and I can do that (after enabling it via site_theme_paths.php), but the individual files within the “profile” directory must be copied to the theme's root. That is, it doesn't work if I copy the entire “profile” directory into the theme's root. Aside from the organizational issue of cluttering the theme's root directory, there's the potential for a name conflict - i.e. I might wish to have an "edit.php" single page that's completely unrelated to user profiles. Keeping all the profile-related single pages within their own subdirectory is more desirable, but it doesn't seem possible.
Am I overlooking some way to accomplish this?
-Steve
In other words, the default profile pages are located at:
concrete/single_pages/profile/avatar.php
concrete/single_pages/profile/edit.php
concrete/single_pages/profile/friends.php
concrete/single_pages/profile/messages.php
concrete/single_pages/profile/view.php
I can override them by simply copying the entire “profile” directory to the single_pages directory at the root. However, that still wraps them in the theme's view.php.
What I'd like to do is customize them completely; and I can do that (after enabling it via site_theme_paths.php), but the individual files within the “profile” directory must be copied to the theme's root. That is, it doesn't work if I copy the entire “profile” directory into the theme's root. Aside from the organizational issue of cluttering the theme's root directory, there's the potential for a name conflict - i.e. I might wish to have an "edit.php" single page that's completely unrelated to user profiles. Keeping all the profile-related single pages within their own subdirectory is more desirable, but it doesn't seem possible.
Am I overlooking some way to accomplish this?
-Steve