Not sure what you mean?
Do you mean: 1. You would like to list the category names as links to each category. 2. You would like to list article titles grouped by category. 3. You would like to list the categories that each article is in. 4. Something else?
Can you give a full example?
Nektarios Sylligardakis wrote:
I am interesting to have a list of title for each categories in the index page Any suggestion?
I guess he would like to have a block on the mainpage where he can show all the categories and a list of titles under each, like 10 or so.
-HRose / Abalieno
Not sure what you mean? Do you mean:
- You would like to list the category names as links to each category.
- You would like to list article titles grouped by category.
- You would like to list the categories that each article is in.
- Something else?
Can you give a full example?
Nektarios Sylligardakis wrote:
I am interesting to have a list of title for each categories in the index page Any suggestion?-- [ Drupal support list | http://lists.drupal.org/ ]
I would like to list article titles grouped by category. and after that to continiou the other blogs
Abalieno wrote:
I guess he would like to have a block on the mainpage where he can show all the categories and a list of titles under each, like 10 or so.
-HRose / Abalieno
Not sure what you mean? Do you mean:
- You would like to list the category names as links to each category.
- You would like to list article titles grouped by category.
- You would like to list the categories that each article is in.
- Something else?
Can you give a full example?
Nektarios Sylligardakis wrote:
I am interesting to have a list of title for each categories in the index page Any suggestion?-- [ Drupal support list | http://lists.drupal.org/ ]
I don't think this is a standard feature, so you may need to code some PHP unless someone else has done this and can offer some suggestions.
There is a 'categories' block, which lists the various categories and the number of articles in each category - maybe this could be modified to suit your needs.
(sorry, I am a bit to busy at the moment to give this further thought - maybe someone else will help?)
Nektarios Sylligardakis wrote:
I would like to list article titles grouped by category. and after that to continiou the other blogs
Abalieno wrote:
I guess he would like to have a block on the mainpage where he can show all the categories and a list of titles under each, like 10 or so.
-HRose / Abalieno
Not sure what you mean? Do you mean:
- You would like to list the category names as links to each category.
- You would like to list article titles grouped by category.
- You would like to list the categories that each article is in.
- Something else?
Can you give a full example?
Nektarios Sylligardakis wrote:
I am interesting to have a list of title for each categories in the index page Any suggestion?-- [ Drupal support list | http://lists.drupal.org/ ]
This couldn't be done with taxonomy? Create a vocab called categories and assign each article to it? Then make a taxonomy menu based off that?
Anisa.
Ross Kendall wrote:
I don't think this is a standard feature, so you may need to code some PHP unless someone else has done this and can offer some suggestions.
There is a 'categories' block, which lists the various categories and the number of articles in each category - maybe this could be modified to suit your needs.
(sorry, I am a bit to busy at the moment to give this further thought
- maybe someone else will help?)
Nektarios Sylligardakis wrote:
I would like to list article titles grouped by category. and after that to continiou the other blogs
Abalieno wrote:
I guess he would like to have a block on the mainpage where he can show all the categories and a list of titles under each, like 10 or so.
-HRose / Abalieno
Not sure what you mean? Do you mean:
- You would like to list the category names as links to each
category. 2. You would like to list article titles grouped by category. 3. You would like to list the categories that each article is in. 4. Something else?
Can you give a full example?
Nektarios Sylligardakis wrote:
I am interesting to have a list of title for each categories in the index page Any suggestion?-- [ Drupal support list | http://lists.drupal.org/ ]
Take a look at this site I just finished a similar request http://inmrc.com Regards Ron
InterNet Marketing Resource Center A Free Super Mart of Articles, Demos, Tutorials everything you need to Succeed on the net. www.inmrc.com
-----Original Message----- From: Anisa [mailto:mystavash@animecards.org] Sent: Thursday, February 24, 2005 5:21 PM To: drupal-support@drupal.org Subject: Re: [drupal-support] Re: categories in the index page
This couldn't be done with taxonomy? Create a vocab called categories and assign each article to it? Then make a taxonomy menu based off that?
Anisa.
Ross Kendall wrote:
I don't think this is a standard feature, so you may need to code some PHP unless someone else has done this and can offer some suggestions.
There is a 'categories' block, which lists the various categories and the number of articles in each category - maybe this could be modified to suit your needs.
(sorry, I am a bit to busy at the moment to give this further thought
- maybe someone else will help?)
Nektarios Sylligardakis wrote:
I would like to list article titles grouped by category. and after that to continiou the other blogs
Abalieno wrote:
I guess he would like to have a block on the mainpage where he can show all the categories and a list of titles under each, like 10 or so.
-HRose / Abalieno
Not sure what you mean? Do you mean:
- You would like to list the category names as links to each
category. 2. You would like to list article titles grouped by category. 3. You would like to list the categories that each article is in. 4. Something else?
Can you give a full example?
Nektarios Sylligardakis wrote:
I am interesting to have a list of title for each categories in the index page Any suggestion?-- [ Drupal support list | http://lists.drupal.org/ ]
There's this text '$buttons = taxonomy_context_buttons();' sticking out inbetween the top horizontal navigation and the main article. (also, one article on the side is should be spelled 'pricing' :)
I don't think it can be done with the core install, but perhaps with taxonomy html or the taxonomy menu modules?
Anisa.
Ron Mahon wrote:
Take a look at this site I just finished a similar request http://inmrc.com Regards Ron
To get this effect I experimented with all the taxonomy modules. What finally worked was a add on program call menus with the "s" so as not to conflict with build in menu system.
The taxonomy_context module gives the breakdown of the sub pages. The only problem with this module is that it does not list how many items are in side. Maybe an option of (Not displaying if empty) would be an alternative. See the web-link behavior. I looked at both modules in an effort to add this feature, but my php skills are lacking
I had to manually build the menus items from the taxonomy terms. I could not find a way to build them automatically.
One other note there is a categories block so I would not name anything else category. I believe I had a conflict with this.
The category block displays only terms that have content witch is very nice but does it by the newest items first. It all so gives a date which in this application was undesirable so I removed it. This module or block could probably be easily fixed but not by me. Ron Ps thanks for the spelling help
-----Original Message----- From: Anisa [mailto:mystavash@animecards.org] Sent: Thursday, February 24, 2005 7:18 PM To: drupal-support@drupal.org Subject: Re: [drupal-support] Re: categories in the index page
There's this text '$buttons = taxonomy_context_buttons();' sticking out inbetween the top horizontal navigation and the main article. (also, one article on the side is should be spelled 'pricing' :)
I don't think it can be done with the core install, but perhaps with taxonomy html or the taxonomy menu modules?
Anisa.
Ron Mahon wrote:
Take a look at this site I just finished a similar request http://inmrc.com Regards Ron
I'm actually interested in a similar feature:
I'd like to flag manually some of the nodes so that their titles (just them) appear in a custom box on the homepage (not the sidebar).
HRose / Abalieno
I don't think this is a standard feature, so you may need to code some PHP unless someone else has done this and can offer some suggestions.
There is a 'categories' block, which lists the various categories and the number of articles in each category - maybe this could be modified to suit your needs.
(sorry, I am a bit to busy at the moment to give this further thought - maybe someone else will help?)
Hi, Please ignore the previous mail and php code that i posted. I found a better way to do this. The code is smaller and neat. You need to have taxonomy_dhml and taxonomy_context modules enabled. I am using functions from those two modules.
Paste the follwing code in your page.tpl.php:
if ($is_front) { $vocabularies = taxonomy_dhtml_get_vocabularies(); foreach ($vocabularies as $vocabulary) { print "<h2>" . $vocabulary->name . "</h2><br >"; $result = db_query("SELECT n.tid, n.name FROM {term_hierarchy} t, {term_data} n WHERE t.tid = n.tid AND n.vid = %d AND t.parent = 0 ORDER BY n.weight, n.name", $vocabulary->vid); while ($term = db_fetch_object($result)) { print "<strong>" . $term->name . "</strong>"; $output .= "<ul>" . taxonomy_context_show_nodes($term->tid) . "</ul>\n"; print $output; $output=""; } } }
Hope this helps. Paul
Nektarios Sylligardakis wrote:
very quite site. Somthing like this i meen is it yours site ? could you tell as how did that?
paul wrote:
Please take a look at www.chintha.com http://www.chintha.com Is this what you are looking for?
paul
Abalieno wrote:
I'm actually interested in a similar feature:
I'd like to flag manually some of the nodes so that their titles (just them) appear in a custom box on the homepage (not the sidebar).
HRose / Abalieno
I don't think this is a standard feature, so you may need to code some PHP unless someone else has done this and can offer some suggestions.
There is a 'categories' block, which lists the various categories and the number of articles in each category - maybe this could be modified to suit your needs.
(sorry, I am a bit to busy at the moment to give this further thought - maybe someone else will help?)
That's really nice, Paul. How did you do that?
-- Chris Johnson
paul wrote:
Please take a look at www.chintha.com http://www.chintha.com Is this what you are looking for?
paul
You can try any of the taxonomy browsing modules available:
Taxonomy_html Taxonomy_dhtml Site_map
You can see them all at work at: http://www.edestino.org/sitemaps
(I haven't made up my mind yet as to which one use)
Then just change your initial page on /admin/settings to point to the page generated by the module of your choice (just type taxonomy_html or taxonomy_dhtml or site_map or whatever you name it there).
-----Original Message----- From: drupal-support-bounces@drupal.org [mailto:drupal-support-bounces@drupal.org] On Behalf Of Abalieno Sent: Thursday, February 24, 2005 7:08 PM To: drupal-support@drupal.org Subject: Re: [drupal-support] Re: categories in the index page
I'm actually interested in a similar feature:
I'd like to flag manually some of the nodes so that their titles (just them) appear in a custom box on the homepage (not the sidebar).
HRose / Abalieno
I don't think this is a standard feature, so you may need to code some PHP unless someone else has done this and can offer some suggestions.
There is a 'categories' block, which lists the various categories and the number of articles in each category - maybe this could be modified to suit your needs.
(sorry, I am a bit to busy at the moment to give this further thought
- maybe someone else will help?)
-- [ Drupal support list | http://lists.drupal.org/ ]