Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    257
    Plugin Contributions
    0

    Default I need coding help BAD...... :(

    I posted this before with only one response.. I wrote a script that allowed me to access the zencart from a different folder using my current php scripted website. I tried the same thing for the side boxes (since my website has side boxes) so that instead of the side boxes appearing in the zencart frame it appears on the website frame. I get an error saying

    You don't have permission to access /shoppingcart/includes/modules/sideboxes/information.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



    but the script that accesses the zencart works... I am not the best coder... but i have an idead how to do things.. the permissions on those folders are all set ok... any ideas how to make this work?

    i really need help.. this changes the entire layout of my site if I have to keep the boxes inside the zencart frame... thanks in advance

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: I need coding help BAD...... :(

    First off, it is not the recommended course to use another page (probably not a php page) to attempt to link Zen Cart functions to. The recommended approach is to use Zen Cart as your opening page, and make it match the looks of any page the you currently have , ultimately scrapping your current page in the process.

    You can look in the downloads area at the mod see it here and you can model your wants after this.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2006
    Posts
    257
    Plugin Contributions
    0

    Default Re: I need coding help BAD...... :(

    the original page is php.. and i would prefer zencart look like that page... but instead of creating a theme.. i just wrote a simple few line script that calls up the pages i need...

    <script type="text/javascript">
    function resizeMe(obj){
    docHeight = stats.document.body.scrollHeight
    obj.style.height = docHeight + 10 + 'px'

    }
    </script>

    <iframe name="stats" onload="resizeMe(this)" Width="750" style="height:200px" name="stats" frameborder="0" src="../shoppingcart/index.php" align="center">
    Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>

    simple right....
    easier to write that than to code a new theme.. any way.. that works.... pulls up the cat perfectly.. exactly how i want it.. the problem is the boxes on zen cart i am trying to pull up on the boxes in my main php page.. and i get the errors i listed about not having permission..........
    the code in your link would be great for an html site..... still searching for answers... thanks...

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: I need coding help BAD...... :(

    easier to write that than to code a new theme
    Not fully correct, as you are finding out, due to sessions for security that Zen Cart creates and uses, you will continue to experience errors of one type or another if you continue down this path. Not that they can not be worked around but the time that you will eventually invest in this would be better spent porting your design over to ZenCart.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v139h Need Help Coding Search Button For Firefox
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 15 Aug 2013, 06:58 PM
  2. v150 Need help coding attribute sort order
    By hubert in forum General Questions
    Replies: 1
    Last Post: 21 Jun 2013, 02:01 PM
  3. I Need help bad
    By ywsc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 May 2009, 09:12 AM
  4. need simple php coding help!!!! 5 lines max..
    By waghelak in forum General Questions
    Replies: 4
    Last Post: 10 Sep 2007, 02:59 AM

Posting Permissions

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