Modify article

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by ahmaddani on June 2, 2010 at 2:45am

I have made some taxonomy for my openpublish site. But when i load it with article i can't see nothing.

For example: Vocabulary : world cup 2010
Taxonomy term: - Groups Analysis -- refer to : http://www.goaledor.com/category/world-cup-2010/groups-analysis
- World Cup 2010 News --> refer to: http://www.goaledor.com/category/world-cup-2010/world-cup-2010-news

But when i open http://www.goaledor.com/articles/World%20Cup%202010 i got nothing.

Please tell me how to fill it.

Thank you..

Categories: ,

Comments

Hello, You have to select the

Posted by MarkCos on June 2, 2010 at 3:21am

Hello,

You have to select the parent taxonomy term too when creating the article, not just the child.

Thanks,

Mark

Oh.. I'm so sorry World Cup

Posted by ahmaddani on June 2, 2010 at 3:48am

Oh.. I'm so sorry World Cup 2010 is vocabulary.

So i can't select it..

Views modify

Posted by ahmaddani on June 2, 2010 at 3:51am

I think i should modify views - article.

But i don't know how?

Hmm, ok, '/articles/WHATEVER'

Posted by MarkCos on June 2, 2010 at 4:36am

Hmm, ok, '/articles/WHATEVER' ie the article 'page' view is taken from the 'Topics' vocab. This is coded into the view 'PHP argument code' by snippet :

"
$vocs = taxonomy_get_vocabularies();
foreach($vocs as $vid =>$v) { if($v->name =='Topic') {return $vid;}}
"

I would add 'World Cup 2010' as another 'Topic' taxonomy child term so it appears in the article view.
ie in taxonomy :

Topic
|-World Cup 2010
|-Group Analysis

The way you are trying to do it is definitely possible but it goes against the basic open publish setup.

Try downloading taxonomy manager module which allows you to merge/move vocabs easily.

Thank you

Posted by ahmaddani on June 3, 2010 at 9:20am

Thank you ... done..

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /