bytesource Posted May 31, 2014 Share Posted May 31, 2014 Hi, I have heard about the new field type PageTable available in the next version of Processwire (2.5) that is supposed to work like repeaters but with much better performance characteristics. That got me interested, but I haven't been able to find any further information of how to use this new field type. Did I miss some thread, or does PageTable work just like a Repeater? Cheers, Stefan Link to comment Share on other sites More sharing options...
adrian Posted May 31, 2014 Share Posted May 31, 2014 Not sure if there are any instructions posted yet, but if you install the module from the core list, the setup of a new field with this type is well documented. I am sure you'll get the hang of things from playing around for a few minutes. There is some discussion about PageTables from this post onwards: https://processwire.com/talk/topic/6417-processwire-profields-table/?p=62890 2 Link to comment Share on other sites More sharing options...
bytesource Posted June 1, 2014 Author Share Posted June 1, 2014 adrian, Thanks for your answer. Now I have a good reason to play around with the dev branch Cheers, Stefan Link to comment Share on other sites More sharing options...
bytesource Posted June 18, 2014 Author Share Posted June 18, 2014 I finally found some time to try out the new PageTable field type, but I ran into some problems. I created a field sidebar_slogans of type PageTable and set up the table fields like this: headline=33summary=33image=33 However, after assiging sidebar_slogans to a template, I was not able to add any data in the admin. Clicking on the cells did nothing (please see the attached screenshot). Maybe PageTitle does not support the field types of my custom fields? These field types are as follows: headline: TextLanguage summary: TextareaLanguage image: PageImage I have installed Processwire version 2.4.3. Any ideas of how to solve this problem are highly welcome! Cheers, Stefan Link to comment Share on other sites More sharing options...
bytesource Posted June 19, 2014 Author Share Posted June 19, 2014 I found my mistake. I assumed adding the names of the custom fields to be displayed in the admin would automatically add them to the selected template. This, however, is not the case. So after also adding each custom field to the template, everything was working. 1 Link to comment Share on other sites More sharing options...
Pete Posted August 20, 2014 Share Posted August 20, 2014 Did you manage to get it to actually display an image? Link to comment Share on other sites More sharing options...
bytesource Posted August 22, 2014 Author Share Posted August 22, 2014 Hi Pete, In the end I only needed the two textarea fields headline and summary, so I did not try out the image field. Cheers, Stefan Link to comment Share on other sites More sharing options...
diogo Posted August 22, 2014 Share Posted August 22, 2014 Image fields work fine, just not very practical to display on the table if you have multiple images. In that case it's better just remove them from the list. Link to comment Share on other sites More sharing options...
Pete Posted August 22, 2014 Share Posted August 22, 2014 Hmm... didn't work with a single image for me. Do you just put in "image" (my field name) to have it display? Link to comment Share on other sites More sharing options...
Macrura Posted October 13, 2014 Share Posted October 13, 2014 I'm wondering about the page tables and how it closes when you hit save - i think it would be better if this behavior was configurable, because some of my templates run actions on save, so i sometimes need to save a page a few times when editing.. but then the modal window closes every time i hit save, so i basically end up going over to the child pages tab and editing directly on the page to avoid editing in the modal with the close issue... Link to comment Share on other sites More sharing options...
onjegolders Posted October 15, 2014 Share Posted October 15, 2014 On 2.5.3 the images don't seem to be respecting their widths, which is odd. Inspect element is telling me the column is 20% width but the reality is a huge image. Strange. Link to comment Share on other sites More sharing options...
sforsman Posted October 24, 2014 Share Posted October 24, 2014 I'm wondering about the page tables and how it closes when you hit save - i think it would be better if this behavior was configurable, because some of my templates run actions on save, so i sometimes need to save a page a few times when editing.. but then the modal window closes every time i hit save, so i basically end up going over to the child pages tab and editing directly on the page to avoid editing in the modal with the close issue... Provided an example on this post how to prevent it using hooks. It would be great to have this supported natively though, so such "hacky" tricks wouldn't be needed. 2 Link to comment Share on other sites More sharing options...
bernhard Posted February 17, 2015 Share Posted February 17, 2015 can anybody confirm that images don't display when you have them in the first column? v2.5.19 Link to comment Share on other sites More sharing options...
LostKobrakai Posted February 17, 2015 Share Posted February 17, 2015 I think this is on purpose. The first row does always provide the link, which does show/hide the edit / view links. I think it was different some time ago, but it didn't feel nice, to be honest, to click the image and have the extra links appearing besides it, maybe even barely fitting in the rows. I really don't remember images in the first row being a good idea. 1 Link to comment Share on other sites More sharing options...
bernhard Posted February 17, 2015 Share Posted February 17, 2015 hm.. you're right, those links would maybe feel strange beside the image - but i don't have those links in my setup. it just opens a modal to edit the item and that would totally be ok with a linked image in my opinion Link to comment Share on other sites More sharing options...
mr-fan Posted August 21, 2015 Share Posted August 21, 2015 Just found that with 2.6.13 dev the image preview is broken...see https://github.com/ryancramerdesign/ProcessWire/issues/1353 can anybody confirm this? Another question - wich isn't much a problem for me but if you upload a image in a pagetable page imagefield - i first get the image preview if i save the pagetable page? Using PageTableExented module, too. regards mr-fan Link to comment Share on other sites More sharing options...
bernhard Posted August 21, 2015 Share Posted August 21, 2015 hi mr-fan, seems that you are using croppableimage - have you tried it with the standard image field? maybe i can try to reproduce it lateron. ps: ads, not adds Link to comment Share on other sites More sharing options...
mr-fan Posted August 21, 2015 Share Posted August 21, 2015 Ok i', little silly on my english labels...thanks for that... created a new normal image field on this and it looks the same... Link to comment Share on other sites More sharing options...
uliverse Posted September 27, 2015 Share Posted September 27, 2015 Hmm... didn't work with a single image for me. Do you just put in "image" (my field name) to have it display? Hi... like Pete I have trouble putting images in PageTable to display in the frontend. How did you do it? Edit: Got it solved. It had to do with my syntax. Now it works without any problems. Link to comment Share on other sites More sharing options...
hellomoto Posted September 3, 2017 Share Posted September 3, 2017 Oh is it only supposed to populate via api? Link to comment Share on other sites More sharing options...
maxf5 Posted September 5, 2017 Share Posted September 5, 2017 On 3.9.2017 at 5:10 PM, hellomoto said: Oh is it only supposed to populate via api? You need a bit of coding experience but we can help you. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now