We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Publish view layout for a grid of prices

Development and Programming

brash's avatar
brash
10 posts
14 years ago
brash's avatar brash

Hi all

We’re working on a site that requires a grid of prices. We’ve created a plugin that displays the fields in a grid format (3 columns across, several rows down). The problem is that it isn’t a very easy grid to look at…

Is there a way (when in the Publish layout) to apply specific styling to make this grid easier to understand? For example, column headings, alternate row shading.. basically all the kind of stuff you would do with a regular table.

I really need to make it more user friendly - for my own sanity as well as the client…!

Thanks in advance 😊

       
Rob Allen's avatar
Rob Allen
3,114 posts
14 years ago
Rob Allen's avatar Rob Allen

Have you looked at Matrix? http://pixelandtonic.com/matrix

       
brash's avatar
brash
10 posts
14 years ago
brash's avatar brash

We tried one plugin but found it only let us do column headings whereas we need to give each row a heading too as opposed to just being numbered 1, 2, 3 etc.

We also need a static number of rows and columns to be there rather than them being created on the fly as there is always going to be a required number of fields to fill in.

       
Boyink!'s avatar
Boyink!
5,011 posts
14 years ago
Boyink!'s avatar Boyink!

You can fix the number of rows in a Matrix field.

       
brash's avatar
brash
10 posts
14 years ago
brash's avatar brash

Oh really? thats handy to know… is there anyway of adding a heading a specific the beginning of the row though instead of just the standard 1, 2, 3?

As I say we’ve got the grid layout (3 columns x 20 rows or something) but I just want to present it nicer with headings on both columns and rows so that it’s easier to refer to.

Surely there must be a way to edit the publish layout view to do this…? looks hopeful

Thanks for your help so far guys 😊

Michelle

       
Boyink!'s avatar
Boyink!
5,011 posts
14 years ago
Boyink!'s avatar Boyink!

Publish layouts don’t let you customize within a fieldtype - and it sounds like you’re doing something custom anyway. Either your plugin would need to handle it or you’ll need to create a custom fieldtype.

       
brash's avatar
brash
10 posts
14 years ago
brash's avatar brash

I’ve uploaded a couple of screenshots to better illustrate what I’m talking about…

One is the view in the Module settings, all nicely laid out in a table with headings etc. The other is the publish layout view where ultimately the client is going to have to input this data - the layout isn’t as clear and easily gets confusing.

What we’re trying to achieve is a view in the publish layout more akin to the view in the module layout. That way it’ll be easier to read and keep up to date.

       
Boyink!'s avatar
Boyink!
5,011 posts
14 years ago
Boyink!'s avatar Boyink!

Yep - can’t do that with current publish page layouts.

       
brash's avatar
brash
10 posts
14 years ago
brash's avatar brash

Damn it… :(

Ok thanks for your time guys.

Hopefully this is something that might be included in the future…?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.