I need to wire two applications so that one reacts when another is selected.
I need a calendar view (populated in one application) to update when a person is selected from a list (based from another application).
I have been trying to do this for absolutely ages and have hit a brick wall as the existing knowledge base is pretty poor. I don't understand how to compose the action required to do this, or how to use the WDSL system to wire the two, which i will be linking using the UNID of the person.
Any help appreciated.
Assuming you are using 8.x+. Look up this example in the designer help: Example 1 - Simple composite application creation using Lotus Notes components
Related
My situation is that i have an external database and i should present the information in an orchard hp. The customer wants also to set new information and both should be shown via projection.
Short with simple example type book:
Books are in an external db.
Books should be set in orchard, in the orchard-db not in the external-db.
The query - projection should get both books-entities and displayed.
Is there a simple orchard-way to implement my problem?
Unfortunately, I did not find any sample for what ... Any suggestions?
Thank you
From what you've described I understand that in short you want to manage some data from an external data source as Orchard content items. This is well possible, it needs the following to happen:
Create a content type for your data.
Periodically pull in changes from the external data source.
Programmatically create content items of your new type from the data pulled in.
Since this is not an everyday scenario I don't know of any tutorials out there for this although there is at least one sample: the External Pages module does pretty much this, by pulling in Markdown pages from a Mercurial repo.
I am trying to implement a 'time machine' feature in my grails application. The feature would allow user to select a date in past and would display the interface of the application that was on the selected date. How do I implement this feature? I was thinking of adding a 'dateCreated' field for all domains, so that in the time machine feature, I could query all the results with created date before the selected date. I think this would work but as the data would grow, the size of database would grow and at that time the application would be heavy. Is there any other way to do this ?
Thanks
You could maybe draw some inspiration from this related question:
How to manage object revisions in Grails?
You should look at the http://grails.org/plugin/audit-logging plugin since it will allow you to keep all versions of domain class instances. But implementing this feature will be pretty tricky since object don't exist in isolation - you'll need to not only display the data as of the previous date, but its related data (e.g. the author's books collection) as of that date too. It will make the queries quite complicated.
I have created a custom CMS Rails app for a local company, and had the request to allow the logo to be interchangeable for the holidays. For example, they talked about having choices of different logos for each holiday.
I am imaging a radio button looking something like this
Normal
Christmas
Christmas1
Easter
Easter1
Thanksgiving
4th of July
etc
So, does anyone have any idea how I would implement this, or have any experience with it?
I have an admin panel for them and I am thinking of adding a section that has the radio buttons mentioned above, and depending on what one is set a variable changes values and displays a different logo from the images folder, but not sure if that's the route to go.
Thanks for any help.
Edit: Sounds like I have the right idea, can I get some advice from you experts on how you would go about implementing this? I'm thinking of having a logo model where they can upload the image to, but how would I implement that into the view to allow them to pick?
Don't confuse two different things you will store in the database: the list of logos, and the setting of the current logo. The former will consist of a model and a table. The latter could be a simple foreign key pointing to the correct entry in that table.
You should also have a new controller since you plan to let them manage the list of logos. For image uploading check out Carrierwave which has comprehensive examples.
I am working with Expression Engine 2.1 and would like to have a relationship field that links one channel to another. This works fine for a one to one relationship but I want a many to many. It does a many to one by default. I would like check boxes instead of a drop-down menu.
Is this possible out of the box or do I need a third party plugin to do this.
Thanks,
Brian
You'll need to use a third-party add-on like Playa. There are others as well, but Playa is the best-raed and most-established.
I haven't even attempted this yet and am creating this question for advice really.
I have a strongly typed page which receives a form model composed of several components. It is to create a mitigating circumstance (MC) for a student at a university for my final year project. A MC can be composed of the initial problem, assessment extensions, and I use a multi select box to allow the user to select staff retrieved from the database which are able to view the MC once created.
The thing is I feel that a student could be granted many assignment extensions for one problem. I am wander if it is possible to include a button/image on the form which when clicked will create a new assessment extension object, and duplicate the form components to set the values for the object? This would all need to occur without any page refreshes.
Any advice, or links to good tutorials would be appreciated. I have so far been unable to find any suitable examples.
Thanks,
Jon
There are a number of ways to do this, but the fastest is to create a javascript handler which creates the form controls without any sort of server request, all you need to do is keep track of how many items are in your list so you can name the form controls correctly.
Start by making a button that when you click on it creates form controls. Once you get that, work on the naming.