Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 04:30:37 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149665 Posts in 21100 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 2 [3] 4   Go Down
Print
Author Topic: Bookmark Module: Modified version released (incl. adjusting layout)  (Read 28741 times)
pcwacht
Guest
« Reply #50 on: January 24, 2006, 11:06:07 AM »

in wbadmin->
remove the page with bookmarks

in database->
remove the entries with bookmarks in :
- addons
- search

- remove the bookmark tables (mod_bookmarks....)

filesystem:
remove the folder bookmarks in /modules

in wbadmin
reïnstall bookmarks

Good luck,
John



Logged
bernie_rubber

Offline Offline

Posts: 26



« Reply #51 on: January 31, 2006, 04:38:00 PM »

I've been working with this module all afternoon, and I am very impressed! I'm using it as a links manager for a website - it is doing what I need for the most part; however, I do have a suggestion for a future version.

The list of text-only links that I've set up has about 14 different groups. Each group has several links in it, so the page is very long. That makes it difficult for someone to scroll down through the whole page, looking for the group/link they want. I would like to propose the following: there should be a list of anchor links that is auto-generated from the group titles at the top of the page. Example:

Code:
<div><a name="top"></a></div>
<p>Categories:</p>
<ul>
<li><a title="group title1" href="#group title1">group title 1</a></li>
<li><a title="group title2" href="#group title2">group title 2</a></li>
<li><a title="group title3" href="#group title3">group title 3</a></li>
<li><a title="group title4" href="#group title4">group title 4</a></li>
</ul>

When one of those links is clicked, it will cause the page to scroll down to the appropriate category. The corresponding anchor link can be included in the Group Loop code. I've already been able to set that part of it up, using the following:

Code:
<tr>
<td class="BMheader" colspan="[NROFCOLUMNS]">
<a name="[GROUPTITLE]"></a>[GROUPTITLE]
</td>
</tr>

There also needs to be a "Back to top" link included after the last link in each group. I tried putting the following in different places, but haven't been able to come up with the right combination yet.
Code:
<p><a href="#top">[ Back to top of page]</a></p>

Probably would need to include some php code to do a check for the last link in the category, then insert the "Back to top" link right afterwards.

Another nice feature for inclusion in a future version would be sub-groups, i.e.:

Group 1
-- Subgroup 1
-- Subgroup 2
Group 2
-- Subgroup 1
-- Subgroup 2

Thank you to all those who've worked on this module - keep up the good work!! grin



Anyone doing anything with this suggestion...I sure would find it useful - my links page is already getting long and being able to jump to the appropriate category would be great!
Logged
dhdesign

Offline Offline

Posts: 35


« Reply #52 on: January 31, 2006, 06:33:38 PM »

Anyone doing anything with this suggestion...I sure would find it useful - my links page is already getting long and being able to jump to the appropriate category would be great!

I don't think anything has been done, but you can set up the categories list manually for now.

Add a WYSIWYG section and move it to the top of your links page.  Click "Source" on the upper left of the editor, then enter the following code in it, replacing "group title 1" with the name of your first category, and repeat for each category you have.  If you add a new category, you will need to edit this and add the new link to the list.

Code:
<div><a name="top"></a></div>
<p>Categories:</p>
<ul>
<li><a title="group title1" href="#group title1">group title 1</a></li>
<li><a title="group title2" href="#group title2">group title 2</a></li>
<li><a title="group title3" href="#group title3">group title 3</a></li>
<li><a title="group title4" href="#group title4">group title 4</a></li>
</ul>

When one of those links is clicked, it will cause the page to scroll down to the appropriate category.

Then you need to click "Settings" and place the following in the Group Loop code box:

Code:
<tr>
<td class="BMheader" colspan="[NROFCOLUMNS]">
<a name="[GROUPTITLE]"></a>[GROUPTITLE]
</td>
</tr>

That adds the corresponding anchor link at the top of each category on the page automatically.

