Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'define content'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • OSCOMMERCE.TV
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • oscBooks and oscTemplates'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
  • German Community's OSCOM v3.x

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


Skype

Found 3 results

  1. Hi, I had installed this define content for 2.3 addons on 234.1 Edge (BS) version and it works when the page urls are generated based on page titles are entered. It means if the page is privacy.php / privacy.php / conditions.php then it will not be able to be updated or edit. As I also installed the Information Page Unlimited, this will not work together with it. So I thought to define the page to cm_footer_information_links.php here is the code I changed: function execute() { global $oscTemplate; if (tep_session_is_registered('customer_first_name') && tep_session_is_registered('customer_id')) { $content_query = tep_db_query("select page_title, page_url from `define_content` where status='yes' order by id"); } else { $content_query = tep_db_query("select page_title, page_url from `define_content` where status='yes' and login_view='no' order by id"); } $content_data = ''; if ($number_of_rows = tep_db_num_rows($content_query)) { while ($content = tep_db_fetch_array($content_query)) { $content_data .=' <a href="' . tep_href_link('pages.php', 'page=' . $content['page_url']) . '">' . $content['page_title'] . '</a><br />' ; } } $data = ' <div class="col-sm-<?php echo $content_width; ?> cm-footer-information-links">' . ' <div class="footerbox information">' . $content_data . '</div>' . ' <ul class="nav nav-pills nav-stacked">' . tep_information_show_category(1) . //' <a href="' . tep_href_link('shipping.php') . '">' . MODULE_CONTENT_FOOTER_INFORMATION_SHIPPING . '</a><br />' . //' <a href="' . tep_href_link('privacy.php') . '">' . MODULE_CONTENT_FOOTER_INFORMATION_PRIVACY . '</a><br />' . //' <a href="' . tep_href_link('conditions.php') . '">' . MODULE_CONTENT_FOOTER_INFORMATION_CONDITIONS . '</a><br />' . ' <a href="' . tep_href_link('about_us.php') . '">' . MODULE_CONTENT_FOOTER_INFORMATION_ABOUT . '</a>' . ' </div>' . '</div>'; $content_width = (int)MODULE_CONTENT_FOOTER_INFORMATION_CONTENT_WIDTH; //ob_start(); //include('includes/modules/content/' . $this->group . '/templates/tpl_' . basename(__FILE__)); //$template = ob_get_clean(); $oscTemplate->addContent($template, $this->group); } At admin I can modify and update the pages, but the front end it did not dynamically be updated. Can any please give advise of how to make it works? Many thanks. Lyn
  2. Is it possible to change the sort order of existing pages created using define content? I can see that they all get an ID number code but cannot find a way to edit this. Would appreciate any advice or information. Sam
  3. Does anyone know how I can find out what versions an add-on supports? I'm particularly interested in knowing if I can use the "Define Content" contribution with osCommerce 2.3.1.
×