1
trspice
Catalog module search - Any available?
  • 2007/9/15 17:05

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Does anyone know of a module which perform as a catalog to list items in categories and multiple sub-categories? I don't want a shopping cart but something which functions like a cart without the checkout.

My purpose is to list events and link flow like this:

WEEKDAYS - (main category)
|-Mon
|-Tue
|-rest of week

GENRE
|-Salsa
|-Reggaeton
|-HipHop
|-more genres

CLUBS
|-Club 1
|-Club 2

Each sublink will display a list with thumbnails that goes to full details. I figure such a module may already exist somewhere other than Xoops.org. If anyone know of such please let me know. Thanks
There's nothing but science....
The Reggae Album

2
JMorris
Re: Catalog module search - Any available?
  • 2007/9/15 21:52

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Formulize may be good for that purpose.

The link is dead right now because dev.xoops.org is down, but as soon as one of the admins can get to fixing the problem, the site will be back up.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
jegelstaff
Re: Catalog module search - Any available?

Thanks for the plug JMorris. Yes, this sounds essentially like something that could be a custom module, but which is really, maybe, a simple CMS kind of problem. You can a form, maybe a category form, or an item form and each item is attached to a category (maybe through a dropdown list or checkboxes in the form).

And then you want to display all the items in some kind of customized way, and if you edit entries in the form, the display of the items changes. So simple CMS-ish kind of stuff.

Formulize does give you the tools to make that kind of thing yourself. When dev.xoops.org springs back to life, feel free to post over there with more details and maybe we can help.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

4
trspice
Re: Catalog module search - Any available?
  • 2007/9/19 4:19

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


My inquiry was mis-interpreted. Formulize creates forms and I want pages of information to be published as a catalog. I don't want users to post anything to these pages.

It should be just like a shopping cart but without the check out. Events should be able to be cross linked as in;
- A rock concert happening on Saturday at club rock should be found in categories
Genre>Rock
Clubs>City name
Weekday>Saturday
There's nothing but science....
The Reggae Album

5
jegelstaff
Re: Catalog module search - Any available?

I think you misinterpret what Formulize is for and can do.

You would start by making the forms, to act as the CMS part of your system. You would have a form that would record events, and there would be questions in the form that let you specify the Genre, day of week, etc.

Then you would make a page or pages that lists the information that has been submitted in the form in the way you want it displayed.

Formulize can be used as a rapid application development toolset for making simple module-like things when no module exists to fill that need. To do something as customized as what you're after here, you need some basic familiarity with relatively simple PHP, ie:

// get the data entered into your form (form number 1 in this example)
$data getData(1);

foreach(
$data as $entry) {
  
// do something here to display each entry, ie:
  
print "<h1>" display($entry12) . "<h1>"// 12 would be the id number of the title element in the form
}


If that makes any sense to you at all, Formulize might be a good choice. If that makes no sense at all, maybe not.

That level of complexity is only necessary for such a custom presentation. Formulize can handle simpler scenarios "out-of-the-box", especially more form-like ones such as registration forms, activity logs, surveys, etc.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

6
zyspec
Re: Catalog module search - Any available?
  • 2007/9/19 14:04

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You can probably use one of the directory modules for this. Most of them support multiple categories so you can cross list them.

I'd look at efqdirectory or mx-directory. One of the links modules that supports multiple categories might also work for you.

7
jegelstaff
Re: Catalog module search - Any available?

Yeah, if there's a module out there that does a hierarchical listing for you already, then that would be a great starting place.

--Julian
Technical Architect - Freeform Solutions
Formulize - custom registration forms, ad hoc forms and reports

8
trspice
Re: Catalog module search - Any available?
  • 2007/9/19 15:26

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I'll give a second look at Formulize. I admit, I just read the basic and it seemed like Liaise so I didn't think it would work.

I did try to use MXdirectory before this request and it could not do cross listing. I am going to try the Zencart module as it seems to do all I need.

Thanks
There's nothing but science....
The Reggae Album

9
trspice
Re: Catalog module search - Any available?
  • 2007/9/21 22:05

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Well Formulize was turning out to be a lot of work and to modify the zencart module is out of my capabilities so I went with a cloned XCgal module.

It does most of what I need including adding keywords and description for each event but I have to add events multiple times to related categories to appear as crosslinked. A bit tedious but I can live with that until the ideal module is produced.

I would like to do a little hack though. XCgal has a feature that displays a block which shows a random thumbnail and I want to increase the size of just those images, separately from the config settings in the xcgal admin which is 100px.

I looked at xcgal/blocks/xcgal_blocks.php and see the following
$module_handler= & xoops_gethandler('module');
    
$eventModule $module_handler->getByDirname('event');
    
$config_handler =& xoops_gethandler('config');
        
$eventConfig =& $config_handler->getConfigsByCat(0$eventModule->mid());
        
$block = array();
        if (
count($pic_datas) > 0) {
                foreach (
$pic_datas as $key => $row) {
                        
$i++;

                        
//$image_size = compute_img_size($row['pwidth'], $row['pheight'], $xoopsModuleConfig['thumb_width']);

                        
$thumb_list[$i]['pos'] = $key $key $i $options[5];
                        
$thumb_list[$i]['image'] = "<img src="".XOOPS_URL ."/modules/event/".$eventConfig['fullpath'].str_replace("%2F","/",rawurlencode($row['filepath'].$eventConfig['thumb_pfx'].$row['filename']))."" class="image" border="0" alt="{$row['filename']}" />";
                        
$thumb_list[$i]['caption'] = $row['caption_text'];
                        
$thumb_list[$i]['pid'] = $row['pid'];
                        
$thumb_list[$i]['link_tgt']="displayimage.php?pid={$row['pid']}&amp;album={$album}&amp;pos={$key}&amp;cat=";
                    
$thumb_list[$i]['i']= $i;

                }

                
//$xoopsTpl->assign('no_img',0);
                //theme_display_thumbnails($thumb_list, $thumb_count, $album_name, $album, $cat, $page, $total_pages, is_numeric($album), $display_tabs);
                
$block['pics'] = $thumb_list;
                
$block['position'] = $options[2];
                
$block['wh'] = $options[3];
        }
        return 
$block;
}


It seems to relate to the thumb sizes but it is affecting all thumb sizes and I don't want to increase any other. Does anyone have any expertise on this module and can give a suggestion how to make this work? Thanks.
There's nothing but science....
The Reggae Album

10
script_fu
Re: Catalog module search - Any available?

Is this an example of what you seek?

http://www.mdparty.com/

I have been trying to figure out how to pull off that site for years.

Login

Who's Online

166 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits