Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Web_Links Module
  • Posted: 19.09.2004, 10:11
     
    jmfpub
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    12.06.05
    Posts:
    114
    This may not be the right place to post this question, but here it goes. Is there anyone currently working on an API-compliant version of the Web_Links module? I need one for my own purposes and I'd be far happier to help out with an existing project than to start from scratch. I saw a news item from early 2003 in pnModules that discussed this, but I don't know what ever came of it.

    So, if there is an ongoing project and you'd like a little help, please let me know. If there's not an ongoing project and if anyone would like to pitch in, I'll start digging into it on my own.
  • Posted: 19.09.2004, 22:28
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    There is API compliant versions of all core modules in the CVS. Some arent finished yet, and still have features to add, template review etc, but it would provide a go0od base to work from if you cant wait for .8.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 20.09.2004, 20:11
     
    jmfpub
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    12.06.05
    Posts:
    114
    Thank you for the tip. I'm not seeing it anywhere in the CVS, but that doesn't mean anything. I'm not always good at navigating those things. I would think that it would be under core/modules, but I'm probably just looking in the wrong place.
  • Posted: 20.09.2004, 20:42
     
    jmfpub
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    12.06.05
    Posts:
    114
    Oh, never mind. I was looking in the wrong place. Thank you again!
  • Posted: 20.09.2004, 23:00
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    Yep, you want to look in the modules subdirectory of the 'PostNuke' module in CVS. Web_Links is a content module, so it is in the content subdirectory.

    Enjoy ;)

    Mark West might be interested in any changes you make...

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 20.09.2004, 23:40
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Actually it's in the resource pack....

    I would be interested in any changes. Note that the module does not (and doesn't need to) contain categories, ratings or comments since these are provided by additional modules. Additionally the hit counting is due to be taken out since there's also an additional module for this too.

    -Mark
  • Posted: 21.09.2004, 02:32
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    There I am thiknking of two things at once again..

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 24.09.2004, 09:05
     
    dusky
    rank:
    Freshman Freshman
    registered:
     January 2003
    Status:
    offline
    last visit:
    09.01.06
    Posts:
    15
    The page break in the new web links search results, (PostNuke .750) shows only the first page, no next page. I tested it with a keyword that has at least 100+ items in the database that should be found, but only the first 10, hence the first page only shows. I know the problem is somewhere in wl-search.php.

    Is this a bug?

    Any thoughts Mark before I start proper investigation!
  • Posted: 25.09.2004, 00:51
     
    Slugger
    rank:
    Professional Professional
    registered:
     March 2003
    Status:
    offline
    last visit:
    13.08.06
    Posts:
    1185
    Good eye Dusky!

    I didn't catch this but I'm showing the same.

    Slugger
  • Posted: 27.09.2004, 19:15
     
    jmfpub
    rank:
    Helper Helper
    registered:
     July 2004
    Status:
    offline
    last visit:
    12.06.05
    Posts:
    114
    Mark,

    I'll be happy to pass along any changes I make, but there probably won't be many unless I find a bug or two. The reason I needed the new Web_Links module was mostly to make sure that there weren't going to be any big changes to the database tables for the module. I'm writing a reciprocal linking block for the module (though if you think it would be more useful to others were I to write it as a module unto itself, I'm happy to do it that way). It's inspired by the referrer application offered by truefresco.org ( http://www.truefresco.org/referrers.htm ). What I want is something like they offer with results limited to those sites that exist within the Web_Links records.

    - Ed
  • Posted: 06.10.2004, 01:33
     
    kwinpete
    rank:
    Softmore Softmore
    registered:
     June 2004
    Status:
    offline
    last visit:
    22.08.05
    Posts:
    51

    Quote

    The page break in the new web links search results, (PostNuke .750) shows only the first page, no next page. I tested it with a keyword that has at least 100+ items in the database that should be found, but only the first 10, hence the first page only shows. I know the problem is somewhere in wl-search.php.


    I have also found this in the Downloads module. Has anyone got an idea how to fix it -- I've tried a few things but nothing has worked.

    When I ask the script to show me the value of $totalselecteddownloads (or $totalselectedlinks) I get "1."
  • Posted: 06.10.2004, 02:02
     
    kwinpete
    rank:
    Softmore Softmore
    registered:
     June 2004
    Status:
    offline
    last visit:
    22.08.05
    Posts:
    51
    I am new to mysql so this is probably not the right way to do this but it works.

    In wl-search.php I commented out the query that calls for a record count (at about line 82) and declared $totalselectedlinks thus:

    $totalselectedlinks = $nrows;

    I assume this will work on the Downloads module search as well.
  • Posted: 06.10.2004, 08:12
     
    kwinpete
    rank:
    Softmore Softmore
    registered:
     June 2004
    Status:
    offline
    last visit:
    22.08.05
    Posts:
    51

    Quote

    I assume this will work on the Downloads module search as well.


    But it doesn't. I can't find any way to get the paging to work in the Downloads search. Help! :o

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula