Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009

    Help integrating php code


    I am trying to integrate some php code from an existing page into a sunshop template. Part of the existing code is:

    <h2>Please Select A Department</h2><br />
    <a href="ads.php?dept=patio">Patio Furniture</a>&nbsp;&nbsp;&nbsp;
    <a href="ads.php?dept=clock">Clocks</a>&nbsp;&nbsp;&nbsp;
    <a href="ads.php?dept=kitchen">Kitchen Center</a>&nbsp;&nbsp;&nbsp;
    <a href="ads.php?dept=dinner">Dinnerware</a>&nbsp;&nbsp;&nbsp;
    <a href="ads.php?dept=home">Home Accessories</a>&nbsp;&nbsp;&nbsp;
    <a href="ads.php?dept=elec">Electronics</a>


    I'm trying to integrate this into a page template and assume that i still need to call the page like this:
    <a href="$settings[shopurl]index.php?l=page_view&amp;p=ads">Current Ads</a>

    How do i integrate the dept selection from the existing code into the template?



  2. #2
    Join Date
    Jul 2009
    There's nothing to integrate. Those will behave like template codes. Just insert them to your templates. You will need to have a page called page_ads.html though.

Similar Threads

  1. Integrating sunshop with drupal
    By turoati in forum Customizations, Mods & Plugins
    Replies: 0
    Last Post: 02-12-2010, 06:03 AM
  2. Bar Code
    By jett69 in forum Troubleshooting and Problems
    Replies: 2
    Last Post: 10-09-2008, 12:20 AM
  3. Coupon Code and Discount Code Issues...
    By camillek in forum Troubleshooting and Problems
    Replies: 1
    Last Post: 07-21-2008, 08:44 PM
  4. Integrating Sunshop with a POS system
    By Kraken in forum Troubleshooting and Problems
    Replies: 2
    Last Post: 01-23-2008, 10:09 AM
  5. html code
    By Unregistered in forum Pre Purchase Questions
    Replies: 1
    Last Post: 01-08-2004, 08:48 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts