Welcome, Guest. Please login or register.
March 21, 2010, 05:11:10 AM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 veröffentlicht!
Download und weitere Informationen gibt es hier .
110567 Posts in 15967 Topics by 9310 Members
Latest Member: stevenris10
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Manual Module
Pages: [1] 2 3 ... 7 Go Down Print
Author Topic: Manual Module  (Read 28529 times)
Ranie
Guest
« on: January 26, 2005, 09:53:56 PM »

Just noticed that when you create a page with the manual module and name It FAQ's (or what ever) and start adding chapters... ok... it works... but If you change the name of the "FAQ's" to something else (menu link) the manual module still links to the old menu link (FAQ's) and of course nothing works...
Logged
Ryan
WebsiteBaker Founder
*******
Offline Offline

Posts: 2046


Jabber: rdjurovich@jabber.org.au


WWW
« Reply #1 on: January 26, 2005, 11:05:51 PM »

Are you sure you are not getting a bug that has already been addressed? I know I have fixed about 2 bugs so far (to be included in 2.2.5) that have addressed problems renaming the menu title of a page. Cool
Logged

Website Baker Project Admin
www.websitebaker.or g

To contact me via email, visit:
www.ryandjurovich.c om/contact
Steven Holder
The Template Master

Offline Offline

Posts: 493



WWW
« Reply #2 on: January 27, 2005, 01:43:02 AM »

the olny thing im waiting for in WB is a forum system, we should just port a copy of phpbb since everyone likes that...
Logged
Ryan
WebsiteBaker Founder
*******
Offline Offline

Posts: 2046


Jabber: rdjurovich@jabber.org.au


WWW
« Reply #3 on: January 27, 2005, 03:18:13 AM »

Quote from: SilverFeces
the olny thing im waiting for in WB is a forum system, we should just port a copy of phpbb since everyone likes that...
- Please keep your ideas to the post that talks about that subject - just to save confusion. Cool
Logged

Website Baker Project Admin
www.websitebaker.or g

To contact me via email, visit:
www.ryandjurovich.c om/contact
Ranie
Guest
« Reply #4 on: January 27, 2005, 03:54:56 AM »

I really don't know.. I didn't have the time to check that.. and still don't I'm really sorry If this is a known bug already...
Just whanted to let you know before i would forget it...
Logged
Steven Holder
The Template Master

Offline Offline

Posts: 493



WWW
« Reply #5 on: January 28, 2005, 12:22:46 AM »

Quote from: Ranie
I really don't know.. I didn't have the time to check that.. and still don't I'm really sorry If this is a known bug already...
Just whanted to let you know before i would forget it...


he quoted me, he was talking to me.
Logged
Ditto

Offline Offline

Posts: 19


« Reply #6 on: February 09, 2006, 06:10:40 PM »

Could somebody please let me know if and from where the Manual Module can be downloaded?  I would so love to try it out.

Thanks all!

 
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #7 on: February 09, 2006, 07:27:45 PM »

Hello,

I'm shure that this modul don't works with 2.5.x and 2.6.x. Found a version in the net, you can try it, but at your own risk and with no support.

Matthias

UPDATE
New Version see some posts down!
« Last Edit: February 10, 2006, 02:53:54 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
bupaje

Offline Offline

Posts: 473


WWW
« Reply #8 on: February 09, 2006, 10:35:14 PM »

If it doesn't work for you then you can probably set up the same thing with a standard page, + breadcrumbs and the sitemap mods then when you have it like you like it use this as a template and pagecloner mod to just make copies.
Logged

Ditto

Offline Offline

Posts: 19


« Reply #9 on: February 09, 2006, 11:19:42 PM »

Thanks so much for finding it and making it available.  It didn't work "out of the box", but I didn't think it would.  Besides, I'm a stubborn ol' bird.  I don't give in very easily.  Here's what I ended up doing to get it to work.

