Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Mar 2007
    Posts
    74
    Plugin Contributions
    0

    Default Add/link to new pages without EZ pages? - using InfoPages instead?

    Hello. I am trying to update an older version of a site for someone (version 1.2.4.1). They want some new pages added in, which they can then edit, and I had assumed I could use EZ pages but it does not exist in this version. Any quick pointers on how I do it without completely upgrading? I am new to Zencart!

    I found other pages posted at includes/languages/english/html_includes/classic/filename.php

    I tried adding a test file in here hoping I would be able to edit it from the Zencart admin/tools/define pages but this didn't work.

    My question is how/where do I add the page, make it available to edit from Zencart admin, and link to it, eg from a side menu?

    Thanks in advance for any advice.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add/link to new pages without EZ pages?

    Try Infopages.. downloads section here at zencart forums..
    archives.. other modules...
    http://www.zen-cart.com/archived_contributions/other/

  3. #3
    Join Date
    Mar 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Add/link to new pages without EZ pages?

    Quote Originally Posted by misty View Post
    Try Infopages.. downloads section here at zencart forums..
    archives.. other modules...
    http://www.zen-cart.com/archived_contributions/other/
    Thanks for the advice. This seemed to offer exactly what I was looking for. However, I downloaded the infopages, read the read me file and carefully installed the scripts. When I went to use the admin tool to upload infopages.sql my browser was just a blank white screen!

    I reversed the install and the admin area returned (phew!). I tried the install again, manually, but the same thing happened.

    Any ideas what went wrong?

    Thanks for your help.

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add/link to new pages without EZ pages?

    use the admin tool to upload infopages.sql
    Did you try adding infopages.sql direct, via phpmyadmin, and not via zencart admin?
    BACKUP everything before trying this..
    Have used info pages with zencart 1.25 to zencart 1.37...
    not used version 1.24 however

  5. #5
    Join Date
    Mar 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Add/link to new pages without EZ pages?

    Oh, I am still really stuck. Can anyone please help?

    I have taken a back up of the database and successfully run the infopages.sql file in PhpMyAdmin. I have reinstalled all the scripts but again get the same blank screen where the admin page should be.

    I found an old archive thread titled 'unlimited information pages and links' and read through this. One suggestion was to delete admin/includes/functions/extra_functions/infopages_functions.php, due to a potential conflict with existing scripts. I tried this, but it made no difference either.

    Can anyone please help with this, or advise on another solution to simply add about 5 extra pages linked to via a side box to version 1.2.4.1 (friend's site who does not want to upgrade). The pages are simply to contain static content with some links into her product catalogue.

    Many thanks

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Add/link to new pages without EZ pages?

    The blank page suggests that one of the files you're uploading contains an error.
    Try backing out again (just the files, not the SQL). Make sure admin works. And then upload each file one at a time to see which one busts things, testing between each load.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Mar 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Add/link to new pages without EZ pages?

    Thanks for the advice. I have just reversed the install, got the admin area back up, and shall do as you suggest.

  8. #8
    Join Date
    Mar 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Add/link to new pages without EZ pages? - using InfoPages instead?

    Ok. I have loaded each file 1 at a time and tested for the login to the admin area after each one. The only one that gave me a problem was the file mentioned earlier;

    admin/includes/functions/extra_functions/infopages_functions.php

    So I backed this one out. According to other users this is not necessary as functionality is duplicated elsewhere.

    To complete the install I logged into the admin area and enabled the infopages sidebox in Admin>Tools>Layout Boxes and got the following message on the public facing site:

    1146 Table toys.zen_infopages doesn't exist

    I had run infopages.sql in phpmyadmin and thought this is what that did? Create the table?

    Code:
    DROP TABLE IF EXISTS infopages;
    CREATE TABLE infopages (
      `pages_id` int(11) NOT NULL auto_increment,
      `pages_title` varchar(64) NOT NULL default '',
      `alt_url` varchar(255) NOT NULL default '',  
      `pages_html_text` text,
      `status` int(1) NOT NULL default '1',
      `vertical_sort_order` int(3) NOT NULL default '0',
      `horizontal_sort_order` int(3) NOT NULL default '0',    
      PRIMARY KEY  (`pages_id`)
    ) TYPE=MyISAM AUTO_INCREMENT=2 ;
    I admit this is all new to me and whilst I think I could create a table manually, I wouldn't know how to 'configure' it. I feel I am so nearly there and any support on completing this would be gratefully received.

    Thank you

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Add/link to new pages without EZ pages? - using InfoPages instead?

    Quote Originally Posted by backinthesaddle View Post
    1146 Table toys.zen_infopages doesn't exist

    I had run infopages.sql in phpmyadmin and thought this is what that did? Create the table?

    Code:
    DROP TABLE IF EXISTS infopages;
    CREATE TABLE infopages (
      `pages_id` int(11) NOT NULL auto_increment,
      `pages_title` varchar(64) NOT NULL default '',
      `alt_url` varchar(255) NOT NULL default '',  
      `pages_html_text` text,
      `status` int(1) NOT NULL default '1',
      `vertical_sort_order` int(3) NOT NULL default '0',
      `horizontal_sort_order` int(3) NOT NULL default '0',    
      PRIMARY KEY  (`pages_id`)
    ) TYPE=MyISAM AUTO_INCREMENT=2 ;
    Your site is expecting to use tablenames that start with zen_ as indicated in the error message.
    Try adding zen_ to the infopages tablenames in your CREATE TABLE statement, and things should be fine.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Mar 2007
    Posts
    74
    Plugin Contributions
    0

    Default Re: Add/link to new pages without EZ pages? - using InfoPages instead?

    I have realised one of the problems. The infopages.sql script created a table called infopages instead of zen_infopages. I have renamed this and the public facing site is now not falling over when I enable the info pages side box.

    However, now when I try to admin> tools> info pages I get the following error message;

    Page infopages not included in table zen_admin_files

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 5 Dec 2012, 05:45 AM
  2. How to add links to header bar without ez-pages
    By lextechs in forum Templates, Stylesheets, Page Layout
    Replies: 25
    Last Post: 28 Oct 2007, 11:09 PM
  3. how to add pages and link them to previous pages?
    By jmdav2000 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Sep 2006, 09:44 AM
  4. Creating Custom Pages Instead of Using Cart
    By null in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jun 2006, 10:20 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
  •  
disjunctive-egg