Jump to content

stuartsa

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by stuartsa

  1. Hello! I'm having the same issue, but I do not understand what you did to resolve. I have never seen the words "1:1" and "install" used in the same sentence. Can you please give me a complete list of steps?
  2. Can you please consider improving InputfieldPageListSelect (and InputfieldPageListSelectMultiple) by separating out the labels of the tree nodes from the label of the output? I use "{parent.title}: {title}" as a custom label algorithm. However, that is just to provide context when the field value is displayed in a PageTable. When actually selecting nodes, the labels "{parent.title}: {title}" on ALL of the nodes in the tree is just sugar. It should definitely not be shown on nodes that are not leaves, for instance. Thank you!
  3. Would it be possible to set up a number spinner with the currently advised fieldtype (FieldtypeDecimal/Float)? I can see plenty of situations where that would be helpful. It is not too far off the mark, either, for we already have to set the precision for a "float" (actually a fixed-point number). Suppose I set a precision value k. Then the default value of the spinner step would be 10^-k. However, it could be changed to any number with the precision k. So, for example, I could have a float with the precision 2 and the spinner step set to 0.25. In my experience, while education and leave hours are reported as decimals, they are doled out only in quarter- or half-hours. Thank you! 
  4. Please note that I intend to post this on the other thread, which I see now. However, our current forum software does NOT allow deletion of replies.
  5. Would it be possible to set up a number spinner with the float? I can see plenty of situations where that would be helpful. It is not too far off the mark, either, for we already have to set the precision for a "float" (actually a fixed-point number). Suppose I set a precision value k. Then the default value of the spinner step would be 10^-k. However, it could be changed to any number with the precision k. So, for example, I could have a float with the precision 2 and the spinner step set to 0.25. In my experience, while education and leave hours are reported as decimals, they are doled out only in quarter- or half-hours. Thank you!
  6. I'm struggling to understand this a bit. In the call to next(), what are 10 and 5000? And are the second and third arguments optional or required?
  7. Are the values $page and $parent set at the time inputField::beforeRender is called? I want to default the value of a numeric field to the max of the page's values for said field among its siblings plus one, or one if the page is an only child. I'm using RockFinder to query the database in the hook.
  8. My name is Stuart Simon. I'm new to the world of ProcessWire, and I was enticed by its ability to act as a mock database frontend for my needs. I'm trying to create a REST API (using the REST API module) for my site to ease the data migration, and I want to understand why there is no Page::publish() method. I am using the Blank profile and have not edited config.php at all. Does calling the Page::save() method automatically try to publish the page if the Page::addStatus() method has NOT been called? Does calling the Pages::add() method automatically call the Page::save() method on the created page? Thank you!
×
×
  • Create New...