Page Creator crazy idea

gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Hey Guys

I most be stupid pilling more stuff on myself, but lets say I wanted to allow certain Pages created to show in the profile menu.

My thinking would be

Add a checkbox control to the pages from designer, ie pages_show_in_profile_menu

Edit the profile_menu template and add a loop after all the modules to catch all pages from the profile that this checkbox is checked.

But a quick test showed only pages_title shown in debug mode on the profile?

I know this might sound like a weird idea, but if I want to turn some profiles into a site in their own right, that quota will need the ability to add new pages.

I will probably end up manually crafting the profile menus, rather than the best foreach loop structure employed today.
updated by @garymoncrieff: 07/24/15 01:24:14PM

Tags