Hello,
I can't find sitemap editor from admin. I want to add/edite pages to sitemap. your advise would be appreciated.
Hello,
I can't find sitemap editor from admin. I want to add/edite pages to sitemap. your advise would be appreciated.
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.
Wholesale shop: http://www.faktor.rs
Art: http://www.katherinejewelry.com , http://www.milicabubanja.com ,
http://www.virtuelnagalerija.com
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 !
Wholesale shop: http://www.faktor.rs
Art: http://www.katherinejewelry.com , http://www.milicabubanja.com ,
http://www.virtuelnagalerija.com