How to implement reservation system in week view in drupal? - drupal

I want to implement reservation system in my project which should display bookings available for a week (in week view)and users can select the slot which is not booked. I am completely new in drupal. Can anyone tell me how to do this and which module is suitable?

The trick in Drupal is to always search for modules that get you closer to what you want, since there are so many that can save you days of work. I would suggest starting by reviewing this comparison of Booking modules: https://groups.drupal.org/node/137544 before rolling your own.
If none of them suits you, the basic concept would be to have bookings created (a content type) and the some calendar that displays the available dates, then you could use Views for this last part.
The whole solution can be accomplish with a combination of Views and one of the Booking modules above.
Your question is rather general so review that comparison and you will find something you can use for sure.

Related

How to write Custom HTML code for a Rally/CA report

What would be the HTML code to "filter out" a handful of specific user stories?
Your question is highly unspecific. The only way to get stories is to programatically access the API via a language like Javascript, Java, C#, C++, etc., etc.
You can embed javascript into your html page and get the code to fetch stories with a filter passed in on the access. To see how to structure a query, you could turn on the developer tools in your browser and have a look at the network accesses that the browser does when fetching stories into a custom list app on a page. Using the custom list, you could refine your query to what you want first.
You could always build a custom app for a specific use case, but if you're looking for data and having trouble finding it, there are ways to do so with a combination of custom lists, Rally's own query language, and creative use of advanced filters. It's also possible to massage your data in way that makes Rally's native reporting a bit easier to use.
This is just an example but, if I'm looking to get information on the quarterly progress of my team who don't use start/end date or releases/milestones, there's not a lot available from an app/report standpoint that's already built. However, if I coach my team on keeping a few simple data elements neat and tidy, and utilize the custom report views to make that data useful, it can be pretty quick and easy to implement.
I have my teams keep a few basic fields up to date: Title, Owner, Project, Tags, Refined Estimate (all at a feature level), and most importantly - keeping a parent/child relationship between most work.
Now I can build a report that filters by a certain tag, that can also be filtered by team, and also has the ability to show additional valuable data that can be unearthed because your house is tidy. In this case, you can now display a column that will total all child objects under a certain feature, and display that next to 'Planned' estimate, which will give you the ability to also export and show a planned vs. actual to help your teams estimate more accurately.
It's a round-about way of saying there are a lot of possibilities with the tool if you can use your resources. Building custom apps means you also have to maintain them or pay someone with the knowledge to do so.

Create a system select from different lists and then make a total in wordpress

I know, the question isn't clear in itself. Let me explain.
I want to create a system where a visitor can choose options from different lists and result will be the total amount with all the details of the selected components.
Theoretically it's a simple formula but i have no idea how to apply it on wordpress. i am not even on moderate level in programming.
So, anyone has any idea, how it can be achieved, any plugin or functions.
Thanks in advance!
If your not comfortable coding this is a bit tough. It sounds like you're talking about some type of store (total amount?). A list of items with details and price and lists of add ons or features that change the price and product configuration? Something like that?
Coding this would I think be a bunch of jQuery/javascript. Otherwise try the Gravity Forms plugin (which I've used and should be able to do this for you) or perhaps a straight ecommerce plugin - there are lots. Then I think you just have to learn the plugin to get the setup you want.

I need different fields in every stage of lead , do I need to create new module or what?

Hi I need to develop CRM for my company. I choose OpenERP CRM module. It has stages and everything but I need that on every stage there must be some fields(some of them are required to move to next stage and some of them are optional) on leads page. Either I dont know the database structure or something else. So where to add fields (i mean in which object or table) One I was thinking to create a new module and use res_parter and user and create whole new CRM module. But then I was thinking that whats the benefit if I have to development. I am new in OpenERP , could not find my answer. Can somebody help me in this regard?
You should customize the lead by extending it and adding the fields you need, then you can "play" with views for showing the fields, or making them required, as you like.
Also, if you say "So where to add fields (i mean in which object or table)" means that you didn't read the developer docs :) Once you'll read them you'll find out that you don't need to know the tables in order to customize objects. After you read the docs, a good starting point is to have a look at other modules out there.
Have also a look at this.
You have done good choice of OE for the CRM, their module CRM is really mature on this vertical. Now you have Some specific requirement that "(some of them are required to move to next stage and some of them are optional" So I will Suggest few point here,
Your few of last line "But then I was thinking that whats the benefit if I have to dvelopment." Yes You are completely light, Why todo it again, and OE also believe same. Here what you need is few hacks like fields_view_get, you need to create new small module which will inherit the crm.lead object and play with few code hack which will do job for you,
Second Point is in CRM lead Stage is M2o relation field and they are linked with CRM Section that is sales Team so this point, so this need more effort to integrate you requirement but yes developer point of view it is not much complex job at all.
Why we need new module for feature reason is if you will create new module then in future if up upgrade your crm module with oe crm then you will not fill conflicts and your new module will like Plug able module ot OE. You can look in it apps.openerp.com for some existing modules, As they have more then 2k module, so it is quite possible you will get what you need.;) Or something similler
Hope This will help
Let me know if still has Doughts ,

Wordpress plugin for dependent drop down lists

Well, I know i'm going to be downvoted, but i think it's worth the shot.
I never worked with wordpress, and find it very displeasing to work with. A friend of mine asked me to implement a feature and i just don't have the time to understand it's inner works.
What i'm looking for is a plugin that let me have some sort of a tree, representing localization, kind of like:
Country
State
City
Person 1
Person 2
Person 3
and let me represent it with dependent select boxes that will list the people that belong to in the city, in the state, in the country i select?
Thanks for your help, and i'm sorry if this falls out the scope of SO
P.S.: yes, i have looked and looked in the wordpress plugin directory and haven't found anything.
Probably you will never find a plugin with such a feature.
This is a simple rule-based interface in a structure database.
I suggest you create a database structure parallel to wordpress with the characteristics necessary for the hierarchy shown in your example.
After this model database, you can use the the class wpdb() in wordpress to access this table and perform the query. In the link below there are instructions for this:
http://codex.wordpress.org/Class_Reference/wpdb
If you want to use the structure of the actual wordpress users, there are some plugins for listing users:
http://wordpress.org/plugins/simple-user-listing/
http://wordpress.org/plugins/user-list/
But user registration provided by wordpress can not provide detailed information about the user that you need.
Hope this helps.

How to write custom reports in Drupal

What's the "right" way in Drupal to create reports? I was hoping to use a view but am not having much luck. My goal is to create a table of rows containing three fields: user name, location, SUM of volunteer hours. Once I have this part working, I plan to expose filters for Location and Date.
Views Calc only allows you to group by one field. I know Crystal Reports and MSSQL Reporting Services and I was hoping to find a similar kind of thing for Drupal. Is there a framework, examples, or a module to help with this, or do I need to write a custom module implementing the views_alter_SQL hook to get the desired data for each report?
EDIT: I ended up getting it to work with BIRT reports, which gave a lot more power than Views could allow. Code is on my blog: http://nicholaiburton.com/blog/2010/creating-custom-reports-for-drupal
You could implement a views_query_alter but you might be better off implementing a custom views field handler, because I assume that your user.uid joins to hours.uid. This will probably be your best long term solution.
All you'd need to do is just tell views how your tables join and define the handler for the total hours. You can find help/docs -> http://views-help.doc.logrus.com/help/views/api
in any way, for Sum of Volunteer hours you need to build custom module, so building custom query more simpler, than attaching custom field to Views via it's hooks...

Resources