Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Location
    Denver CO
    Posts
    63
    Plugin Contributions
    0

    Default Every Page has the same heading, after installing Add More Pages plugin

    v1.5.5a (upgraded from 1.5.5)
    Responsible Apparel Boutique
    Plugin: Add Pages to More Information Sidebox
    www.Team Doxie.com/ index.php

    After the upgrade to 1.5.5a, I installed Add Pages to More Information Sidebox. Missed some files so went through each of the plugin's files and compared to the files on my server. Fixed the problems and pages are now named correctly in More Info sidebox. The problem is that every page, not just the three new ones, shows Page 5 as the heading.

    Using Chrome Dev Tools, that area shows <h1 id="indexDefaultHeading">Page 5</h1>. I once thought I could find and fix anything using the Dev Tool Kit. Not this time I have wasted entirely too much time trying to find what I am overlooking. Help, please?

    Dorothy

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Every Page has the same heading, after installing Add More Pages plugin

    You've added a define for 'Page 5' to a file that gets applied everywhere ... so either you put it in english.php (unadvised), or you put it in extra_definitions (which loads all files on every page).

    I don't have that plugin's files in front of me, but usually if you're adding more pages you'd put your new page's page-specific text defines in its own file at /includes/languages/english/YOUR_PAGE_NAME.php (where YOUR_PAGE_NAME matches the main_page=YOUR_PAGE_NAME in the URL of the page when you visit it in the browser).

    So, just shuffle the heading define into the correct place and it should all sort itself out ;)
    .

    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.

 

 

Similar Threads

  1. v154 All this text appears on every page after adding Flexible Returns Plugin
    By buzltyr in forum Addon Shipping Modules
    Replies: 2
    Last Post: 13 Feb 2015, 05:58 PM
  2. All Pages have the same heading?
    By bridge32 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Aug 2011, 08:54 AM
  3. EZ-Pages URL not the same as Heading?
    By Jordin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 May 2009, 09:11 AM
  4. every products has the same main title?
    By yierhan2008 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Oct 2008, 04:32 PM
  5. Help - every page has same title and description
    By surfrider in forum General Questions
    Replies: 5
    Last Post: 8 Feb 2008, 11:07 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