I still have not been able to work out the "Back to top" link issue.  Would love to have that included after the last link in each group. I tried entering the following code in different places, but wasn't able to find the right place to include it in the loop.
Code:
<p><a href="#top">[ Back to top of page]</a></p>

Hope this helps you! Smiley
Logged
bernie_rubber

Offline Offline

Posts: 26



« Reply #53 on: January 31, 2006, 10:00:25 PM »

@dhdesign - yes that does help...thanks!

But playing around with your code to get a "back to top" link just isn't working for me either.

I can get it at the bottom of the whole page or in the title of the group heading, or after every link...but not at the end of each group.
Logged
bupaje

Offline Offline

Posts: 519


WWW
« Reply #54 on: January 31, 2006, 10:59:18 PM »

Can that new code snippet feature be used to insert the category names?

Also on the 'back to top' link can you add it as the last link in each category -just enter it as an url in bookmarks.
Logged

My Blog, My Site
bernie_rubber

Offline Offline

Posts: 26



« Reply #55 on: January 31, 2006, 11:08:20 PM »

Also on the 'back to top' link can you add it as the last link in each category -just enter it as an url in bookmarks.
Yeah - I had thought of that....but be better if there weren't too much manual additions required
Logged
DGEC

Offline Offline

Posts: 386


WWW
« Reply #56 on: August 14, 2006, 09:00:58 PM »

1. The back to top function
Try to add the code when a new group is displayed - BEFORE the group title is printed. It probably isn't printing because of a loop issue, ie, since it doesn't find any more to print, it bounces out of the loop and doesn't get to your Back To Top link.

2. Suggestion
The module automatically centers the entries in a table.  I'd like to have them left rather. I think I'd probably prefer an unordered or ordered list to be an option instead of a table.  Looking at the Settings, I see you can change that if you mess with the HTML there. Hopefully people can figure that out.  A "RESTORE DEFAULTS" option might be a good idea here though, for those with lots of links who mess up beyond recovery without reinstall. Or even ability to store different configurations?

3. Errata.
a) The media directory "bookmarks" is not created by the install, so click on add a link gives the error part way down the page:
Code:
Image: Directory: does not exist, or not set is settings 

(Although it doesn't break actually anything)  ** could we add a link to popup the media page here?

b) there is a typo in the error message[/i][/b] - "or not set is settings" should read "is not set in settings", I believe.

c) This is no spacing before the "About bookmark" text on the generated page.  Probably just some TABLE padding required in the Settings.
« Last Edit: August 14, 2006, 09:04:56 PM by DGEC » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7663



WWW
« Reply #57 on: December 02, 2006, 04:44:57 PM »

Hello,

because of this thread: http://forum.websitebaker.org/index.php/topic,4758.0.html and a issue in the uninstall script i decided to release version 2.7 of this modul, wich fixes this.

How to update?
Only install this version over your previous version. There are no database changes so after installation all should work.

Where to get?
Download it at the Add-ons Repository.

Have fun

Matthias
« Last Edit: December 02, 2006, 04:47:43 PM by ruebenwurzel » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7663



WWW
« Reply #58 on: December 04, 2006, 06:40:16 PM »

Hello,

Update:
Stripslashes issue in group title wasn't fixed in all Files from Version 2.7. Sorry for this. Hope i got it now everywhere. The fixed version 2.71 is available at the Addons Repository

To update only install the newone over the existing one.

Matthias
« Last Edit: December 04, 2006, 06:43:40 PM by ruebenwurzel » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7663



WWW
« Reply #59 on: January 02, 2007, 11:27:56 PM »

Hello,

Version 2.8 of bookmarks module released.

Changelog:
- Fixed the problem with empty group and link rows
- Changed all copiryght notices now includes 2007
- Added the changelog to the help file

How to Update:
Only install the new version over the old one.

Where to download:
At the Addons Repository

