Jump to content
Sign in to follow this  
PeriniNero

How to set default Page Layout PER template

Recommended Posts

PeriniNero

I know you can set a default per website. I know you can edit page layout per page. I would like to set default page layout per template/custom theme templates. Is this possible and how? In this case, it would be great when you can set default sidebars per template. Now this is not possible, just like header-morefoot-footer right? Just content area is drag&drop per template. Thank you.

Share this post


Link to post
Share on other sites
Danny

Hi PeriniNero, I am not quite sure what you're referring to, would it be possible to reply here and provide more information please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
PeriniNero

@Danny Well maybe with a specific example. I would like to create a page template without sidebars, while using sidebars in other page templates. Maybe I do something wrong, but it seems like the sidebars are set sitewide, instead of per page template. However, I know I can adjust the page layout when editing a page in cms, but then you have to do that on every page you want to exclude sidebars. Wouldn't it be easier to create page templates with specific layout, like without sidebars?

Share this post


Link to post
Share on other sites
Rob

Okay, please refer to this information as a start: http://www.pagelines.com/wiki/How_to_Create_a_Custom_Page_Template Once your custom page template is created, it will appear in Dashboard > PageLines > Page Options where you should be able to hide sidebars on a 'global' basis for that template.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
PeriniNero

@rangelone Thanks for your prompt reply. The custom templates I created (just like explained on the page mentioned: http://www.pagelines.com/wiki/How_to_Create_a_Custom_Page_Template) do not appear in the "Dashboard > Pagelines > Page Options" menu. They do appear in both Wordpress cms and Pagelines Drag & Drop (content area). I use custom base theme with custom templates.

Share this post


Link to post
Share on other sites
Simon

Why not just use widget logic? You can use is_page() then

Share this post


Link to post
Share on other sites
PeriniNero

@Simon Well, there's seems to be an issue when using WPML as well.

Share this post


Link to post
Share on other sites
PeriniNero

@Catrina Not regarding to using PageLines; it's regarding to the combination of WPML and the Widget Logic Wordpress Plugin, as mentioned on the WPML forum. That's why I did not yet use Widget Logic.

Share this post


Link to post
Share on other sites
Rob

I know multi-language is doubtlessly important, but you must identify which is more so. There are other language conversion plugins. I've used Transposh, and while not perfect, I know it works with Widget Logic.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
PeriniNero

@rangelone Well I will look into Transposh. Thanks. Back to the original question, isn't it logical that a (custom) template should have layout settings to be set as default? A template is typically meant for this in my opinion? Furthermore, regarding to your answer that a custom template should appear in "Dashboard > Pagelines > Page Options" menu when a custom template was created like explained in the wiki (I did it this way): any other action involved?

Share this post


Link to post
Share on other sites
Danny

Once you have created your template, you can define its layout when you assign this template to your page. Page Options are for pages that are considered special by Wordpress, such as 404, Author, Blog, Category and so on...


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
PeriniNero

Ok @Danny, in other words, you cannot define a default template layout to a custom template. You have to set this on every single page, using this specific custom template? If this is true, isn't it a nice idea to add to the development wish list? :-) thanks

Share this post


Link to post
Share on other sites
Danny

I have added it to the tracker as a possible feature enhancement for you.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
PeriniNero

@Danny thanks

Share this post


Link to post
Share on other sites
PeriniNero

@Catrina, for this moment, no thank you. I will create another topic when applicable. Thanks again.

Share this post


Link to post
Share on other sites
Rob

Thanks. I will accept an answer for you for moderation purposes.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×