I tried first to install it as usual, but of course there were errors.  Went into the temp/unzip/modules dir and moved the install.php and info.php files to temp/unzip and went back into administration and asked it to install it again.  Got no errors and it said successful.  So far so good.

But of course, nothing is ever that easy.  The module installed into a double directory under the module directory, so it was modules/manual/manual.  I moved the contents of the second manual directory into the first one and tried creating a page again.  No joy.  But this time I could reload the modules in the settings page and, when trying to create a new page, I could select a page type of "Manual".

Trying to do anything with that page returned an error that the db table didn't exist.  So I hacked into the install.php file and figured out that I needed to comment out lines 24, 26 and 82 and uncomment out line 25.  I then pointed my browser directly to the install file in the modules/manual directory and got no error.  I checked in phpMyAdmin and sure enough, the tables had been created.

When I went back to the page I initially had tried to create in the 2nd paragraph of this diatribe, I was able to successfully access it to edit, add, delete, etc.  It appears to be working as it should.

I think if somebody knew how to tweak the coding of this module's installation process, it would install just fine for the current version of WB.  I'm no coder, but I can hack a bunch of php up and (despite how long it takes) come up with a working work-around band-aid type solution.

 grin

 
Logged
bupaje

Offline Offline

Posts: 473


WWW
« Reply #10 on: February 09, 2006, 11:24:08 PM »

Interesting Ditto. Have you been able to add multiple pages and does the breadcrum menu work so you can go to next page and back (I had problems with this even on the older versions of WB).
Logged

Ditto

Offline Offline

Posts: 19


« Reply #11 on: February 09, 2006, 11:29:22 PM »

Still putting in a few sample chapters before I make it active.  I'll let you know in about 10 minutes.

Do I need to have a breadcrumb module installed for that part of it to work?  I've only been playing with WB for about a month, have 2 client sites using it already and am finally getting serious about learning something about it.

grin

 
Logged
Ditto

Offline Offline

Posts: 19


« Reply #12 on: February 09, 2006, 11:40:15 PM »

Okay, well -- the main page of my manual looks REALLY sharp.  It shows the chapter name, and all the subpages under it.  Very nice layout and what a powerful tool it would be -- if it would only make the directories it needs under the pages directory.

Guess it's going to need more hacking, huh...  Welp, where are my glasses...

 
Logged
Stefan
Guest
« Reply #13 on: February 10, 2006, 10:39:25 AM »