Have fun

Matthias
Logged
jollyholly.dk

Offline Offline

Posts: 21


« Reply #60 on: January 05, 2007, 11:54:39 PM »

Nice Smiley

What about a fix/update to the sorting of categories ?!..
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7663



WWW
« Reply #61 on: January 06, 2007, 07:19:37 AM »

Hello,

this is not done with a small fix, this needs a rewriting of the whole modul. So maybe in one of the next releases.

Matthias
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7663



WWW
« Reply #62 on: January 15, 2007, 07:11:09 PM »

Hello,

Version 2.9 of bookmarks module released.

Changelog:
Changed: Code for multilanguage support
Fixed: Deleting a section now also deletes the links and groups of this section
Fixed: some issues with the media/bookmarks dir
Fixed: soem issues in the language files

How to Update:
Only install the new version over the old one.

Where to download:
At the Addons Repository

Have fun

Matthias
« Last Edit: January 15, 2007, 07:19:17 PM by ruebenwurzel » Logged
jollyholly.dk

Offline Offline

Posts: 21


« Reply #63 on: January 26, 2007, 08:43:15 PM »

cool to see activity.. Now I just wait for the next big release of the bookmark module.. with the cat-sort fixed  afro

And what about a feature for many links ?!  huh

Try to look at my site www.rasmusbadstue.i nfo
Logged
bhhenry

Offline Offline

Posts: 51



WWW
« Reply #64 on: April 22, 2007, 01:27:43 AM »

Just a suggestion to improve the Bookmark module: Add settings to sort order (descending, ascending) and order by (manual, by title) for bookmarks within groups like the download gallery module features.

I'm sure someone has thought of this already. My bookmark list on one site has become quite long, and it's a tedius process to re-arrange everything when I add a new bookmark.

All the best!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7663



WWW
« Reply #65 on: May 24, 2007, 05:56:03 PM »

Hello,

Niclas (NBonline) did a few modifications to the bookmark modul. He added the sorting possibility and the swedish language and help file.

I tried the modul, but i don't get the sorting working. Neither on a clean install nor on an updated version. I don't know where the issue is.

Attached you find this version (2.9.1) wich is also on the addons page. Please test it and if you also can reproduce that the sorting of groups and links doesn't work, please fix it, as this feature is wished here a few times and should be integrated as soon as possible.

By the way the new including of helpfiles in different languages is also a great feature wich i hope will be used in other modules too.

Thanks for your great work Niclas.

Matthias

P.S.
If you use 2.6.5 and Bookmarks version 2.9 simply install the new version over the old one. Nothing else is needed.

If you use 2.6.4 and Bookmarks version 2.9 you have call the upgrade.php; wich comes within this modul, in your browser.
Logged
Ploc

Offline Offline

Posts: 52


« Reply #66 on: May 28, 2007, 01:10:38 PM »

By the way, the bookmarks module seems to have disappeared from the addon module pages...
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6820


WWW
« Reply #67 on: May 30, 2007, 09:10:29 AM »

it seems to accidently have been set to inactive, or maybe because f the not 100% working status. For now I have activated it.

cheers

klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

bueno

Offline Offline

Posts: 12


« Reply #68 on: November 25, 2007, 04:03:38 PM »

Hi there,

