How to include list view BackPack with other components or widgets? - laravel-backpack

I would like yo add something to the list view in order to make a report.
Is it possible without override the view and had some components or widgets below ?
How can I include the list view several times on a page ?
Thanks for your help

You can easily add stuff to the List page using Backpack Widgets. They basically allow you to include a view within an existing page. You can of course include a custom view (aka custom widget) instead of an existing one.
You CANNOT however include the list view more than one time per page. It's not coded in a way that allows that.

Related

best way to present multiple listview

I would like to know your idea about the best method to present several personalized horizontal lists, in the spotfy style.
With different preferences and musical styles.
The best way would be to create several listviews? or structure a database and make it somehow present only a few things on the user's homepage?
any suggestion?
i dont think there would be any problem displaying different list view on home showing few items ( 3 or 4 ) of that list and a button above each listView as View All on tapping using that list all items on that category personal screen
you can add multiple ListView as you can possible Try SingleChildScrollView for multiple ListView or Layouts
Refer Official Docs : docs

How to create a form with a header and detail section

Does anyone know of any resources I could access that would show how i'd make a custom form, that allows for a single header section of data, but with a repeating detail section? Such as in an order header with multiple order lines (for example).
I'd like to use the Custom Forms module, and have it so that the end users can create their own header\detail forms without the need for any programmer. The resulting forms would then be exported onto into an integration layer.
Could you be a bit more specific? Are you trying to use the custom forms module for that? or is it your own?
Orchard can use your own Views and Controllers, if you want to.
If it is public-faced you only have to decorate it with [Themed] and instead passing the entire view, can return just a shape.

How to add custom filter in header in magento

In my magento site,
I have there drop down list in header, I want to search Or navigate product after last drop down item select. drop down are dependent each other (i mean third depends on second, second depends on first) third drop down are attributes values of the second drop down category item.
it should be work like filters. I have create .phtml file and have added these drop down in header. please help me out.
Thanks in Advance
Customise your layered navigation functionality
An example of layered navigation with your problem
You have 3 attributes:- (Category,Color, Manufacaturer) Color is dependent on category and Manufacturer in Color
So when you pass #cat=5 the ajax call will filter out the products. Also filter out the second dropdown according to available products existing color.. Then similarly pass #cat=5&color=23.... so on
This filteration is already done in layered navigation. You just have to custmise your code to use this in dropdown
:)

Add/remove usercontrol in panorama item using MVVM - Windows Phone

I have a panorama app that has two panorama items so far, "recent" and "popular." These get populated with data using binding from a viewmodel. I would like to add a third ("search") panorama item that initially shows just a text box and a button.
When the user inputs text and clicks on the button, I want the text box and button to be replaced with the ListBox control that shows the search results.
I cannot find any examples on how to do this using the MVVM pattern. I am not using a MVVM framework and would like not to since I am just learning all this.
If you can explain or better, point me to examples that will allow me to do this, I would very much appreciate the help. If I left out any required info in my request, please let me know.
Sincerely,
Kamal
Typically for something like this you would have a property in your ViewModel that would tell the view what to show. You have lots of different options for how you could do this.
One option would be to have a Results property that your list box is bound to. Put the textbox and button in a Grid and bind the Visibility property of the grid to a property that is Visible is there are no results and not visible if there are.
Lots of different ways to do this.
Examples here and here.
You could probably bind a list of a custom class to the panorama ite .
The custom class contains a title and/or description and a page class.
You can maintain your views in your main viewmodel.
Another solution would be adding the items in xaml and using the same viewmodel for the whole panorama item control. With a property you can control the visibility of each item.
Like Bryant said: there are so many solutions. It depends on your application and requirements... :)

How to use conditional view in fuelphp?

I've a website built on fuelphp framework. I want to make a new version of this website with new design. I want to keep the both design.
I've thought the following two ways-
Put a button on my website as Old UI / New UI or
Use http://example.com/beta
As my changes would be only on views I don't want to duplicate all the controllers. I just want to load the views dynamically with a condition.
How can I do that?
Themes would be perfect for this. It allows you to have different grouped sets of views that you can switch between by changing the active theme.
Documentation: http://fuelphp.com/docs/classes/theme/introduction.html