scuba303 Posted January 29, 2014 Share Posted January 29, 2014 hi. just got hinted to processwire today. as i am about to develop a portal i try to figure out if this can be done with processwire. basically it's a portal where people can find other based on distance to a given location and to their skills (like driving license and so on). i am coming from typo3 world. there i would have a collection of items which a plugin would present on a page. not sure if this is the way to be in processwire. is it more like each of this items would be a page? or could i introduce a variable like $searchitem to be similiar to the $page approach? well.. from as far as i read the documentation so far i would love to have a something like $searchitem->find('radius, lat_lng')->find('license', 1) (pseudocode) Link to comment Share on other sites More sharing options...
apeisa Posted January 29, 2014 Share Posted January 29, 2014 Hi scuba and welcome to PW! Can you describe more briefly what kind of functionality you are looking for? As always, there are probably multiple ways of solving that with PW, but we can definitely help you on how to solve the problem. Usually you can't go wrong when using just pages and fields, but there are of course alternatives, like using repeaters or building a custom fieldtype. Link to comment Share on other sites More sharing options...
scuba303 Posted January 29, 2014 Author Share Posted January 29, 2014 hi apeisa, basic concept would be - user can register themselves - user got a profile with his skills and equipment - user can change their status if they are available on a certain date. those status should be searched by the people visiting the portal. so visitor says: i need a driver with license for trucks and equipment in the region of berlin for 31.01.14 this would give him a list view with a search result and contact details. and a link to a detail page where the visiotor could get more information about the user. so usually i would generate a record to be searched based on the updated status. deleting all past entries on a new day. Link to comment Share on other sites More sharing options...
scuba303 Posted January 30, 2014 Author Share Posted January 30, 2014 seems like i was looking for repeaters.. edit: ok, maybe not. need it more scaleable, i am afraid. Link to comment Share on other sites More sharing options...
Mats Posted January 30, 2014 Share Posted January 30, 2014 Hi I did something similar with radius here: http://alltpaoland.com/platser/monument-over-kronans-forlisning/naraplatskarta by using this https://github.com/mjaschen/phpgeo 1 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