Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:39:39 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155554 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Sitemap  (Read 1455 times)
qldbowler

Offline Offline

Posts: 13


« on: September 07, 2006, 02:30:49 PM »

Hi

I have a site map installed and I wish to displayall pages in my site.  I have a few pages that are hidden.  from the menus but accessible by links within pages.

Is there a way of getting all these to be shown currently does not show any hidden pages.

Thanks

Andrew
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #1 on: September 07, 2006, 03:19:23 PM »

since they are hidden, the sitemap will not show them. Maybe try setting them to "none", but I doubt, that this will work.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

pszilard

Offline Offline

Posts: 73


WWW
« Reply #2 on: December 13, 2007, 10:12:50 PM »

What do you recommend for sitemap creation? I would like recommendations for both

  • Google sitemap for submitting to Google
  • Sitemap to stick on my WB site

Thanks in advance,
Logged

Paul Szilard
WB user since Dec 2007:
http://www.remektek.com.au/wb
http://photos.remektek.com.au/ for my photo portfolio
marathoner

Offline Offline

Posts: 495


« Reply #3 on: December 13, 2007, 10:56:05 PM »

@pszilard
1) There used to be a google sitemap submission module. It's not in the addons but I might have a copy somewhere. Please search the forum for it but let me know if you need a copy.
2) Use the sitemap module in the addons section:
http://addons.websitebaker.org/modules/dlg_by_groups/dlc.php?file=41

@qldbowler
I believe that you can also use show_menu2 to generate a sitemap...you might want to look at the documentation to see if you can call the function in such a way as to include hidden pages. If not, it's probably easy enough to modify the sitemap module to include hidden pages.
Logged
marathoner

Offline Offline

Posts: 495


« Reply #4 on: December 14, 2007, 07:13:00 PM »

@qldbowler

If you are still needing to display hidden pages in your sitemap you can simply change line 47 of /modules/sitemap/view.php:

Current code:
Code:
$private_where_sql = "visibility = 'public'";

Replace with code:
Code:
$private_where_sql = "(visibility = 'public' OR visibility = 'hidden')";

Of course, the page will either need to be a child of a visible parent or a child of the root.
Logged
pszilard

Offline Offline

Posts: 73


WWW
« Reply #5 on: December 16, 2007, 01:50:16 AM »

@pszilard
1) There used to be a google sitemap submission module. It's not in the addons but I might have a copy somewhere. Please search the forum for it but let me know if you need a copy.
2) Use the sitemap module in the addons section:
http://addons.websitebaker.org/modules/dlg_by_groups/dlc.php?file=41

@qldbowler
I believe that you can also use show_menu2 to generate a sitemap...you might want to look at the documentation to see if you can call the function in such a way as to include hidden pages. If not, it's probably easy enough to modify the sitemap module to include hidden pages.

Thnx. Got sitemap module working, but can't figure how to use menu2, even though I looked at the destructions. I am not really a programmer.
Logged

Paul Szilard
WB user since Dec 2007:
http://www.remektek.com.au/wb
http://photos.remektek.com.au/ for my photo portfolio
marathoner

Offline Offline

Posts: 495


« Reply #6 on: December 17, 2007, 02:04:58 PM »

@pszilard

There's even a show_menu2 example of using it to generate a sitemap:
http://code.jellycan.com/sm2test/
Logged
lanesharon

Offline Offline

Posts: 47


WWW
« Reply #7 on: December 22, 2007, 08:43:42 PM »

Sweet!
Logged

Take Care,  Sharon
gillweb

Offline Offline

Posts: 83



« Reply #8 on: January 24, 2008, 06:09:00 PM »

Is there a way to not show Private pages in the sitemap?  My problem is the site map if logged in will show ALL links to Private pages.  Obviously they can not access them since they are private but is there a way to show just that person's private pages and not everyones?
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!