I just installed this module, and had some problems with sorting the links (ungrouped).
Searching the forums i ran into this topic, and as i understand it, there is no solution yet.
 (see

I tried the modul, but i don't get the sorting working. Neither on a clean install nor on an updated version. I don't know where the issue is.
....
Please test it and if you also can reproduce that the sorting of groups and links doesn't work, please fix it, as this feature is wished here a few times and should be integrated as soon as possible.

I played around with the code a bit, and came up with a solution for ungrouped links that works for me.
The solution is on line 145:
Code:
$query_links = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_bookmarks_links WHERE section_id = '$section_id' AND group_id = '0' AND active = '1' ORDER BY '$sort_nogrp' ASC");

when I remove the quotes around the ORDER BY argument, your links are sorted:
Code:
ORDER BY $sort_nogrp ASC

As I am no php-expert, maybe the experts could tell me why this happens, and if this quote-removal  is the right solution to the sorting problem.

AFter finding this solution myself, i saw that on http://forum.websitebaker.org/index.php/topic,7165.0.html this solution is also mentioned.
Who can implement this on the version that's on the addons-page?

Greetz,
Ben

Btw: I just love the overall ease of use of this fantastic CMS!
« Last Edit: November 25, 2007, 04:11:09 PM by bueno » Logged
doc
Guest
« Reply #69 on: November 26, 2007, 10:13:45 PM »

Hello,

have added the bugfix proposed by the forum member bueno and released v2.92 of the bookmarks module on the Add-ons repository.

Regards Christian
Logged
Hofnarr

Offline Offline

Posts: 6



WWW
« Reply #70 on: November 27, 2007, 06:22:55 PM »

Hello,

first off all :
I´m not an english-native speaker, and my last school lessons in english was nearly 25 years ago.
So I´ll try my very best and I hope that everybody can understand me.

I´ve just installed the new version of the bookmark-module and it works very well - but it seems that is not possible to sort links in a group. The problem that forummember bueno talked about is really fixed by the update, but sorting ungrouped links doesn´t work. Both sort options doesn´t work : Sorting by name and sorting by database. Even the manually sort shows no effects.

Who can help ?

Thanks a lot and greetings from Duisburg, Germany
« Last Edit: November 27, 2007, 10:22:39 PM by Hofnarr » Logged

Chaos ist das Wort, das wir für eine Ordnung erschaffen haben, die wir nicht verstehen...
bueno

Offline Offline

Posts: 12


« Reply #71 on: November 27, 2007, 09:40:56 PM »

Hi Y'all

@Hofnarr: don't  worry, your english is really OK!
You mentioned that sorting ungrouped links doesn't work. Do you mean grouped links perhaps?

I checked the code of the current 2.92 version that user Doc uploaded to the addons repository.

I found that the sorting of ungrouped links is ok.
The sorting of groups and links within groups wil not work yet, because a similar quoting bug stil exists.

On lines 63 and 81 of the view,php file, the qoutes around the ORDER BY variable should be removed.

@Doc: can you make this change and upload it to the addons page?
Many thanks in advance,

Ben
« Last Edit: November 27, 2007, 09:44:24 PM by bueno » Logged
Hofnarr

Offline Offline

Posts: 6



WWW
« Reply #72 on: November 27, 2007, 10:21:05 PM »

Hello bueno,

thanks a lot for your quick answer !

Quote
@Hofnarr: don't  worry, your english is really OK!
You mentioned that sorting ungrouped links doesn't work. Do you mean grouped links perhaps?

Of course you are right. I mean grouped links ! My posting before is just corrected...

I will test your hints as soon as possible and give you an answer if it works.

Greetings and good night !

Hofnarr

Logged

Chaos ist das Wort, das wir für eine Ordnung erschaffen haben, die wir nicht verstehen...
Hofnarr

Offline Offline

Posts: 6



WWW
« Reply #73 on: November 28, 2007, 06:53:08 PM »

Hello again,

I´ve just tried buenos hints and it works !!!  grin

Now I can start to create a cool and good looking list of my bookmarks. They program that I used until now is not really good and its  so called "usability" is quite deadly...

Thanks to bueno and greetings to all websitebakers !

Logged

Chaos ist das Wort, das wir für eine Ordnung erschaffen haben, die wir nicht verstehen...
bueno

Offline Offline

Posts: 12


« Reply #74 on: November 28, 2007, 09:12:44 PM »

@doc: Can you please make the changes to the module in the addons repository?
Thanks,
Logged
Pages: 1 2 [3] 4   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!