Jump to content

Search the Community

Showing results for tags 'seo-url'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Developer Feedback
  • Club osC's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 1 result

  1. oscMarket

    Simple routing idea!

    Only requires index.php Find in application_top.php //Template class require('includes/classes/osc_template.php'); $oscTemplate = new oscTemplate(); Below add: // determine the route to load the cm_ modules require('includes/classes/route.php'); in includes/'html_output.php Find: //// // The HTML href link wrapper function function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) { global $request_type, $session_started, $SID; $page = tep_output_string($page); Below add: $page = str_replace('.php', '', $page); Add to the classes directory the attached file Example: <?php /* $Id$ osCompose, Open Source E-Commerce Solutions http://www.oscompose.com Copyright (c) 2018 osCompose */ require('includes/application_top.php'); require('includes/template_top.php'); $route = new Route(); $route->load(); $route->listen(); require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?> What does it do: It loads the content out of your "content modules directory" of course that structure is not sufficient. It is only an idea and trick to get beyond the current architecture of oscommerce. This will lead into url's like: http://yourdomain.com/index?XXX http://yourdomain.com/index?cPath=1 http://yourdomain.com/products_new? http://yourdomain.com/shipping? http://yourdomain.com/account?XXX Etc etc.... route.php
×