…with the items selected, we'll need to pass the items between controllers. So we'll make use of an AngularJS service to pass the data between controllers. Let's create a service called CommonProp where we'll save the items selected and also the total price. Open up cart.js and create a service…
…with a prefix. single_cat_title( 'Category: ' ); // Get the category title. $cat_title = single_cat_title( '', false ); ?> Getting & Displaying a Page Title for Tag Archives: single_tag_title() This template tag returns and displays the tag's title for using in page titles. Parameters This template tag accepts two parameters:…
…With Yii2 series, I'm guiding readers in use of the newly upgraded Yii2 Framework for PHP. In this tutorial, I'm going to introduce you to using the rich text editor Redactor within the Yii Framework.For these examples, we'll continue to imagine we're building a framework for posting simple status updates,…
…with valid user session. Once we have validated for a valid user session, we'll create a connection to the MySQL database and call the stored procedure sp_GetWishByUser. _user = session.get('user') # Connect to MySQL and fetch data con = mysql.connect() cursor = con.cursor() cursor.callproc('sp_GetWishByUser',(_user,)) wishes = cursor.fetchall()Once we have fetched…
…with a few key points that you need to get right before going live.A. Base URLBefore making your Magento website live (or moving it), you should update the base URLs of your website. Otherwise your URLs will redirect visitors to your development website. To access the store pages, you need…
…With WooCommerce you can generate notifications about low or out of stock and even stop out of stock products from displaying.One can find several configuration settings under this tab. These are:1. Manage Stock. This is an overall setting for your entire stock management and once enabled it keeps a tab on…
…with larger content sites that have significant multi-layered, inter-related content.Craft is written in PHP on the powerful Yii 1.x platform. If you haven't heard of Yii, you can read my Introduction to the Yii Framework at Tuts+. You don't need to know PHP or Yii to use Craft. It's akin to Django-powered CMS tools written…
…with Eve, a Python REST API framework, and create some APIs. In this part of the series, we'll make use of those APIs to create an application powered by Node.js and AngularJS.We'll be implementing the sign-up functionality using Node.js, and adding other functionalities by calling the REST APIs from AngularJS.…
…with a custom made checklist. A potential new client calls me and we made an appointment to meet. With my up-to-date portfolio I went to the client and the meeting went great, I asked the right questions and if needed explained my questions to them. Back at the office it was…
…with the mobile Web.In this tutorial, I want to demonstrate what this looks like in Chrome on my MacBook and how to set it up.tl;dr? Here are some Vines to show you it in action: Mac OSX Android iPad iOS Win7 The tool is called RemoteIE and is designed to…