Jump to content
Sign in to follow this  
kneops

Using the grid and extra content blocks

Recommended Posts

kneops    4
kneops

Before using Pagelines I sometimes created a template with two columns en let the user fill those columns by using the secondary html content plugin. The regular content area of the post would go in one of those columns, the content of the secondary html content box in the other. Using the grid myself is easy, but not for a customer. How can I get the grid to work with multiple content blocks?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

The PageLines grid is supposed to be populated by adding content to the structure of the grid code between the div spans. If you want to create a column structure where your users only have to enter their content not worry about using HTML, you would probably be best using Boxes.

 

The grid isn't in my opinion complicated, you could show them how to use the grid, as it is a flexible system and allows for some awesome layouts.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

Boxes are not so usefull in this case, because each post would has to have its own content in those boxes, like text in one box, image in another, details in a third. The best thing would be a visual implementation of the grid inside a post, just like the site layout works, but I guess that's a feature request and perhaps not so easy to make.

 

Let's say I still want to use the secondary html content box plugin, because that's a real addition to making WP a CMS and extremely easy to use, what options are there? I can't create custom template in which I can add the secondary html content template code. The only thing that I could do is using the Secondary HTML Content widget in a sidebar. That would split the content not inside a post, but in the post and sidebar content. Just thinking out loud here :)

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

If im honest, I don't actually know what you're trying to achieve, but it is not possible to have a visual representation of the grid out of the box. If you require this kind of functionality you will need to either create your section/plugin which offers this functionality or contact one of our Pros.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

What I want to achieve is this:

 

A website with artists. On a page/post there is the main content/description of the artist. In another block one or more photos and in another block detailed info about pricing, availability etc. I was thinking of picture on the left, underneath the details and on the right the description. On the right of all this the sidebar.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

If that is the layout you wish to have why can't you use the PageLines grid to create this layout ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

You mean like the way I proposed? Using the Secondary HTML Content widget to add the extra post content in the sidebar?

Yes, that's how I could do it, unless you have another suggestion and I still don't understand the PL grid.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Why can't you just use a text widget and Widget Logic plugin to control which widgets display on X pages ?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

That's not very practical imho. When I have 200 artists I have 200 pages and therefore I should have to make 200 widgets?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

The only other method I could suggest is that you add the ContentBox section to your Sidebar area in Drag & Drop. However, in order to use this method you will be unable to add a ContentBox to that template.

Then all you will need to do is add your content to the ContentBox for each page. This will way you won't need to create so many widgets.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

Yes, contenbox is possible, but it doesn't use the wysiwyg editor.. What would be great is a full integration of the Secondary HTML Content plugin into PL. That way the grid can make use of as many post/page content blocks as one would like. For now I will use that plugin and it's widget.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Not sure why you would want to use the WYSIWYG as it causes nothing but trouble when using HTML.

 

Whatever can be done on the WYSIWYG can be done in the ContentBox text field, you simply need to use HTML, where as the WYSIWYG does it for you.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
kneops    4
kneops

I know, but a client doesn't know how to add an image to the contentbox or a blockquote. It's not for me, but for the client that I'm trying to find the best solution to add all kinds of content to content blocks.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

I think the best course of action would probably be build your own custom section that offers nothing but a text area that utilises the WYSIWYG or contact one of our Pros for assistance if you're unsure how to create section.

 

You can use this to add the editor to your section - http://codex.wordpress.org/Function_Reference/wp_editor

 

http://www.pagelines.com/pros/


Please search our forums, before posting!

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  

×