Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default how to edite Sitemap?

    Hello,

    I can't find sitemap editor from admin. I want to add/edite pages to sitemap. your advise would be appreciated.

  2. #2
    Join Date
    Mar 2007
    Location
    Serbia, Niš
    Posts
    79
    Plugin Contributions
    1

    Default Re: how to edite Sitemap?

    As far as I know - you can't add/edit sitemap in admin page.

    When I needed to make some changes I did it like this:

    You should find:

    includes/templates/template_default/templates/tpl_site_map_default.php

    copy into:
    includes/templates/your_template/templates/..

    And there you can add/edit code.

  3. #3
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default Re: how to edite Sitemap?

    Actually I want some of defind pages editor and ez-pages headline contents can be also display on sitemap.

    Any helps would be appreciated.

  4. #4
    Join Date
    Mar 2007
    Location
    Serbia, Niš
    Posts
    79
    Plugin Contributions
    1

    Default Re: how to edite Sitemap?

    Quote Originally Posted by hara View Post
    Actually I want some of defind pages editor and ez-pages headline contents can be also display on sitemap.

    Any helps would be appreciated.
    First - you already have sitemap links for page 2, 3, 4
    If they don't show in your sitemap - than you didn't activated them in admin panel ( see configuration / define page status )

    For EZ pages:
    Well - if you know some basically coding, than upper information should be sufficient.
    But if not....
    What you need is to put a code with link on a proper place, where you want to add your link to your page.
    If you want to put them on the end of sitemap list then find at the bottom of list definition for page_4 and...enter the red marked text:

    Code:
    Find at the bottom of list definiton for page_4 and...
    ....................

    <?php if (DEFINE_PAGE_4_STATUS <= '1') { ?>
    <li><?php echo '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>'; ?></li>
    <?php } ?>
    </ul></li>
    <?php
    include(DIR_WS_MODULES . zen_get_module_directory('ezpages_bar_header.php'));
    ?>
    <?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>
    <li> <a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
    <?php } // end FOR loop ?>
    </ul>

    </div>
    <br class="clearBoth" />
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
    </div>

    ------------------
    Now it will give you sitemap for english and chinese languge as well ( assuming that you wrote EZ pages in both languges )

    Have in mind that sitemap is self generated and that you should not manually enter links.

    Good luck !

 

 

Similar Threads

  1. SEO Quake - Sitemap:No - Using Google XML Sitemap
    By limelites in forum General Questions
    Replies: 2
    Last Post: 14 Feb 2012, 11:56 AM
  2. Can edite shopping_cart.php from admin?
    By hara in forum Basic Configuration
    Replies: 3
    Last Post: 4 Feb 2009, 12:40 PM
  3. How to edite check/money order address
    By taogem in forum General Questions
    Replies: 2
    Last Post: 13 Aug 2008, 04:30 PM
  4. How and where to edite the Directories?
    By alhakeem2001 in forum Customization from the Admin
    Replies: 2
    Last Post: 2 Dec 2007, 10:34 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