You have to look where
Code:
$page_link
is used (not when it's defined!) and replace it by
Code:
PAGES_DIRECTORY.$page_link

Unfortunately, the way page links are stored changed somewhere in between the versions...
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #14 on: February 10, 2006, 03:00:12 PM »

Here are the 100% working version of manual for WB 2.6.x

Changelog
  • Install works now
  • added new way of page link storing (thanks stefan)
  • fixed wrong search table entries
  • added uninstall.php for deleting search table entries and database fields

Please test it and if it's ok we post it at completed modules.

Have fun

Matthias

UPDATE
New Version see some posts down!
« Last Edit: February 10, 2006, 05:45:13 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 Offline

Posts: 5561


WWW
« Reply #15 on: February 10, 2006, 03:48:35 PM »

Hi Ruebenwurzel,

so far, so good. Installation goes fine, uninstallation as well, tested on WB 2.6.1, as far as I can see, nothing left in the DB.

I realised, that it doesn't accept formatting of text. Neither in the Header/Footer section, nor in the textsection itself. Any chance to change that? Maybe by calling the defalt WYSIWYG Editor?

cheers
Klaus
Logged

http://www.weitzel.biz
PM has been disabled
pcwacht
Guest
« Reply #16 on: February 10, 2006, 04:45:40 PM »

Have some wysiwyg probs as well

It doesn't show
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #17 on: February 10, 2006, 04:50:45 PM »

@kweitzel

i realised this too, but at the moment i work on the calendar modul and i have not the time to work on this modul too. This modul wasn't continued and as i spend the download link here i don't planned to rewrite something at this modul. To make it work for WB is one thing, to add extra functions another. So as i say at the moment no time, maybe next week.

@pcwacht
I'm not shure that WYSIWYG was implemented.

Matthias
« Last Edit: February 10, 2006, 04:52:25 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 Offline

Posts: 5561


WWW
« Reply #18 on: February 10, 2006, 05:06:16 PM »

of cause, understandable ... I just wanted to say ... btw, always good work you do!

cheers

Klaus

PS: maybe in the future or somebody else  grin
[edit] sh** ... german keyboard layout and UK keyboard ... bound to bring in typos ... [/edit]
« Last Edit: February 10, 2006, 05:07:52 PM by kweitzel » Logged

http://www.weitzel.biz
PM has been disabled
pcwacht
Guest
« Reply #19 on: February 10, 2006, 05:42:49 PM »

Wysiwyg was implemented (the old way)

I will have a look at this sometime....
Could use this module (I think)


John
Logged
ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #20 on: February 10, 2006, 05:47:05 PM »

OK, here is the next release

Changelog
  • WYSIWYG Editor now works.

@pcwacht
You're right, was the old way of implementation. Changed modify_chapter.php. Have a look at it if this is ok.

Please test it and post possible errors.

Have fun

Matthias

UPDATE
New Version see some posts down!
« Last Edit: February 11, 2006, 09:26: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
pcwacht
Guest
« Reply #21 on: February 10, 2006, 07:26:18 PM »

All seems to work like it should except:

adding a chapter with an exisiting chapter as its parent
the new file -> pages/chapters/name1/name2.php has a wrong require:
require("../../config(dot)php");
should be:
require("../../../config(dot)php");

took a look

Open save_chapter.php, line 110
change
Code:
// '/pages' is at depth 1
$pages_dir_depth=count(explode('/',PAGES_DIRECTORY))-1;
to
Code:
// '/pages/chapters' is at depth 2
$pages_dir_depth=count(explode('/',PAGES_DIRECTORY));

This fixed it for me.

Next (not a bug, just a pain in the *ss)
change default for setting page active Wink
open add_chapter.php, line 35
change
Code:
// Insert new row into database
$database->query("INSERT INTO ".TABLE_PREFIX."mod_manual_chapters (section_id,page_id,position,parent,active) VALUES ('$section_id','$page_id','$position','0','0')");

to
Code:
// Insert new row into database
$database->query("INSERT INTO ".TABLE_PREFIX."mod_manual_chapters (section_id,page_id,position,parent,active) VALUES ('$section_id','$page_id','$position','0','1')");




John
« Last Edit: February 11, 2006, 12:44:16 PM by pcwacht » Logged
bupaje

Offline Offline

Posts: 473


WWW
« Reply #22 on: February 10, 2006, 07:58:25 PM »

Thanks to those who asked the questions and updated this. Just tested and works fine. I had actually started to use pdf files and the downloads mod to handle tutorials but with this working may go back that route. Smiley
Logged

ruebenwurzel
Leaders Team
*****
Offline Offline

Posts: 7211


Keep on Rockin


WWW
« Reply #23 on: February 10, 2006, 08:56:03 PM »

@pcwacht

Hmmmm, now i got the error with wrong path to ../config(dot)php at the root chapters. First level is ok. Think this part should be rewritten.

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 Offline

Posts: 5561


WWW
« Reply #24 on: February 10, 2006, 09:51:03 PM »

Wow ... I start liking this module ... One thing though:

@pcwacht
I used your last Version and played around with it. I have now following structure:

Chapter 1
-Subchapter1
-Subchapter2

I juggeled the subchapters for- and backward and now, the 1st subchapter doesnät display the "forward to next" link ... any Idea?

Like usually, this can be seen on my Site www.weitzel.info-nethome. Please use the german flag to get into the german section and then select the "Dokumentation" Link to get there ...

thanks for assistance (and this is a nice Module to test  smiley)

cheers

Klaus
Logged

http://www.weitzel.biz
PM has been disabled
Pages: [1] 2 3 ... 7 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!