Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 01:18:48 AM

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.
149398 Posts in 21080 Topics by 7528 Members
Latest Member: ronse
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: Sitemap module: new modified/fixed version  (Read 21458 times)
Tin

Offline Offline

Posts: 114



« Reply #25 on: May 06, 2006, 06:48:37 PM »

Hi - hope I am at the right place...

In the module Sitemap version 2.8 I wanted to use [MODIFIED_WHEN] - but it seems not to work - the date ist quite strange - like "1146750182".

Martin
Logged

Gruss von Tin
rsmith

Offline Offline

Posts: 194


« Reply #26 on: May 08, 2006, 02:22:11 AM »

Mine does the same thing... the Time/Date stamp doesn't get decoded

the Fix
adjsutments to line 103 in the view.php to decode the time/date
Quote
$values = array($page['page_id'], $page['parent'], page_link($page['link']), stripslashes($page['page_title']), stripslashes($page['menu_title']), stripslashes($page['description']), stripslashes($page['keywords']), $page['target'], gmdate(DATE_FORMAT, $page['modified_when'] +TIMEZONE)." - ". gmdate(TIME_FORMAT, $page['modified_when'] +TIMEZONE), $page['modified_by']);
I think theres a built in function to do this that would shorten the mods, I couldnt find it but someone may know where it is..

EDIT: zip removed, below posting fixes it

Rob
« Last Edit: May 08, 2006, 11:38:16 AM by rsmith » Logged
rsmith

Offline Offline

Posts: 194


« Reply #27 on: May 08, 2006, 03:32:29 AM »

A better "fix"

Issue
with the current 2.8 the [MODIFIED_WHEN] gives you both date and time in a fixed format.... (once changed with the above posting)

Changes
attached is a couple adjustments
[MODIFIED_DATE] and  [MODIFIED_TIME] are new variables, the existiong [MODIFIED_WHEN] still works too

the date/time is now more customizable..

Install
After installing the released version 2.8  backup and overwrite the view.php and help.php from the attached zip.


EDIT: new version... see below or in the Repository
« Last Edit: May 09, 2006, 03:30:50 AM by rsmith » Logged
Tin

Offline Offline

Posts: 114



« Reply #28 on: May 08, 2006, 07:17:14 AM »

Thanks a lot - works perfectly!

Martin
Logged

Gruss von Tin
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7654



WWW
« Reply #29 on: May 08, 2006, 07:28:18 PM »

Thanks again Rob,

as you wrote in the help file, i thought this is a good idea and released the version 2.9.

Changelog: see above
How to update: see above

Added the modul at the addons repository too.

Have fun

Matthias

Edit:
Newer version available at the Add-ons Repository
« Last Edit: October 16, 2006, 06:10:01 AM by ruebenwurzel » Logged
kozmoz

Offline Offline

Posts: 34


WWW
« Reply #30 on: October 16, 2006, 12:45:35 AM »

Created Dutch translation for sitemap module, see atachment...
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7654



WWW
« Reply #31 on: October 16, 2006, 06:26:51 AM »

Hello,

Thanks, added it to the modul at the Add-ons Repository.

Matthias
Logged
zonker720

Offline Offline

Posts: 25



WWW
« Reply #32 on: November 25, 2009, 10:44:13 PM »

Hi Guys,

not sure if anyone has done this yet, but we have written a handy little module to go with the site map that allows you to adjust the Page priority.
Logged

Tristan Boyd
Website design: http://www.boyddesign.com.au
Logo design: http://www.brandland.com.au
mjm4842

Offline Offline

Posts: 227


« Reply #33 on: August 08, 2010, 06:34:25 PM »

Please find attached a new version of the Sitemap module.

What's New:

