Is it possible to show users' Avatar in blogs but not in Sories and Articles ?

I forgot where are teh Avatar settings, sorry, :( but I need urgetnly to implement this action.

Could you help me please ?

Comments

vishun’s picture

Version: 6.x-1.5 » 5.x-1.2
Component: Documentation » Code

because what this module does is create some special Blocks for use, you can use the standard features of Blocks which will allow you specify where or where not to show the block.

for what you want to do, goto Blocks, edit the block that you want to appear certain places, scroll down to "Page specific visibility settings" -- it should already be set to "Show on every page except the listed pages." if it isnt, check that radio checkbox... then in the textarea below, you could specify a specific URL pattern to make these blocks not appear on.

on my site, i know i can accomplish this using Clean URL's, the Path module, and the Pathauto module with some specific settings for Pathauto. Clean urls turns your pages URL's into /content/some-name-here as opposed to /?q=1234

however, to get this to work like you want it, you will need to setup the Pathauto module in a certain way (atleast regarding its settings of this module for the actual automatically created URL's). You will need to set it so that, stories and articles have a specific url format, such as /stories/the-story-name and /articles/the-article-name -- that way, in the block, you can specify the avatar block to show on every page except "articles" and "stories" which is all that you would have to put into the block settings for page visibility (if you have pathauto making url's using the format mentioned above)

hope this helps, if you understand what i mean it shouldnt be a problem to get your desired effect accomplished... if you are still unsure what or how to do, post back and ill see if i can give you more specific instructions... the above should be plenty tho if you are familiar with drupal and setting up other modules... i would strongly recommend clean urls, the path module, and the pathauto module, as it will help you with SEO and essentially in the long term help get your more visitors -- promise.

HyperD’s picture

I fully followed successfully your suggestions I thank you really very much ;) The site will be alive soon ...

roopletheme’s picture

Status: Active » Closed (fixed)