How do I display the number of comments near the title of the node when viewing the teaser? I want to make a little bubble next tot the title in the teaser displaying the number of comments.
Drupal 7: Zen theme, display comment count on node
2.3k Views Asked by Daniel Ruf At
1
There are 1 best solutions below
Related Questions in DRUPAL
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- MariaDB/MySQL all of a sudden crashed and won't restart
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal7 modified user login no effect?
- Drupal AngularJS ajax simple ng-repeat update
- Drupal: Access A Field in hook_views_query_alter()
- Drupal Webform : set SCORE on each SELECT Options?
- Register new user as authenitcated user in drupal using xml-rpc
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- All files and folders are not being listed in the imce file browser in Drupal 7
Related Questions in DRUPAL-7
- Drupal access control to custom user profile page
- How to list all child pages of current parent page in drupal 7?
- Drupal location module shows only a portion of Gmap on node page
- How to add a select collection type select list to field collection
- Drupal AngularJS ajax simple ng-repeat update
- PHPStorm Drush on Vagrant
- Drupal: Access A Field in hook_views_query_alter()
- Drupal domain access auto create content
- How to display sibling pages except current page in drupal 7?
- how to merge entity reference relationship field value
- Drupal print breaks when rendering a region
- Drupal 7 treating HTML div with data attribute as text
- All files and folders are not being listed in the imce file browser in Drupal 7
- drupal api returns json causes syntax error, malformed JSON in json_decode function of php
- Drupal module development, custom database tables, pages for managing those data
Related Questions in DRUPAL-THEMING
- Drupal print breaks when rendering a region
- Override Taxonomy Pages without entire page override
- 'Smart' way to include the same HTML in multiple TPL files?
- ShareThis button directly in Drupal's tpl.php files
- Drupal theme Views template modifications
- the right way to show content in themes
- Drupal run update.php shown in Zip archive support missing
- Drupal Commerce Kickstart Product list theming
- How to wrap field in custom markup?
- Drupal 7 custom menu rendering
- Drupal 7 block.tpl.php does not exist
- Drupal 7 - Page template suggestion based on specific alias
- Displaying Drupal taxonomy term desciption in node
- Theme Views row with Panels in Drupal
- Drupal 7 CSS Issues
Related Questions in DRUPAL-TEMPLATES
- Drupal select list key in template file
- Drupal 7 views_embed_view and templates
- How can I customize a specific node in Drupal 6 WHEN a custom template has already been applied to the node's content type?
- 'attributes' for login button in login form
- Template drupal in full HTML
- Get $breadcrumb variable in toolbar.tpl.php - Drupal 7
- How to apply a theme to a Drupal function?
- How does hook_theme() work?
- Changing Drupal module template doesn't take effect
- What are some easy to built Drupal modules to design Job portal and community site?
- Drupal Token Replacement in Template File
- Drupal 7: How to get this value with PHP
- Drupal 7: Template for user registration page?
- Drupal 7 Views with custom template exposed filters doesn't showing
- Drupal 7: Appropriate page template not loading
Related Questions in DRUPAL-ZEN
- Drupal 7 dashboard doesn't fit on screen when using custom themes
- Drupal 6 responsive Zen sub theme?
- zen grid item without position argument
- Drupal 7: Zen theme, display comment count on node
- Extend colors of header to screen edge using Drupal zen theme
- How to remove H2 tag from some blocks
- Custom Webform Page Layout in Drupal 6
- user-menu in secondary-menu: why?
- Drupal 7 specific layouts for pages
- Drupal Zen subtheme - stop responsiveness at specific breakpoint
- Floating sidebars approach used in Drupal Zen theme
- Drupal 7 Zen sub theme IE8 Responsiveness
- Notifications when using Drupal with Zen 7.x-3.x and CTI Flex 7.x-1.0
- PHP warning message in Zen Drupal sub-theme
- Starting a custom theme using Zen
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In Drupal 7 you can easily print out the number of comments by printing out the variable $comment_count. To print it out only for the teaser you can check the $view_mode variable before printing.
In your node.tpl.php (or if you have created a custom template for your content type such as node--[your-content-type-name].tpl.php, use that), just add something like the following at the position you want your comment count to show:
Don't know about your bubble, but if you mean a tooltip, I've always used qTip module for that http://drupal.org/project/qtip