v3.1.1 (Michael Milette; August 8, 2010)  - Sorry, no new features.
  • update_sitemap.php has been replaced by a new upgrade.php which is automatically run when upgrading using the Modules installation facility included with websitebaker.
  • Errors will now be displayed when upgrading, if any occur.
  • Upgrades now include the creation of the show_hidden field. Although this field was created during installation, it was not created during an upgrade from a previous version. This corrects the issue where the following error message would appear after upgrading: Fatal error: Call to a member function fetchRow() on a non-object in <your wb path>/modules/sitemap/modify.php on line 36.
  • Module info now reflects compatibility with WebsiteBaker v2.8.x.
  • Updated: All WebsiteBaker copyright notices updated to include 2010.

I know that SM2 (show_menu2) can be used to accomplish the same thing. However in keeping with websitebaker's goal of being easy to use, despite the convinience of droplets, a module is still easier to install and use for the non-techy end user.

Edit: Attachment deleted. Please download the latest version from http://www.websitebakers.com/pages/modules/listings/section-pages/sitemap.php

Best regards,

Michael Milette

___________________ _________________
TNG Consulting Inc.
Sustainable Solutions for Life
www.tngconsulting.c a
« Last Edit: August 08, 2010, 07:10:24 PM by mjm4842 » Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Hans Toolbox

Offline Offline

Posts: 910


« Reply #34 on: August 10, 2010, 12:00:54 AM »

"Notice"

Version 2.8.2 Revision 1465
Notice: Undefined index: show_hidden in Z:\html\modules\sitemap\save.php on line 40
Page saved successfully


Version 2.8.2 Revision 1465
Notice: Undefined index: show_hidden in Z:\html\modules\sitemap\save.php on line 40
Die Seite wurde erfolgreich gespeichert

« Last Edit: August 10, 2010, 12:06:38 AM by Hans Toolbox » Logged

[Die Beleidigung gegenüber mir wurde durch mich gelöscht, User wurde von mir ausgeschlossen - kweitzel]
mjm4842

Offline Offline

Posts: 227


« Reply #35 on: August 10, 2010, 04:33:30 AM »

Thank you for your feedback Hans. The message was a warning and should not appear if you set the PHP Error Reporting Level in the WebsiteBaker Settings page to E_NONE. I suspect it this change may get rid of other similar messages for you throughout the rest of the application.

Please find attached an updated version of the Sitemap module.

WHAT'S NEW in v3.1.2

  • Eliminates notice message regarding undefined index show_hidden when saving sitemap settings.
  • Updated change log in info.php (to remove techy clutter from user interface)
  • Removed change log from help.php (it was out of date)

Edit: Attachment deleted. Please download the latest version from http://www.websitebakers.com/pages/modules/listings/section-pages/sitemap.php

Best regards,

Michael
« Last Edit: August 10, 2010, 01:44:25 PM by mjm4842 » Logged

Frustrated? Spending too much time developing when all you really want is a working website? Contact me directly if I can be of services to you.
___________________ ________


www.tngconsulting.c a
Hans Toolbox

Offline Offline

Posts: 910


« Reply #36 on: August 10, 2010, 01:28:33 PM »

Quote
I suspect it this change may get rid of other similar messages for you throughout the rest of the application.
I get no such messages  grin grin grin  (e_all & e_strict)
« Last Edit: August 10, 2010, 01:33:00 PM by Hans Toolbox » Logged

[Die Beleidigung gegenüber mir wurde durch mich gelöscht, User wurde von mir ausgeschlossen - kweitzel]
daydreamer

Offline Offline

Posts: 230


« Reply #37 on: October 06, 2010, 11:27:33 AM »

Show hidden pages but nor certain pages is this possible?

Thanks
Nick
Logged
Bastian

Offline Offline

Posts: 161



WWW
« Reply #38 on: November 16, 2011, 08:35:22 PM »

Hey There,

Modul dosn't work with WB_2.8.1 SP1 incl. Hotfixes....
Can't save the seetings, all fields empty, after filled with some code and try to save, their is no error, but all fields empty.....
Frontend didn't show anything.......

Anyone how have the same problem with this Modul?

WB 2.8.1
Sitmap 3.1.3
No errors reported if you switch in Backend "PHP Error" to E_ALL E_notice

Cheers Basti
Logged
Pages: 1 [2]   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!