Ionic click event not working in ion-list - ionic2

I'm currently developing a ionic 2 application,using a list with an ion-avatar. The thing is I created this in my home.html page but I want to make the list items clickable, so that when I click on any item, it will redirect to the details page and display the details of that item in the list.
My code is shown below:
I tried to use the onclick event with a function but I can't figure out how to get the functionality working

Related

Retool: Action button to open modal with container

I have a table in retool. I've added an "action" column with buttons and renamed them "edit". What I would like to do on click of the action button is to open a modal with the data in the row populated. A user should be able to see the values of the row, edit them and when he clicks "submit" it will send an update API call for that row's unique id.
We’re working on some new docs for modal components, but until then here’s what you can do:
Drag a modal component onto your canvas. It’s going to appear as a button that opens a model, but don’t worry about that just yet
Create a Javascript query in the query editor that opens the modal. If we’re working with the default names, your query would be modal1.open()
Configure the action button in your table to run that JS query on click
That’s a quick way to open a modal through an action button. In terms of what’s in that modal, you can drag any components you want and reference table properties. So if you wanted to display a user’s email, you could drag a text component into the model and set its value to table1.selectedRow.data.email.
The last thing to deal with is the button, which you probably don’t want since you’re opening the modal via action buttons. You can hide it by clicking on it, heading to the inspector in the right sidebar, and scrolling down to the “display” settings. Just put true into the “Hide when true” field and the button won’t show.
hello stack overflow family this is my first post.
we are facing same issue today so i used one trick for opening a modal in action, i run one query that query name is model_open and in success event i select modal open and this query is triggered in Action edit option ,
i hope my first post help you ... :)

Problem in adding product with add to cart button in opencart

Add to cart button is not working in my website kartforu.com based on opencart. when inspect element in google chrome it showing ("uncaught type error button is not function"). this is the link of website https://kartforu.com
error shown in attached screenshot also
here is image...error is red underlined
You are calling Jquery multiple times which is creating the issue. Once you keep only one then it starts working.

Can I display personalized content based on a clicked link from another page in Sitecore 7.5?

I'm trying to display personalized content on a page IF I have clicked on a specific link on a specific page.
Then, on a page that will contain personalization rules, a piece of personalized content will display, but only if I clicked specific link on a specific page If so, then display a piece of content.
I know there is a way to do this using query string parameters, but this would involve some coding. I don't want to do that, I want to see if there is something out of the box that will let me do this.

Adding an action to the change record screen

I read through the tutorial on the Django site for adding custom admin actions and got my custom action to work when viewing a list of items.
The problem is I'd like to add a button to the page where users can edit records that will execute this custom action, but I have no idea how to do this.

Accessing page methods from command in Sitecore

I'm building Sitecore sheer UI application. The main layout is aspx page NOT XAML, which contains a grid. I added a dropdown list as a ribbon button. When dropdown list changes, it must filter the grid source based on the selected value in dropdown.
When dropdown list changes, my custom command will trigger, but in the command I can't access my grid control so that I can do a filter. So my question is how can I call a method inside my aspx page from command class?
From your post I understand you have build an interface(.aspx page) which opens when user clicks dropdown value from the ribbon.
If this is the case then you can pass dropdown value in aspx page using querystring from your command file
In command file add following code
In execute method retrieve clicked value from CommandContext context:
Item item = context.Items[0];
In run method user SheerResponse to open aspx file:
UrlString urlString = new UrlString("youraspxpage.aspx?id="+(Dropdownvalue));
SheerResponse.ShowModalDialog(urlString.ToString());
In aspx file add following code to access which option you have selected from the
dropdown:
In page_load method access dropdown value from querystring, retrieve dropdown value and load grid:
string dropdownvalue= (Request.QueryString["id"]);
Let me know if the case is different.
Thx.