Start
Help
Forum
Addons
Projects
Welcome,
Guest
. Please
login
or
register
.
August 20, 2008, 05:13:56 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Website Baker 2.7.0 (stable) veröffentlicht!
Nähere Informationen findet ihr
hier
.
Das Diskussionsboard findet ihr
hier
.
60556
Posts in
9791
Topics by
5824
Members
Latest Member:
blubb
Website Baker Community Forum
English
Archive
Sitemap module: new modified/fixed version
Pages:
[
1
]
2
Author
Topic: Sitemap module: new modified/fixed version (Read 8340 times)
Woudloper
Guest
Sitemap module: new modified/fixed version
«
on:
November 17, 2005, 11:31:42 PM »
Since I was busy working on some websites tonight I also thought I needed to update the 'Sitemap' module (of raoulduke and Ryan), since:
The settings where not logical ordened
The admin console layout looked different in relation to some other module (
I am using
)
There was no seperate language file
No help file was available for this module
The template content was rendered incorrect on the modification page (htmlspecialchars was not used)
There where some warning message with error reporting on 'E_ALL'. Some variables where not declared when they where called/used in the code
Changed/updated the way the settings are saved
If some people want to try this version, see the attaced file. If no comment is being made about this module I will also put it in the 'completed modules' list.
Download
:
If you want to download this module visit the
completed modules
thread here over at the forum.
«
Last Edit: November 24, 2005, 10:10:25 PM by Woudloper
»
Logged
Hans
Master Baker
Offline
Posts: 358
Re: Sitemap module: new modified/fixed version
«
Reply #1 on:
November 17, 2005, 11:57:07 PM »
This is really great Woudloper, I think I gonna use this as a menu too (in blocks)
Thanks, works fine.
Hans
Logged
Hans - Nijmegen - The Netherlands
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Sitemap module: new modified/fixed version
«
Reply #2 on:
November 18, 2005, 04:51:15 PM »
Woooow,
you seems to be a modul developer machine
. Works great. But you know me. Good enough is not good enough for me
. Found a very little thing that could be changed. Would be nice when you replace in modify.php in line 106
Code:
value="Cancel"
with
Code:
value="
<?php
echo
$TEXT
[
'CANCEL'
];
?>
"
Thanks and keep on that good work
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
Woudloper
Guest
Re: Sitemap module: new modified/fixed version
«
Reply #3 on:
November 18, 2005, 11:47:43 PM »
I have fixed the problem you described. You can download the adjusted version in the 'completed modules' thread. For the ones who need to be convinced of this module I have also added some screenshots. One for the frontpage and another of the admin console...
I am not really a module developer machine. I have only created one myself. The others I worked on where more modifications which where also needed for my website I am designing. What I really want for all the modules is that the layout can be modified from the admin console, so everyone can adjust this for there own website! Furthermore I like the fact that each module will have a seperate help file in order the help future webdevelopers who need to maintain the website I am building. I will hope other people who are also using modules will do the same as I did/do for the modules.
So that was a long text for only saying that I adjusted the module with your suggestion.
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Sitemap module: new modified/fixed version
«
Reply #4 on:
November 24, 2005, 11:04:23 AM »
@woudloper
Found a little bug. Uninstall the modul don't delete table "mod_sitemap". Uninstall.php failed in the modul.
For all who use the sitemap Module please download the attached file, rename to uninstall.php and copy to modules/sitemap in your WB installation. Uninstall then works.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Sitemap module: new modified/fixed version
«
Reply #5 on:
November 25, 2005, 11:00:06 PM »
@woudloper
See you have fixed the help file issue and released a new version of sitemap modul in Completed modules. Done today some work on this modul too. In the attachment you find the version 2.6.2 of the sitemap modul. Have a look at it and if its ok please release it at completed modules.
Version 2.6.2. (11-25-2005) by Ruebenwurzel
Added: Language file works with help file
Changed: Minor layout changes in admin Interface
Fixed: Code cleaning and all files stored UNIX konform
Have fun
Matthias
Version 2.6.1. (11-24-2005) by Woudloper
Added: Uninstall functionality for the module
Fixed: Layout of the help.php file within Internet Explorer
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
Woudloper
Guest
Re: Sitemap module: new modified/fixed version
«
Reply #6 on:
November 25, 2005, 11:31:57 PM »
@ ruebenwurzel:
Your file has been put in the 'completed modules' thread! Looking good this team effort on the module development
Logged
watermelon
Pending Apprentice Baker
Offline
Posts: 15
Re: Sitemap module: new modified/fixed version
«
Reply #7 on:
November 29, 2005, 04:49:02 AM »
Hello.
I must ask a silly question. I have installed this module and it shows up in my modules list in the admin drop-down, but I don't know how to use it or access the configuration settings or any of that. How may I do that?
Thanks!
«
Last Edit: November 29, 2005, 05:07:24 AM by watermelon
»
Logged
Woudloper
Guest
Re: Sitemap module: new modified/fixed version
«
Reply #8 on:
November 29, 2005, 06:25:42 AM »
Quote from: watermelon on November 29, 2005, 04:49:02 AM
I must ask a silly question. I have installed this module and it shows up in my modules list in the admin drop-down, but I don't know how to use it or access the configuration settings or any of that. How may I do that?
After installing the module you must navigate to the 'pages' section within the 'Website Baker' administration console. There you can create a new page with as type 'sitemap'.
Logged
watermelon
Pending Apprentice Baker
Offline
Posts: 15
Re: Sitemap module: new modified/fixed version
«
Reply #9 on:
November 29, 2005, 07:07:32 AM »
aha. this works perfectly. Thanks
Logged
Hans
Master Baker
Offline
Posts: 358
Re: Sitemap module: new modified/fixed version
«
Reply #10 on:
December 21, 2005, 12:32:48 AM »
I installed the sitemap module 262 and it works perfect in a separate page. The settings work fine (display all, children, peers).
But I wanted to use the sitemap for a link to the children of a page:
Menu:
Camera
-----------Analogue
-----------Digital
On page Camera I made a new section: sitemap and in settings I choosed Children of this page. That way I could make a "see more on camera's" list.
But this doesn't work: all pages are displayed. (
see [edit]
)
I thought this was a perfect way to make navigation easier.
Is this a bug or did I something wrong here?
Sections are enabled in settings.
Hans
[EDIT]
Looked into this further.
All works fine now
. It only seems to be a problem on the first page ("Welcome" or so, the first page I made). When I make a section with sitemap-module and this page has children
all
level 1-pages are shown with the sitemap module, not the children). When I make such a section on one of the other pages it works fine.
«
Last Edit: December 21, 2005, 11:11:54 PM by Hans
»
Logged
Hans - Nijmegen - The Netherlands
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Sitemap module new version released
«
Reply #11 on:
January 03, 2006, 11:05:12 PM »
Version 2.7 of Image sitemap modul released
you can download it at
completed modules.
Quote
v2.7 December 28, 2005
- Added new multilanguage support
- Layout changes in admin interface
Attention:
This modul is designed for WB 2.6.1. It is not recommanded to use this for WB 2.5.x or less.
This modul includes the languages EN and DE. You can add your own language in the languages dir of the modul.
How to update:
Copy all files to modules/sitemap, overwrite the existing ones.
Have fun
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
Woudloper
Guest
Re: Sitemap module: new modified/fixed version
«
Reply #12 on:
January 03, 2006, 11:26:46 PM »
Thanks for this update. You really done a great job updating all those different modules!!
I thought of an extra idea for a possible future release of the sitemap module. Currently only the pages are listed, but couldn't it be possible when you have e.g. a news page that you also show the 5 latest news posts? Or will this be to much work since this is set within the sections of a page?
Logged
zaggi
Apprentice Baker
Offline
Posts: 56
Re: Sitemap module: new modified/fixed version
«
Reply #13 on:
January 03, 2006, 11:43:51 PM »
Woudloper ; Wont a 5 last news post make it more than a sitemap ?
I was wondering, is it possible to get "hidden" pages showed in the Sitemap? .. im using hidden pages to child pages - but I don't want them in the menu. (I Link to them on the showed pages)
So. Just wondering. Any way to get "hidden" pages in the sitemap ?
And still hold the:
Link1
|--Link1-1
|--Link1-2
|--Link1-3
Link2
--------------
Thise Pages:
|--Link1-1
|--Link1-2
|--Link1-3
Are the hidden onec..
Thx
Logged
N1l3Z
Pending Apprentice Baker
Offline
Posts: 20
Gotta keep on bakin'
Re: Sitemap module: new modified/fixed version
«
Reply #14 on:
February 28, 2006, 10:45:15 AM »
Just one little thing now..
How do I get it to put out valid xhtml? U know where
Code:
<li></li><li><ul></ul></li>
and not
Code:
<li></li><li><ul></li></ul>
cheers!
N1L3Z
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Sitemap module: new modified/fixed version
«
Reply #15 on:
March 04, 2006, 12:22:58 PM »
Version 2.8 of Image sitemap modul released
based on this
thread
i created a new version wich fixes this issues.
Changelog:
Renamed databasefield 'loop' to 'sitemaploop' to be compatible to MySQL 5.x
Added update_sitemap script to update from previous versions
Updated all copyright notices includes now 2006
Added default value to all varchar and text fields
How to Update:
Overwrite all files with the new ones and run once the update script. (
http://your.domain.com/modules/sitemap/update_sitemap.php
)
Have fun
Matthias
Edit:
Newer version some posts below
«
Last Edit: May 08, 2006, 08:11:46 PM by ruebenwurzel
»
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
N1l3Z
Pending Apprentice Baker
Offline
Posts: 20
Gotta keep on bakin'
Re: Sitemap module: new modified/fixed version
«
Reply #16 on:
March 09, 2006, 04:13:17 PM »
Hey..
I'm sorry to say, there is still some bugs left..
1) It still doesn't format the sitemap according to standard xhtml (see my last post here).
2) the field loop doesn't get saved.. To fix this edit line 98 in modules/sitemap/modify.php from:
Code:
<textarea name="loop" style="width: 98%; height: 80px;">
to
Code:
<textarea name="sitemaploop" style="width: 98%; height: 80px;">
(since save.php relies on this fieldname to be "sitemaploop")
cheers.
NileZ
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Sitemap module: new modified/fixed version
«
Reply #17 on:
March 09, 2006, 05:08:36 PM »
Hello N1|3Z
Thanks for the fix in modify.php. Added it to the modul and updated the version in the thread above. Seems i have it overseen as there where to many places where "loop" has to be changed to "sitemaploop".
I'm according to you, that next point should be to get the output xhtml compatible.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
N1l3Z
Pending Apprentice Baker
Offline
Posts: 20
Gotta keep on bakin'
Re: Sitemap module: new modified/fixed version
«
Reply #18 on:
March 10, 2006, 12:34:19 PM »
Cool m8!
I will look into it and see if I can manage to figure out what to do about it..
I am fairly new to wb but not to php and I find the structure of WB so simple that it is really easy to mod the modules to do what you want..
Do you have any ideas? As far as I can see, the problem is with the way the loop is made, but I'm not really sure...
I am currently looking into the way the menu is made from framework/class.frontend.php in the function show_menu(), because that one produces the list according to standards... .. But thats a bit complicated.. Or My skills arent yet sufficient..
If you have suggestions, you can let me know. If I come up with a solution, I will let you know...
/N1|3Z
Logged
ruebenwurzel
Leaders Team
A Baker's Baker
Offline
Posts: 6255
Keep on Rockin
Re: Sitemap module: new modified/fixed version
«
Reply #19 on:
March 10, 2006, 01:32:56 PM »
Hello,
Thanks for helping WB getting better and better. The only thing what need to be changed is the view.php from the sitemapmodul.
Sitemap is build there from level_header (<ul>) sitemaploop (<li> sites </li>) and level_footer (/ul>). To get the output you want this should be reorganized in view.php to show on every level depth the right syntax. Shouldn't be not too difficult.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
Pages:
[
1
]
2
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
===> Security Announcements
=> Guest Area and Off-Topic
=> Website Showcase
-----------------------------
English
-----------------------------
=> Help/Support
===> Help/Support of WB2.7.x core
=> Website Baker Development
===> Website Baker 3
=> Documentation
=> Templates
=> Modules
===> Code Snippets
=> Languages
=> Archive
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
===> Templates, Module & Co.
===> Hilfe/Support von WB2.7.x core
=> Diskussion über WB
=> Off-Topic
=> Archiv
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Help / Support
===> WB Core
===> Templates, Modules & Languages
=> WB Discussie
=> Niet-Terzake (Off Topic)
-----------------------------
French
-----------------------------
=> Help/Support
-----------------------------
Italian
-----------------------------
=> Help/Support
Loading...