This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

using views module based on taxonomy terms & taxonomy_menu module

Hey all,

I'm building a web site for a commercial activity that needs to marketize their products on the web. For this I'm running
drupal 4.7 and using the ecommerce product and tangible modules.

I'm also using the taxonomy_menu module. What this does is creates a menu with links for every term
in a specific vocabulary.
Say my vocab is 'Product Categories' and my terms are: 'sport equipment', 'casual clothes', 'shoes', etc. etc..
With the taxonomy_menu module I get links for: 'sport equipment', 'casual clothes', 'shoes', etc. etc.. These will be
found in the main Navigation which I've set up to be on a left block.

When I access one of the links I get displayed all products in that category.

My problem is: when I access one of the menu links for a product category I get displayed ALL products in that category.
Now, I do not want all products to be displayed, thats because:
1) the page could become very big
2) the page could take very long to load (due to product images for example)

What I actually need is a "previous - next" navigation at the end of the page products content. This is mainly because
I want to be able to configure the number of product nodes to be displayed on a page within the 'product catalogue'
(another advantage, of course, is to avoid the performance problems I've mentioned before).

I've tried the views module and seen that I can get with it a navigation which looks something like this:

Business intelligence system

Hi,

Is it possible to make a new content type through cck called for example "Status" where you can enter this months status (for example "market share", and choose which KPI (Key performance indicator) it relates to. Then have views module list up all statuses this month and show an arrow icon whether the trend since last month is up or down, and have the color of the arrow show whether it is under (red) or over (green) the KPI target (target this month retrieved from another table/other nodes/other taxonomy again).

Secondary Menu with Taxonomy_block (pathauto)

Hi,

I'm trying to realize on my website a 2-level navigation with a primary horizontal menu at the top and a secondary vertically to the left of the screen. I don't want the 1st-level entries to appear on the 2nd-level menu. So I found this useful page http://drupal.org/node/49720#comment-94151 and did it like this.

my problem is that i get, after enabling some taxonomy_blocks in the administer -> blocks an sql error:

user error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND n.status = 1 ORDER BY sticky DESC, created DESC LIMIT 0' 
query: SELECT DISTINCT(n.nid), n.title, n.body FROM term_node t INNER JOIN node n ON t.nid = n.nid WHERE t.tid IN () AND n.status = 1 ORDER BY sticky DESC, created DESC LIMIT 0 in /srv/www/htdocs/web58/html/netzwerk-nicaragua/includes/database.mysql.inc on line 66.

The blocks that the website shows has links "more" and this sql-error occurs just with the blocks where the "more"-link is http://url.com/?q=taxonomy/term/
without numbers for the terms. the "more"-link of the first block (without error) has all term numbers http://url.com/?q=taxonomy/term/1+3+4+6+9+7+8+10
so i think it must have something to do with that errror, but i'm not really shure.
Another wierd thing was, that in the "more"-link above with all the term numbers, there is no number 2. and i looked in the url aliases and found there as well no number two, so has my problem something to do with the pathauto?? i deleted all aliases and it is still the same problem.

Created Module - How do I contribute?

I created a very basic module to enable the ability to send an email notification to a maximum of 5 email addresses when a visitor has registered an account.

This was something I read numerous forum threads about so I thought that I would contribute this module for others to use but I am not sure how to go about that. Can someone point me to the guidelines on contributing modules?

FYI, this has been developed and tested against only 4.7 RC 3.

Thanks,
-Derek

Need help with authmaps...documentation available?

I'm working to develop an authentication module. I've managed to get everything working, but I'm still not clear on the job of the authmap table. I haven't been able to find any documentation about it either.

Really I just need to know if there's a way to get entries put in there automatically. I want to be able to add users to the site and have them listed in the authmap table. I could probably do this by creating a custom "add user" page for my module, but I don't know if this is best thing to do. Is there another way to get entries put in this authmap table?

thousands of taxonomy terms?

I'm building an online dictionary and like how the taxonomy system works. Would there be any drawbacks to giving each word of a language (two different languages) it's own term? I guess I'm taking the sense of 'vocabulary', 'term', and 'syllable' quite literally!

thanks for your advice!

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions