Welcome, Guest. Please login or register.
March 18, 2010, 10:47:16 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.
110347 Posts in 15936 Topics by 9292 Members
Latest Member: a52de940fu
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Sitemap module: new modified/fixed version
Pages: 1 [2] Go Down Print
Author Topic: Sitemap module: new modified/fixed version  (Read 17721 times)
tin

Offline Offline

Posts: 93


An other WB fan


« Reply #25 on: May 06, 2006, 07: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
rsmith

Offline Offline

Posts: 194


« Reply #26 on: May 08, 2006, 03: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, 12:38:16 PM by rsmith » Logged
rsmith

Offline Offline

Posts: 194


« Reply #27 on: May 08, 2006, 04: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, 04:30:50 AM by rsmith » Logged
tin

Offline Offline

Posts: 93


An other WB fan


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

Thanks a lot - works perfectly!

Martin
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #29 on: May 08, 2006, 08: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, 07:10:01 AM by ruebenwurzel » Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
kozmoz

Offline Offline

Posts: 33


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

Created Dutch translation for sitemap module, see atachment...
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


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

Hello,

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

Matthias
Logged

You search for help, please look here: Help-Page
You search for Modules, Templates or Languages, please look here: Addons-Page
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
Pages: 1 [2] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!