Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Posts
    72
    Plugin Contributions
    0

    Default specific text on a page isn't picked up by developers tool kit?

    hi all, i'm running v1.5.0.

    i've used the developers tool kit (admin > tools > developers tool kit) to search for a number of different things and have found great success in locating specific files when necessary. however, one thing has me stumped.. if you check out this page of my store:

    http://c u l tivatedreef.com/index.php?main_page=product_info&cPath=19_1&products_id=676 (spaces added to beginning of URL to prevent search engine indexing)

    you may notice the text over the "SPS" header/banner (the big/wide image) is offset in certain browsers.. that's what i originally started another thread about, but upon trying to fix the text alignment issue, i realized i have another issue... i can't for the life of me seem to locate which file within my database contains the text in question, let alone edit the code to get it to properly align the text. as someone else pointed out in my other thread, if you view the page source in firefox (from the link above), on line 275 there's this problem code:

    Code:
    <p class="MsoNormal" style="margin: 0in 0in 0pt;">
    which i would of course remove to see if it fixes the problem, but the developers tool kit can't seem to find any file with this text, or even snippets of that text....even typing in the text itself that appears over the header ("Generally speaking, the Small Polyped Stony corals", blah blah blah) doesn't seem to return any results with the developers tool.. i'm searching in all files for all file types and i know the tool isn't broken because it can return other searches with no problem. does this mean the files that contain the header text are (for whatever reason) hosted elsewhere? admittedly, it's been a while since i've used zencart, but i'm having a difficult time wrapping my head around this one...

    thanks in advance.
    Last edited by irish_1985; 19 Sep 2012 at 01:38 AM.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: specific text on a page isn't picked up by developers tool kit?

    Looks like you might have created some product descriptions with Word. That's a big no-no. Word bloats the code with proprietary things like MsoNormal.

    A quick way to see the folly of using Word:
    • open word and create new document
    • type Hello World in document
    • save as webpage
    • open in notepad


    You'll see nearly a hundred lines of code.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Nov 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: specific text on a page isn't picked up by developers tool kit?

    Quote Originally Posted by dbltoe View Post
    Looks like you might have created some product descriptions with Word. That's a big no-no. Word bloats the code with proprietary things like MsoNormal.

    A quick way to see the folly of using Word:
    • open word and create new document
    • type Hello World in document
    • save as webpage
    • open in notepad


    You'll see nearly a hundred lines of code.
    i am actually taking over from a previous person who created everything (i know, i know, i'm sure everyone says that when they have an issue )... don't get me wrong, i don't know a ton, but i sure as heck know to use notepad for codes! that being said, even if microsoft word was used, it shouldn't change the fact that these codes should still be found? i can't find the header description text anywhere...

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,682
    Plugin Contributions
    11

    Default Re: specific text on a page isn't picked up by developers tool kit?

    You have a lovely learning experience ahead of you. Your predecessor has hard-coded things in strange places. Generally a sign of an expert in anything BUT Zen Cart. I know, I tried making it bend to my will over eight years ago.

    You should be able to find things like the MsoNormal by using the Developers Tool Kit in the Tools menu of the admin. Start using small bits of code versus a line of code as it may have been "constructed" from a string of variables. It's used in the text that's not displaying correctly in the header of this page. It may be a part of some other variable but try all the options to find MsoNormal and it will help you on your way.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Nov 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: specific text on a page isn't picked up by developers tool kit?

    thanks for your response. i actually tried searching tiny bits of the code, and tons of strings that are surrounding it... i also looked through 10-20 php and css files that seemed like they would "likely" control the text in this area, but i came up with nothing.. i can't even locate the text itself, which seems really weird. if firebug is picking this up, i would assume the zencart developers tool would give me some hints, but i guess they are two different things...

  6. #6
    Join Date
    Nov 2011
    Posts
    72
    Plugin Contributions
    0

    Default Re: specific text on a page isn't picked up by developers tool kit?

    to further beat this to death, shouldn't any search of the text in question develop results within the developers tool in the zencart admin?

    for example, this is the text iin question: Generally speaking, the Small Polyped Stony corals have small polyps on a calcareouss skeleton. In many instances they are either branching, plating, or encrusting. SPS corals generally require both moderate to high light and flow. It is important that proper calcium, alkalinity, and magnesium levels are maintained.

    ...yet using the zencart developer tool finds nothing for the word "magnesium"??

    the tool isn't broken because it's finding other searches with no issues.. i just can't wrap my head around how the tool can't find text that is plainly sitting on the header of a page .. unless this microsoft word thing is more complex and chaotic than i think it is. something weird goin on here for sure!

 

 

Similar Threads

  1. v154 Developers Tool Kit refinement
    By dw08gm in forum Customization from the Admin
    Replies: 1
    Last Post: 26 May 2015, 05:32 PM
  2. Developers tool kit
    By eden in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2008, 11:01 PM
  3. text string not coming up in developers tool kit
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 13 Aug 2006, 07:24 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