OpenCart 3 : Maintenance Mode

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Unfortunately, being logged-in as Administrator you can forget, that Maintenance Mode is ON and the website is not accessible for the users until your decided to check it from another computer or device and figured out that you had a problem… for a long time.

Background image will be displayed for both back-end and front-end if you put your site in Maintenance Mode, see the screenshot below:

(more…)

Using XPath with PHP

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

If your PHP applications perform beyond CRUD operations, chances are you have worked with XML. Navigating an XML document or data stream for the desired data elements can be cumbersome, though, and even somewhat intimidating for PHP developers. It can be especially overwhelming when the XML data structure is complex. XPath is a W3C standard whose sole purpose is just that — getting to the right data element, or, specifically, the desired node. PHP supports XPath as part of its XML classes and functions. In this article you explore some basic scenarios for locating information in XML and how XPath can do the hard work for you in your PHP applications.

Source: Using XPath with PHP

Yandex.Metrica