Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2012
    Posts
    9
    Plugin Contributions
    0

    Default Cannot find 'About Us' text

    Hi all,

    I've taken on a site previously developed for someone else. I've managed to remove most references to the other company but for some reason I cannot find where the 'About Us' text is stored so that I can change it.

    This is the page and I want to change the text on the right. The about.php contains this;

    <?php

    include_once('connections/db101.php');
    $link_id = db_connect();
    $query = "SELECT title, content FROM pages WHERE idx = 1";
    $result = mysql_query($query, $link_id);

    while($row = mysql_fetch_array($result, MYSQL_ASSOC)){

    $title = $row['title'];
    $content = $row['content'];

    echo $content;

    }

    ?>

    I'm not sure what this means exactly, does it mean the 'About Us' text is in a database?

    Copying and excerpt of the text and searching in Developers Toolkit reveals no results. There's no 'About Us' page in the Define Pages Editor in admin.

    I can see and edit the text in FireBug but I don't know how to find and it in the file system. I'm stumped.

    If anyone can point me in the right direction I would be verrrrrry grateful.

    Thanks, Minskin

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Cannot find 'About Us' text

    That About Us page isn't part of the Zencart installation, so you'll have to check the HTML files in the rest of the file area on the server.

  3. #3
    Join Date
    Mar 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Cannot find 'About Us' text

    Many thanks stevesh, I recall my Webdev saying the previous owner wanted the about us page to be the default start page so yes, that makes sense.

    I've proved that the About Us page that's being used is public_html/about.php (by changing the alt text for the image). What I don't understand now is what I am looking for elsewhere on the server to find the text I need to change. Any suggestions?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Cannot find 'About Us' text

    Hard to say. It does look like it's pulling content from some database. What other databases do you have on that domain ?

    If that site were mine, I wouldn't use those pages at all. I would have the header links in Zencart link to EZ pages that contained the same information ( About Us, Calculator, Samples) and just eliminate the current 'jump' page altogether.

  5. #5
    Join Date
    Mar 2012
    Posts
    9
    Plugin Contributions
    0

    Default Re: Cannot find 'About Us' text

    There's only one database for this domain and there's no obvious table that has the information I'm looking for. I'm very inexperienced with databases though.....

    I see now that all links in the top nav (apart from home) link to files in public_html whereas other pages are all within public_html/shop/ and they can be edited in admin via EZ Pages. Am I right in my understanding then that files within public_html/shop are Zencart files and those in just public_html are outside of it? Being new to Zencart I'm not sure where Zen begins.....

    I did ask my webdev to change the About Us page from being the default start page and also to one that I could edit myself via admin but it seems he's not quite done that. Is it as easy as deleting those pages and creating new ones in EZ pages? Whilst there are more pages to do I think I'd better ask him to do it. I'm not confident enough with Zen just yet to go rooting around myself.

    Thanks very much for your advice, it helped a lot.

    Minskin

 

 

Similar Threads

  1. Cannot find how to edit this text anywhere!
    By tenpercentfirearms in forum General Questions
    Replies: 4
    Last Post: 29 Jul 2009, 05:07 PM
  2. cannot find where text inserted or admin/orders.php
    By SarahL in forum Managing Customers and Orders
    Replies: 1
    Last Post: 21 Jan 2009, 11:33 PM
  3. Still cannot find a way to add text
    By sandy2000ca in forum General Questions
    Replies: 8
    Last Post: 17 Sep 2008, 06:54 AM
  4. Curious text cannot find the reason
    By oidahabara in forum Basic Configuration
    Replies: 2
    Last Post: 4 Sep 2008, 09:32 PM
  5. Cannot find where to change the text color....
    By kameleon in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 May 2008, 06:08 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR