[support] support Digest, Vol 106, Issue 20

Roger arelem at bigpond.com
Sat Oct 8 22:49:03 UTC 2011


>> >  I have Taxonomy Vocabulary: Location. and Terms set up to display as a
>> >  view in a block, clickong on a Region term shows the details in the
>> >  Content Block. But I get error message "There is currently no content
>> >  classified with this term."
>> >  What does this mean, what am I missing?
>> >  thanks
>> >  Roger
>> >
See this conversation URL.: http://drupal.org/node/1121760

Yep I read that, thank you.
It says
<quote>
Thanks for the reply, I've made this in theme_preprocess():

|if(isset($variables['page']['content']['system_main']['no_content']))
{
unset($variables['page']['content']['system_main']['no_content']);
}|

|</quote>
|

|Easy enough, but typically with most helpful suggestions written by 
expert for expert, neglects to say where the code should be entered and 
how it can be used.
|

|I looked through the theme and core for |theme_preprocess()

|The problem is that if I use taxonomy as I should, to full classify and 
store related data then that which normally would be content for 
example: <Content type> <Region> with <Fields Address, City, Phone, 
other info> no longer exists.
It is instead content in taxonomy fields.
For example:
Vocabulary <Where> contains <terms> Region, City and in City has fields 
address, phone, street.
City is a child of Region.
All good so far but then the error message, because there's no reason to 
have <Content in a dedicated Content Type> in this case.
|

|What I probably need is a switch to turn off <Content> if data is in 
Taxonomy.
|

|I have a Content Type <Contact> which takes name and other contact 
details from Taxonomy which provides select lists of the other data. All 
good.
But I need to use that <Where> Taxonomy for more than just Contact's 
personal data, it also needs to work with venues and other Content Types.
|

|I'm thinking that it may be a Views problem because I'm using a View 
which calls all of the <Taxonomy> <Where> data but with irrelevant 
fields excluded, to provide a menu:
Region: somewhere
Region: somewhere else
||and so on,|

|This View is displayed in a Block. Clicking on each displays the 
Taxonomy content, not a <Content Type> content|

|I don't know if I'm looking at the the correct way or if I've got it 
all wrong.|

|thanks
Roger
|

|
|

|
|

|
|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20111009/3abe8480/attachment.html 


More information about the support mailing list