Jump to content

Recommended Posts

Posted

Hello,

I love ProcessWire but I want to use it for site with many articles. I think it is not good to manage articles in standard tree in this site. I would like to have special item in admin menu where I would manage some categories and put articles in there but I do not want to display it as a tree, rather like a table with publish date etc. 

I am a php programmer, so writing module is not a such a big deal for me (but I didn't write one for ProcessWire). Is it hard to write module like this and at the same time preserve killer features in ProcessWire like creating custom field for certain article types etc and preserve PW API? 

Posted

Hi sitnarf and welcome to PW.

I have created two sites already and am currently working on a third with PW that has long lists of articles and I believe the page tree is a perfect way to store articles.

A couple of things that might help you achieve what you are after:

Drop in data table:

http://modules.processwire.com/modules/data-table/

Custom Admin pages:

http://modules.processwire.com/modules/process-admin-custom-pages/

This module makes it very easy to build a new PW admin menu item and uses your own templates to generate the view you want.

Also, custom modules are pretty easy with PW too:

http://processwire.com/api/modules/

Hope that helps.

  • Like 1
Posted

Tree is where you put your pages. But it is very simple to create ProcessModule (custom admin page), that lists your news in table/grid and allows adding new ones.

Posted

Thank you very much for suggestions. I would mainly prefer this "table layout" because it would be nice to filter records, for example I could show only concerts in certain day, search, order by fields etc. 

  • 2 weeks later...
Posted

sure sitnarf - if you need help post here;

i have tweaked the js now to support editing in lightbox and refreshing the table after closing the lightbox;

  • Like 1

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
×
×
  • Create New...