Jump to content

helmut2509

Members
  • Posts

    110
  • Joined

  • Last visited

Everything posted by helmut2509

  1. I want to implement a backend feature which enables the administrator to upload mp3 files. As far as I understand it, I have to use the InputFieldType 'Files', but for the rest I don't know.. Can anyone give me a hint or an example of how to tackle this problem?
  2. thanks, I finally found some useful instruction here:http://wiki.processwire.com/index.php/Page_Field .... and got a basic understandig of the procedure. I will also have a look at your module which seems to be quite convenient.
  3. I think, I still need some basic facts. So I need to create a new page with the name 'options' (as example). I am asked for a template. Do I have to create a new template? What should this template contain? It would be nice if someone could give me a link to a step-by-step instruction..
  4. First I have to select the type of the field, and there a no 'radios' to select :-(
  5. I want to implement a set of radio buttons in a template. As far as I understand it, I have to use the 'page reference field'. I have made some research but unfortunately I didn't find a single example of how to build such a feature with this 'page reference field'. can anyone give me a useful link on this topic? (should also cover checkboxes and drop down boxes)
  6. thanks Soma, I will try this in the evening. But this is a feature which should also be mentioned in the image-fieldtype documentation...
  7. So it is not possible to get the image url by "$page->images[0]->url" ? foreach only makes sense if all images are handled in the same way. But what if you want to handle the images individually?
  8. I have a page on which I want to display an image. So I created a field 'images' with field type 'image' and added it to the page template. Maximum files set to 3. Image was uploaded and properly stored in filesystem and database. In the template file I have this command img src="<?php echo $page->images[0]->url ?>.. .. but the image does not show up. The URL generated was just "/ProcessWire/" (root directory of the app). Strange thing is that echo $page->images->url... (shouldn't it be an array?) produces "/ProcessWire/site/assets/files/1/" ...which is better than the former one, but still filename is missing. any suggestions?
  9. Today I installed the Events Module and played with it. Doing so, I wondered if it would not be better to let the user create his on content type. In Wordpress you can do that with the custom post type. I am a newbie to ProcessWire and do not know if there already exists such a possibility. A Google search only resulted in links related to 'custom fields'... Any useful answer concerning this question would be appreciated. thanx, Helmut
×
×
  • Create New...