how can make view of more than one views 6.Please give me solution.Is any module in drupal 6.If it is not then how to customiz the view so that we make view of views.
I enable the view module and homebox module.pls gv me solution.
If you want to make a list of views, the simplest option is to create each View as a block and place all the blocks on the same page.
Other alternatives are:
Views attachments (see http://www.cmsquickstart.com/blog/drupal6-attachment-display-views)
Viewfield module
Viewfield provides a field that holds a reference to a View and
renders it whenever the entity containing the field is displayed.
adding a View area as part of the header/footer of a view (only available in D7, I think) -- see http://drupal.org/files/vfv-cant-select-display.jpg
Related
I am trying to develop an interface that binds to a complex backend model. What I need is a way for scripting to enable me to have a page load different page fragments based on what list row a user clicks on. As an example, on the left side of the page there would be a vertical list displaying different sections in a large assessment 'document' (mental health assessment) (each section would be it's own data model [e.g. presenting problems family history, trauma history, etc...). In the main section of the page to the right, you would have room for a page fragment or some type of container that would contain the actual page or page fragments associated with each section listed in the list on the left. When you click on the section name in the list to the left, scripting would be able to have the correct page fragment or page loaded inside the container.
The data model needs to be this complex because there are multiple types of "documents' and the system needs to be able to dynamically load a list of document sections and allow the user to load the form for each section type.
THIS IS FROM Markus Malessa: The dynamic page content is definitely possible, however since it sounds like a lot of your items are going to be based on hard data, the models really are not dynamic, so you really can't build in dynamic data at run time for example. Rather than visible/invisible properties I might suggest navigating to different pages instead and maybe having many-to-many relations to your list item and if your list item has OldFamilyHistory and NewFamilyHistory data relations incorporate a popup to select which page you may want to navigate to.
i am using menu controls on my master-page and have used sitemap data-source to populate it. It shows main node on menu. is there a way that it populates the menu with sub-nodes of my master node rather than using default "home" ie masternode as starting menu item.
when you create a site map, you always design your properties in a way that it suites your web needs, They will contain, your starting node, name display, view state and autopostback.
Check your sipemapdatasource properties and your will know how to do that
You just simply put the ShowStartingNode = False in the SiteMapDataSource properties.
IT was simpler than i thoght.
I have form in getcmsfields_forpopup for backend(admin panel) in silverstrip. In that form, I have added nested dataobjectmanager field to enter multiple dates(has_many relation). When main form open in popup window and I click on add date link, then second popup form open in the same window not in separate one. That means after entering date data and saving it, when I click on close button, whole form is closed rather going back to main form. Please help in this regard.
This can't be done using SilverStripe's default popup form unless, maybe, you extended the DataObject Manager field and had it render itself in an iFrame.
The best option would be to manage your parent DataObjects with DataObjectManger as well. DataObjectManager supports nested DataObjectManager fields. See this tutorial "Nested DataObjectManager" (on YouTube).
If you're able, can I suggest that you try out SilverStripe 3.0? The support for this kind of thing is much better in SilverStripe 3.0 than it is in 2.4.
I'm creating 2 content types: 'Event' and 'Speaker'. An event has multiple speakers.
For the relation I'm using the entity reference module.
I want to make a view where I can see an event with the speakers' information, picture, ..
Someone told me to use display suite too, but I don't really know why I would need this.
What would be the best approach?
Thanks in advance for your help! :)
Simon
You can definitely do this with views: display the fields of a referenced node in a view.
Create a view that displays all the fields you want from your event, but then, to be able to pull the appropriate speaker fields for that event, you'll have to add that speaker relationship.
Go to the 'Advanced' section of your view and click on 'Add' next to 'Relationships'
Select 'Content: Speaker' or whatever the exact name of your referenced field is
Now you should be able to see and select any of the 'speaker' field from the field list, but make sure when you choose one of the speaker fields, that you select for the 'Speaker' relationship to be used when displaying it. It's an option on the field settings page.
Does that work for you?
Yes, you can do this with Views.
But since you're using the Entity relationships, you need to add two relationships in your view. One for the relationship from 'Event' to the 'Entity' and another from the 'Entity' to the 'Speaker'. It's like adding a Many-to-Many join table.
Make a view of Events
Make an Entity relationship between Events and Speakers
Add a relationship between Event and the Entity Relationship
Add another relationship to Speakers that uses the relationship from step 3
Add whatever fields you need from the Speakers nodes.
Hope that helps. I got stuck on that for a long time myself.
The main issue is going to be managing 'duplicates' if you have more than a 1:1 relationship. You might be able to manage that with the "Use Aggregation" feature.
An alternative I came up with for an outdoor activities site I was working on ( http://dev.naturefitter.com/packages ) that avoided the duplication issue was to use Views Field View ( http://drupal.org/project/views_field_view/ ). I created a main view (in my case 'Packages') and a subsequent sub view ('Activities') that takes a contextual filter from the main view. The sub view is a block that has the fields from the Activity content type and a contextual filter that expects the nid from the package content it's attached to.
Best,
Pat
I have an AdvancedDataGrid. One of the columns in the grid displayed with help of custom render. During the application run, I set another custom render to the same column. When I scroll data in the grid (change values for the custom renders) they display new view correctly.
I want that they dispaly new view automatically (when I set them): so I think I have to call them and tell tham to refresh rgeir views. Any idea how to do this?
Use invalidateList()