Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 03:48:19 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
.
149621
Posts in
21098
Topics by
7537
Members
Latest Member:
lotte2
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Manual Module
Pages:
1
...
4
5
[
6
]
7
Go Down
Author
Topic: Manual Module (Read 36399 times)
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #125 on:
November 12, 2008, 11:13:58 PM »
Hi John
2 little things:
1.Backend/Options following message:
Notice: Undefined index: SETTINGS in /users/rvb/www/modules/manual/modify_settings.php on line 67
2. CSS frontend: class has to be .MLsub2chapt instead of yours .MLsubchapt2
Best wishes
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #126 on:
November 13, 2008, 08:29:25 AM »
Check your languag file for missing entry
Code:
$MLTEXT['SETTINGS'] = 'Manual Settings';
I updated only EN language
Attached new zip with corrected css.
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #127 on:
November 13, 2008, 09:32:56 AM »
Hi John,
thanks for information, everything works.
I added the mssing text to the DE-file.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
vyni
Offline
Posts: 566
Re: Manual Module
«
Reply #128 on:
November 13, 2008, 12:08:34 PM »
Hi John,
I tested this version of Your manual with very poor success.
First I created several entries - 3 chapters, 1 sub-chapter, 1 sub-sub-chapter.
Than I wanted to show it. The main-index displayed correct, but even the 1. chapter was "file not found"
So to all other pages.
Than I deleted all chapters and sub-chapters and started over. Created 1 chapter only. But this doesn´t show up at all.
I could change and modify in the backend, but it´s not displayed at all.
Of course I tried several different templates - same.
Than I tried to uninstall - I wanted to delete the page with the section manual - impossible! When I click on the trash the screen refreshes and stick withe. After a new refresh the page is still there.
So I deleted the chapter first - to have an empty manual - and tried to delete the page - no success.
Does this manual need php5 or MySQL5 ? I run it on Linux, php4 and MySQL4.
glueless regards from Himberg
Edit:
After removing the section I could delete the page. Than I deinstalled this version and reinstalled v2.7 - this works as expected. To create a chapter, a sub-chapter a second chapter - all ok, also displaying it is no problem.
«
Last Edit: November 13, 2008, 12:18:35 PM by vyni
»
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #129 on:
November 13, 2008, 01:50:02 PM »
Looks like the access files are not made. (hence file not found error)
Might have to do with creating the manual module in a subpage?
Do you have the default pages directory?
You could help me with looking at your pages directory to see if th files are made as expected in a submenu with the name of the page
You could allso check the mysql table - mod_manual_chaprter
s and look at the link
Uninstall issues, is known, was in previous manual mod as well, will look into those as well.
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
vyni
Offline
Posts: 566
Re: Manual Module
«
Reply #130 on:
November 13, 2008, 02:00:19 PM »
I´ll try it on my xampp for now - there I have phpmyadmin and everything easy.
Than I´ll post You url and user/pw so could have a look to the installation in the web.
OK?
regards Vyni
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #131 on:
November 13, 2008, 02:24:13 PM »
Will retry again tonight at home,
the changes I made creating the accessfiles and removing them was made on an install wich had the pages in place.
Will fire up a new wb install and retry the same.
I will corrct this.
Then the uninstall, I have to dig into that as well,
Problem lies in created accespages in the subdir with the name of the page, will find a way to resolve it.
Thanks,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #132 on:
November 15, 2008, 03:54:36 PM »
Think I have solved it
Solved the links and accessfile creation/renaming
Solved the pagedeleting / section deleting
For your testing pleasures....
One known bug or feature still exists
If you make a chapter with subchapters with subsubchapters
when you place that chapter into another subchapter you will exceed the levels so beyond third level the chapters seems to be vansihed
When you move the chapter back to root they are back
example
1
- 2
- - 3
4
- 5
- - 6
move 4 to 2
1
-2
- - 3
- - 4
chapter 5 and 6 are invisile until you move 4 back to root
Think of it as a feature...
Have fun,
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #133 on:
November 15, 2008, 07:03:14 PM »
Hi John,
thanks for modifications.
I will have a look at it this weekend.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #134 on:
November 17, 2008, 10:15:15 PM »
OK, seem to have solved the last known bug(feature) moving chapters with subchapters
All seems to be working in good order
Now I really need testers.
Have fun!
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #135 on:
November 17, 2008, 10:26:15 PM »
Hi John
I will test it the next days.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #136 on:
November 17, 2008, 10:48:12 PM »
Hi John
seems to be an older version because I thought we had some similar errors:
1. frontend-css: wrong class, should be .MLsub2chapt instead of .MLsubchapt2
2. error message at description link: please see:http://www.rvb.bplaced.net/pages/man-test.php
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #137 on:
November 17, 2008, 11:07:57 PM »
Did you uninstall the old one?
Please make sure of that, there are NO updateroutines etc in place.
If you don't make sure the save_chapter.php and modify_chapter.php are overwritten with the new ones.
The css file, that is correct, didn't adjusted it.
Will do right now
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #138 on:
November 17, 2008, 11:13:55 PM »
Yes I uninstalled the old one.
But I will try once more.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #139 on:
November 17, 2008, 11:23:31 PM »
Hi John,
de-installed the module and installed it again.
The same errors again.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #140 on:
November 17, 2008, 11:25:58 PM »
could you check dates on save_chapter.php and modify_chapter.php?
Am seeing filenames on your site wich shouldn't be there
1.-kapitel.php
It is working here and allso no 1.- before the title.
Just to make sure I added a new zip here
Allso set in info.php version to 2.7.41
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #141 on:
November 17, 2008, 11:48:22 PM »
Ok, I will check the files
The number (1) was added by mysellf.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #142 on:
November 17, 2008, 11:54:39 PM »
Deinstalled the old one and installed 2.7.41.
All the same.
Checked the files: 17.11.2008 23:23
see:
http://www.rvb.bplaced.net/pages/man-test.php
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
vyni
Offline
Posts: 566
Re: Manual Module
«
Reply #143 on:
November 18, 2008, 12:09:52 AM »
Hi John,
I also installed and tested this version right now.
First impression:
deleting page with section now works
the output
<tr>
<td class="MLtitle"></td>
<td class="MLdescription" align="right"></td>
</tr>
is not handy - this should be in rows, eventually in <div> for free-formatting purpose.
there are no numbers in the chapter-list, something wrong with erpes installation
but class MLsub2chapt is not defined in css
But most confusing is: in option the header and footer is now with wysiwyg-editor, but if You use red text for example, in frontend it is ignored.
And if You insert html for font-color - it is ignored too (by FCK I guess)
So for what the FCK in Options?
Chapter - subchapter - subsubchapter withou any problems until now.
I will continue....
Everything works fine so far. 3 Levels is quite enough, I think.
But for the navigation through the chapters I miss something in 3rd level.
On Level 0 You have all chapters listed - great.
On Level 1 You have the MLIndex and MLnext_link_top leads to the first subchapter - great
On Level 2 You have MLprev_link_top leading to chater 1, than MLIndex and MLnext_link_top leads to chapter2 furthe a link list to all available subchapters on bottom of the text - perfect.
But on Level 3 there is no MLnext_link_top - if You have more than 1 subsubchapter, You get the MLprev_link_top leading to the subchapter (but no next chapter) and if You are on the last subsubchapter You only get the MLIndex - Link. Could You add the next-chapter link?
regards from Himberg
«
Last Edit: November 18, 2008, 12:42:15 AM by vyni
»
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
pcwacht
AddOn Development
Offline
Posts: 2814
Re: Manual Module
«
Reply #144 on:
November 18, 2008, 08:24:37 AM »
@Erpe, I am truely puzzled why it isn't working at your system
@vyni
Just downed the zip (2.7.41) from my last post, the css MLsub2chapt is in frontend.css
I will have a look at the wysiwyg header / footer
Allso I will a look at templating the layout (still on my list of stuff to do)
And the navigational stuff - will need to dig deep in the view.php since all is hardcoded.
John
Logged
http://www.ictwacht.nl
= Dutch ICT info
http://www.pcwacht.nl
= My first
both still work in progress, since years.....
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #145 on:
November 18, 2008, 08:34:33 AM »
Hi John
I will install this module on another test-server.
Maybe it has to do with the server-configuration?
rgds
erpe
«
Last Edit: November 18, 2008, 12:47:38 PM by erpe
»
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
erpe
Offline
Posts: 2077
Re: Manual Module
«
Reply #146 on:
November 18, 2008, 12:53:05 PM »
Hi John
installed again on a fresh wb 2.7 installation (different server), but the same result.
I am a little bit confused for the version 2.7.3 worked on both webspaces.
Hope you can help.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
vyni
Offline
Posts: 566
Re: Manual Module
«
Reply #147 on:
November 18, 2008, 01:16:19 PM »
Hi John,
now the bad news.
I was successfull testing on XAMPP - but now on Linux (website) it just display´s the manual-index-page. Any futher link results in a blank white page - no error given, no warning - no content. Sorry.
I found the error:
In the created php is a line like this:
require("../../../../../../../../config.php");
but this must be: require("../../config.php");
but couldn´t You use
require(WB_PATH."/index.php");
?
«
Last Edit: November 18, 2008, 01:39:18 PM by vyni
»
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
aldus
Offline
Posts: 1238
Re: Manual Module
«
Reply #148 on:
November 18, 2008, 03:16:42 PM »
The problem is that you will have to strip of the "WB_PATH" from the $filename
before calculating the "depth" ...
File "save_chapter.php" - line 180 ff.
Code:
<?php
// The depth of the page directory in the directory hierarchy
// '/pages' is at depth 1
$pages_dir_depth
=
count
(
explode
(
'/'
,
str_replace
(
WB_PATH
,
""
,
$filename
) ))-
3
;
?>
Works fine here local ...
Regards
Aldus
Logged
vyni
Offline
Posts: 566
Re: Manual Module
«
Reply #149 on:
November 18, 2008, 03:47:54 PM »
The problem isn´t to count or not.
Just same than the index-call - this one is fixed with
line 195 - require(WB_PATH."/index.php");
and for my understanding - config.php AND WB_PATH/index.php are always in the same level.
So why calculate one and fix the other? - This confuses me.
Why not fix both?
regards from Himberg
@Aldus
local on XAMPP I don´t have problems, but in the webspace - there is something else, as descripted.
And YES - Your modification works in the web too.
«
Last Edit: November 18, 2008, 04:05:00 PM by vyni
»
Logged
PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen, ungefähr verfolgen und glauben.
Pages:
1
...
4
5
[
6
]
7
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...