Jump to content

Search the Community

Showing results for tags 'request'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hej! Has anyone ever tried to save & load the files in / from the S3 instead / beside of the local filesystem ? by using http://framework.zend.com/manual/de/zend.cloud.html it is very esay to implement to save/load: http://blog.ebene7.com/2011/01/21/amazon-s3-mit-php-stream-wrapper-verwenden/ - but will PW work with it? By module? Or even better: a plugin that automatically saves/serves any files handled by the backend.. We will now try to build this, but we'll also happy about any thoughts about it!
  2. Hi all I don't know how to go about making this very specific thing in PW, so I'm hoping for some good pointers and/or ideas how to go about it. On this website I'm building for a music festival, there's a page called "archive". This page should list lots and lots of media clips from the past years from the festival. A media clip can be either a video (vimeo), music (soundcloud) or a picture (upload through admin). I have all the API access to the third parties figured out, but the one thing I can't figure out is how to design the media "resource" in PW. I've read that repeaters are bad for performance if you need a lot, so that leaves a repeater solution out of the question. Another solution I thought about were a page template with all the necessary fields for all of the different media types, but I'm thinking it'll create a unnecessary and unpleasantly long list of children in the admin interface. Also, each media clip doesn't need their own url, since all of them should be viewed/embedded in a Lightbox overlay. So what do I do? Should I create a custom module to store all the clips in and have an area in the admin to manage the clips separately and then just retrieve them in the archive page, or do you have any good ideas for me? Also, if the module method is the way forward, does anyone knows a good resource for me to start with? It could be a module like the one I need, a tutorial or anything that'll get me on my way. I hope for some deep PW knowledge getting dropped in the answers, like I'm used to in here. EDIT: Also, each media clip/item should have some common fields defined: Type of content (Art, architecture, music, etc) (selected from a predefined list of genres, which also should be administrated somewhere) Year Genre (selected from a predefined list of genres, which also should be administrated somewhere) Artist Location File type (video, sound, picture) (selected from a predefined list of genres, which also should be administrated somewhere)
  3. I want to hide pages in searches / views / lists, etc. which the user is not allowed to see. The system is not based on Users/roles, but on a special $VAR in the $SESSIONCOOKIE.. if $page->users contains a value which is also in the $sessionvar of the viewing user, it should be viewable, otherwise it should not appear in any lists/searches/views... I know that its not secure in any way - this morel less should be some pseudo-restriction to keep UI/UX simple for some users... I think i need a BEFORE-Hook somewhere to keep things hidden in pageviews/lists/searches - but how to start? Important: this should also work for all children of a page - if the parent is restricted, all child pages should be invisible, too.
  4. Does anybody know if there is a module / fieldtype to generate a dropdown menu for a specified list of users for a given 'role'. This would be handy to assign a page specifically to a user. This would be handy when using the API on an external form (e.g. a non-CMS user) could list/edit/update their related page(s).
  5. Hello all, before I start working with Form Builder on my project, I would like to know if it is possible to determine where the validation error messages get displayed in the form. My client requires to have validation errors put out underneath each individual field. Is this possible with the Form Builder module? Thank you gerhard
  6. Hi everyone, I'm trying to build an Inputfield module to provide an alternate interface for creating multiple page references. I'm trying to access the "Selectable Pages" settings for the current field within my module. Does anyone know how to access those settings using the PW API? I'm specifically looking for: - Parent of Selectable Pages - Template of Selectable Pages - Custom Selector - Custom PHP code to find selectable pages These settings are found in Setup -> Fields -> (fieldname) under the Input tab. Really appreciate any insight anyone might have... Thanks, -Brent
  7. I want to create a website where we can store recipes but one important thing of a recipe is a list of ingredients. How should I store a list of ingredients as I don't know how much fields I need. Basically I need a input type that can dynamically add new text fields. Is there a way to do this ?
  8. Hi, I've been using the MarkupTwitterFeed module, but was wondering if anyone has created anymore modules that can render: a twitter hash search, who a user follows, images within a post and profile images, and other twitter functionality. Or are these functions that can be built into the MarkupTwitterFeed module by extending it? (and I'm more of a frontend guy so have been having issues getting my head around the twitter api). Thanks!
  9. Hello, I have a page structure as follows: - Company (only this page has a corresponding php template to show data) - Adresses - Street/ZIP #1 (template "address" without php file) - Street/ZIP #2 - ... - Projects - Project #1 (template "project" without php file) - Project #2 I would like to have the following workflow: 1. When I create a new Company, the pages "Addresses", "Projects" (only placeholders to structure data) should be created automatically. 2. When I add a Project or Address, the first step (Setting a "name", Selecting the only allowed template) should be skipped, instead an empty address should be created with just an ID and the name should/can use the ID too. Anyone knows of a module which helps here? something like "Entities4Processwire". I really like the Idea of everything is a page, but for structure only sometimes Im missing an "Entity" with just an id and custom fields. I checked the core module ProcessPageAdd and probably the "___execute" method of the module would be the place to hook into, right?. Would be nice to hear your thoughts about this. Thanks!
  10. Right now just want to setup a very simple logger, which tells me the time taken for the page to render and how much memory was used. I setup a super ultra light module as follows: public function init() { $this->addHookBefore('Page::render', $this, 'timeStart'); $this->addHookAfter('Page::render', $this, 'getStat'); } public function timeStart(){ $this->$timestart = microtime(true); } public function timeNow(){ return microtime(true)-$this->$timestart; } public function convert($size) { $unit=array('b','kb','mb','gb','tb','pb'); return @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i]; } public function getMemory(){ return $this->convert(memory_get_peak_usage(true)); } public function getStat(){ echo '<!-- Page generated in '.$this->timeNow().' secs, Memory Usage: '.$this->getMemory().' -->'; } issue is: i want to hook into the very first and very last instance of processwire..i cant really seem to find the right hooks, or a documentation about it? cheers
  11. Hi I would have a need to use the category field of the RSS feed items defined in the RSS 2.0 specification (http://www.rssboard.org/rss-specification#hrelementsOfLtitemgt). How difficult would it be to have all the item elements defined in the RSS Feed Generator module of PW? Regars, Lauri
  12. Hi All, I am interested in integrating IDX(Internet Data Exchange) for the Real Estate Multiple Listing Service into PW for realtor websites. Wordpress has such premium($$$) templates available but (having been a realtor years ago and more recently a realtors administrative assistant) I would like to offer such a set of templates built on a better framework-PW(!) which the realtors can easily upload, update, etc...self-manage. I just finished a website using processwire based off the included template to learn PW better and I love it! My desire is to offer sets of templates for real estate agent clients requiring websites with the IDX. My limited knowledge of code restrict my ability to do this on my own. So I want to know if anyone has an idea if; 1- Could this be best achieved by a module? 2- How much is entailed for such a project? Any/all suggestions from the PW community will be most helpful... Cheers, Grant
  13. Hey, could anyone write a Newsletter module? I guess it's enough when it can render a form with an input and save emails in a field... But maybe someone has some more ideas for this and enough time to write it Greets, Nico
  14. Who can tell me how to make a module for printing online. The task is simple. We need to do all three points for photo printing. Everything should be no user registration on the site. 1. The client downloads the pictures to the site through the standart uploading tool and select the size (9x12 10x15 and so on), and the paper: matte or glossy. 2. Displayed price to the selected photo. 3. Customer enters their contact information as a form of feedback. 4. Сome to my mail photos and shipping address ready photos. If such a module will cost money, the interest cost of the work. If it is written in the wrong topic, I apologize. There is an example of such a site, but it is in Russian. But I think everything is clear. http://fotozakaz.kz/
  15. Is it possible to restrict the listing of pages/subpages based on the roles (user or role-access defined in a page?) FOR THE BACKEND? (The page has no frontend, only a complex json output of the different users' content.) i have multiple users which should not be able to VIEW or EDIT forign content. They all (should) have their own "parent"-page with children: It would be nice if the admin gives a "base-parent" for each user - where he is free to edit and create childs, but not somewhere else. The template of the parent and the child-Pages is always the same, thats why i dont want to / can't restrict access through the template. I also cant use the "settings-tab" on the page to give access, because it says: "Access is inherited from page "/" and defined with template: home" if i change the home-template-access: Template 'home' is used by the homepage and thus must manage access The plugin "page-roles" is not able to inherit the access to children, and its not possible to regulate EDIT/Create, only "view"...
  16. Hello all, First time user of pw here and I like what I'm seeing; a lot. Ryan and all the contributors have done a great job on this project so thank you to one and all. Coming from a background writing plugins for Textpattern CMS I thought I'd start off looking at the modules system. Being able to git clone a module right into a test installation is very nice but I quickly found myself having to scroll through lots (and lots, and lots) of entries to locate the first module I cloned before I could hit the install button. Soooo, I took a look a the code and decided to simply have the message about newly available modules link to its entry in the list. Makes installation much less scroll-prone. You can check it out for yourselves at https://github.com/n...ver/ProcessWire and I've submitted this to Ryan as a pull request. Hope this is useful to someone here.
×
×
  • Create New...