How would I go about creating two different layouts (layout.phtml)? I need 1 for the homepage and the other for logged in Members. Also, is it possible to add content pages that aren't protected?
I guess the easiest thing to do is just to change: PHP: $this->setLayout('layout.phtml'); On index.phtml - correct?
Yes correct. In regards to pages, there is no way to add pages which are not protected from aMember CP .
The easiest way to add this level of functionality is to integrate aMember with content management system (CMS). WordPress is one of the more popular solutions.
Can you use the WP theme for some pages (homepage, content, etc) and use a different aMember theme for member pages?
I think I got it working how I need it to. I created index.phtml in the /protect/wordpress/{my theme}/ dir and put the contents of layout.phtml into index.phtml. I them deleted layout.phtml in the dir so that it would use the one in the aMember theme. Let me know if you see any problems doing it this way.
Well it seems to only make these changes when I do them to the /wordpress/default/ directory. I tried to do the same thing to my /wordpress/theme/ dir and it didn't work.
Could you explain exactly what you are trying to do? How do you want the member and non-member pagers to be different? With aMember/WordPress you can use the aMember text widget to display different information in widget areas based on subscriptions. I just don't understand what you are trying to accomplish, but I don't think the way you are going about it is going to work.
Yeah, you're right. I'll rethink my strategy and will probably come up with a different solution. Thanks.
Again, if you could explain exactly what you are trying to accomplish, maybe we could provide more help. If you are using WordPress and you really want the free are and premium area to have totally different looks, you could install two instances of WordPress and use two different themes. Using aMember with two WordPress sites is covered on this page in the documentation.