{"id":1970,"date":"2015-01-27T01:25:00","date_gmt":"2015-01-27T06:25:00","guid":{"rendered":"http:\/\/mts-help.nick.php.dev\/after_sale_support\/Demo_movies_database\/OsCommerce\/article22.html"},"modified":"2015-01-27T02:28:58","modified_gmt":"2015-01-27T07:28:58","slug":"how-add-new-page-2","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-add-new-page-2.html","title":{"rendered":"osCommerce. How to add a new page with the link in Information module"},"content":{"rendered":"<p>This tutorial will show you how to add a new page with the link in Information module.<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=G1m0k2NWp18?width=1280&amp;height=720\" rel=\"prettyPhoto\">osCommerce. How to add a new page with the link in Information module<\/a>\r\n<ol>\r\n<li><p>We won\u2019t create a new page from scratch. Let\u2019s take a Shipping page as a base for our new page. Open osCommerce installation directory and locate <strong>shipping.php<\/strong> file.<\/p><\/li> \r\n<li><p>Copy the file and rename it. For example, to <strong>feed.php<\/strong>.<\/p><\/li>\r\n<li><p>Open <strong>includes\/languages\/your_language<\/strong> directory. Locate <strong>shipping.php<\/strong> file, copy it and rename to <strong>feed.php<\/strong>.<\/p><\/li>\r\n<li><p>Open feed.php file and change its content:<\/p>\r\n<pre class=\"brush:php\">\r\ndefine('NAVBAR_TITLE', 'Shipping &amp; Returns');\r\ndefine('HEADING_TITLE', 'Shipping &amp; Returns');\r\ndefine('TEXT_INFORMATION', 'Put here your Shipping &amp; Returns information.');<\/pre><\/li>\r\n<li><p>Open <strong>includes<\/strong> folder and open <strong>filenames.php<\/strong> file. Add new line and define new filename as follows:<\/p>\r\n<pre class=\"brush:php\">define('FILENAME_FEED', 'feed.php');<\/pre><\/li>\r\n<li><p>In the <strong>catalog\/feed.php<\/strong> file replace <strong>FILENAME_SHIPPING<\/strong> with <strong>FILENAME_FEED<\/strong>.<\/p><\/li>\r\n<li><p>In <strong>\/includes\/modules\/boxes\/bm_information.php<\/strong> look for:<\/p> \r\n\r\n<pre class=\"brush:php\">&lt;ul class=&quot;information&quot;&gt;<\/pre>\r\n\r\n<p>and add the following coding:<\/p>\r\n<pre class=\"brush:php\">'    &lt;li&gt;' . tep_draw_box_list_top() . '&lt;a href=&quot;' . tep_href_link(FILENAME_FEED) . '&quot;&gt;&lt;i class=&quot;icon-ok&quot;&gt;&lt;\/i&gt;' . MODULE_BOXES_INFORMATION_BOX_FEED . '&lt;\/a&gt;' . tep_draw_box_list_bottom() . '&lt;\/li&gt;'.<\/pre><\/li>\t\t\r\n<li><p>Open <strong>includes\/languages\/english\/modules\/boxes\/bm_information.php<\/strong> file and add the coding:<\/p>\r\n<pre class=\"brush:php\">define('MODULE_BOXES_INFORMATION_BOX_FEED', 'Feed');<\/pre><\/li>\r\n<li><p>Click the <strong>Save Changes<\/strong> button in the upper right corner of the screen to activate it. And check the website to see changes.<\/p><\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=G1m0k2NWp18?width=1280&amp;height=720\" rel=\"prettyPhoto\">osCommerce. How to add a new page with the link in Information module<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to add a new page with the link in Information module in OsCommerce.<\/p>\n","protected":false},"author":57,"featured_media":43313,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[731],"tags":[1461,557,538,572],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1970"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=1970"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/1970\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/43313"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=1970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=1970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=1970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}