Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
March 17, 2010, 09:41:18 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
WB 2.8.1 released!
Download and additional information are available
here
.
110308
Posts in
15930
Topics by
9286
Members
Latest Member:
lorbas
WebsiteBaker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
Manual Module
Pages:
1
[
2
]
3
4
...
7
Author
Topic: Manual Module (Read 28439 times)
pcwacht
Guest
Re: Manual Module
«
Reply #25 on:
February 11, 2006, 12:00:41 AM »
Nope doesn't have a clue
Didn't wrote this module, just debugged a bug
John
Logged
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #26 on:
February 11, 2006, 09:15:58 AM »
I am not good enough to debug them myself (but will be getting there), just good enough to post them
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #27 on:
February 11, 2006, 12:50:00 PM »
ahh ... and another thing, if somebody works on this module:
Is it possible to include more than 1 pagelevel?
Like:
1. Chapter1
1.1 Subchapter1
1.1.1 Sub-Subchapter1
1.1.2 Sub-Subchapter2
1.2 Subchapter2
1.2.1 Sub-Subchapter1
1.2.2 Sub-Subchapter2
2. Chapter2
2.1 Subchapter1
2.1.1 Sub-Subchapter1
2.1.2 Sub-Subchapter2
2.2 Subchapter2
2.2.1 Sub-Subchapter1
2.2.2 Sub-Subchapter2
3. Chapter 3
...
Would be greatly apreciated to have this feature included as well ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
pcwacht
Guest
Re: Manual Module
«
Reply #28 on:
February 11, 2006, 12:58:28 PM »
Ok,
Been playing with the code, made some changes
the paths issue to config(dot)php should be solved
changed the 'chapters' dir to menulink name so you could have several manuals on one site
the remove files and dirs is improved (when deleting a chapter the dir stayed)
Let me know how this one goes...
The extra subchapterlevel is troublesome... maybe another time
But now you can use diff manual sections in one page? Maybe that ll work??
John
UPDATE
New Version see some posts down!
«
Last Edit: February 15, 2006, 10:34:58 AM by pcwacht
»
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Manual Module
«
Reply #29 on:
February 11, 2006, 09:17:05 PM »
Thanks pcwacht for the fixes, the modul now seems to work very fine.
Added Multilanguage Support from Woudloper to the modul. At the moment only english and german are supported.
Added the modul to
completed modules.
Thanks for the great work
Matthias
«
Last Edit: February 11, 2006, 09:24:39 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
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #30 on:
February 11, 2006, 09:54:35 PM »
Hey Ruebenwurzel, don't forget yourself though ... thanks for you part in it as well as all the others who worked on this!
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #31 on:
February 12, 2006, 12:31:47 AM »
Hi again all ...
I upgraded to the last Version of the manual module, because I found another little bug in there: Rearanging the chapters is not beeing stored ...
So, when I write Chapter 2 befor chapter 1, chapter 2 will stay in position 1 although I used the rearanging feature to put it to position 2 after I created chapter 1 ...
[edit]
I just tried to manually change the field "position" in the DB with the result, that I have the same layout as before.
Chapter2 had position "31" and Chapter1 position "32". I changed them, so Chapter1 sports position "31" and Chapter2 position "32". Did a reload on the admin section and ... voila ... they showed in the right position ...
So I thought, lets edit Chapter1. I did that and was back to the old page ranking ... exept that in the field "position" Chapter1 has now the value "33" instead of "31" ... clear so far?
[/edit]
[/b]
I know, sounds silly to do these things, but that's the way I sometimes tick ... any Ideas?
cheers
Klaus
«
Last Edit: February 12, 2006, 12:47:48 AM by kweitzel
»
Logged
http://www.weitzel.biz
PM has been disabled
uchr
Offline
Posts: 74
Re: Manual Module danish language
«
Reply #32 on:
February 14, 2006, 11:29:58 AM »
Here is a danish language fil DA.php.txt, download and rename it to Da.php and insert it into the modules/manual/language directory.
Logged
pcwacht
Guest
Re: Manual Module
«
Reply #33 on:
February 14, 2006, 11:42:47 AM »
I reïnstalled the manual module, few posts up.
Tried all possible position moves, they worked like it should.
@Kweitzel, make sure you delete all the pages and manual mod and then try again?
@Others, does anyone else has simular problems?
John
Logged
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #34 on:
February 14, 2006, 01:26:53 PM »
funny ... in general the moves do work, but they seem not to be stored ... it is quite hard to explain ...
It seems, after writing a couple of more chapters, like there is an increment on the chapter ID, which increments the ID when storing while I think only creation of a new capter should do this. This is at least what I see, when I look into the db ... Haven't looked through the code yet. I am not even shure, if I would find a piece in the code which does that, since I am not profficient with PHP (let alone other languages ....)
I'll have a look, export all my data and reinstall ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
pcwacht
Guest
Re: Manual Module
«
Reply #35 on:
February 14, 2006, 02:04:17 PM »
The only strange thing I saw was with editing chapters (subchapters)
the last edited chapter comes at the bottom
But is allways movable.
Did try with only a few chapters
1
-1-1
-1-2
-1-3
2
Nothing more, so maybe that could be the issue as well, having many many chapters...
Dunnoh.
Let me know what you find and I will certainly digg into it.
I like this mod
John
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Manual Module
«
Reply #36 on:
February 14, 2006, 02:15:13 PM »
@uchr
added your language file to the modul in completed modules. Thanks for the work.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #37 on:
February 14, 2006, 02:31:37 PM »
@pcwacht
you are not alon in liking this mod ... see it in action here:
http://weitzel.hobby-site.com
under Documents ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
uchr
Offline
Posts: 74
Re: Manual Module bug in next prev links
«
Reply #38 on:
February 14, 2006, 05:00:16 PM »
I hope this is the right place to write this.
There are a bug in next prev. links, sometimes some of the next prev links don't show up.
I made a manual with this structure.
Chapter 1.
Chapter 2.
- Chapter 2-1.
- Chapter 2-2.
Chapter 3.
- Chapter 3-1.
Chapter 4.
Chapter 5.
Chapter 6.
I looked in the DB table mod_manual_chapters it looked like this.:
chapter_id = 20
section_id = 72
page_id = 59
active = 1
active = 19
position = 1 - ok
After editing and saving Chapter 3-1 the table mod_manual_chapters looked like this, the position was counted up by 1 it is not correct, it should not be updated. The next prev links was not working correct.
chapter_id = 20
section_id = 72
page_id = 59
active = 1
active = 19
position = 2 - wrong should not be updated.
After changing the position back to 1, the next prev. links worked correct again.
I hope somebody know where to find the bug, so this great manual-module will work correct in the future.
best regards
UCHR
Logged
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #39 on:
February 14, 2006, 08:08:02 PM »
Quote from: uchr on February 14, 2006, 05:00:16 PM
After editing and saving Chapter 3-1 the table mod_manual_chapters looked like this, the position was counted up by 1 it is not correct, it should not be updated. The next prev links was not working correct.
... and that is also, what I was trying to say ... except that the links didn't bother me and that I never thought, due to lack of experience, that this has got to do with it ...
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
uchr
Offline
Posts: 74
Re: Manual Module bug fix for next prev links
«
Reply #40 on:
February 15, 2006, 01:15:42 AM »
The variable $old_parent is not defined in the modify_chapter.php file. if this line
Code:
<input type="hidden" name="old_parent" value="
<?php
echo
$fetch_content
[
'parent'
];
?>
">
is inserted as line 58 in the modify_chapter.php, the next prev. links are working OK after editing.
I have enclosed the new modify_chapter.php.
txt with the bug fix.
Download and rename it to modify_chapter.php and upload it to the modules/manual/ directory.
UCHR
Logged
pcwacht
Guest
Re: Manual Module
«
Reply #41 on:
February 15, 2006, 10:33:58 AM »
And another error fixed,
Deleting a subchapter might break the ordering... the reordering 'forgot' the current parent so included it
Changed the width of the tables from 100% to 99% to fix an IE bug (content goes to bottom when table is 100%)
Attached new manual mod (included the correction of UCHR)
«
Last Edit: February 15, 2006, 10:48:55 AM by pcwacht
»
Logged
kweitzel
Forum administrator
Offline
Posts: 5555
Re: Manual Module
«
Reply #42 on:
February 15, 2006, 01:21:02 PM »
Thanks, installation:
Copy over and reload? Or uninstall and reinstall?
cheers
Klaus
Logged
http://www.weitzel.biz
PM has been disabled
pcwacht
Guest
Re: Manual Module
«
Reply #43 on:
February 15, 2006, 02:15:40 PM »
Installation: the normal way
upgrade from previous versions, just copy the files, no db changes
(Though this would break the userrights in the filesystem,
normal installed modules will be owned by the webserver user
ftp-ed files will be owned by the ftp-user )
John
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Manual Module
«
Reply #44 on:
February 15, 2006, 03:07:21 PM »
@pcwacht
added your last version to completed modules.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
bupaje
Offline
Posts: 473
Re: Manual Module
«
Reply #45 on:
February 16, 2006, 12:54:12 AM »
Thanks to all involved in restoring this useful module.
Logged
My Blog
,
My Site
uchr
Offline
Posts: 74
Re: Manual Module Bugfix
«
Reply #46 on:
February 16, 2006, 02:51:38 PM »
Bug.
When creating a new main chapter the new position number is 1(one) to big.
Fix:
line 53 in save_chapter.php changed from
Wrong:
Code:
if($old_parent != $parent) {
changed to:
Right:
Code:
if($old_parent != $parent and $parent != '') {
attached: new save_chapter.php.tx
t with fix.
cheers
uchr
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Manual Module
«
Reply #47 on:
February 16, 2006, 03:08:47 PM »
@uchr
Thanks for the fix, added it to the modul at completed moduls.
Matthias
Logged
You search for help, please look here:
Help-Page
You search for Modules, Templates or Languages, please look here:
Addons-Page
uchr
Offline
Posts: 74
Re: Manual Module bug fix
«
Reply #48 on:
February 17, 2006, 09:04:40 AM »
Bug:
When renaming a chapter (new title) the old chapterfile is not deleted in the pages directory.
line 105 and 106 in save_chapter.php
Old:
Code:
if(file_exists(WB_PATH.$old_link.'.php')) {
unlink(WB_PATH.$old_link.'.php');
New:
Code:
if(file_exists(WB_PATH.PAGES_DIRECTORY.$old_link.'.php')) {
unlink(WB_PATH.PAGES_DIRECTORY.$old_link.'.php');
attached new save_chapter.php.tx
t file with fix.
uchr
Logged
ruebenwurzel
Leaders Team
Offline
Posts: 7211
Keep on Rockin
Re: Manual Module
«
Reply #49 on:
February 17, 2006, 10:36:08 AM »
@uchr
Great to see someones working on this modul. Seems to have more bugs that i thought at the beginning of this thread.
Have updated the modul at completed modules. Did you think you found till tomorrow the next bug?
Or did you think now al bugs are fixed?
Thanks for your great work
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
]
3
4
...
7
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
Loading...