I have a Drupal view created (a block level view) in which I need to display the Disqus comment block.
The view displays movie reviews and each review node has a related comment block, but im not sure how to display that block in the view. (The block displays when you go to each node page specifically.)
Any ideas?
place the Disqus comment block after the view.
Related
I have this view with a Page display that has a filter and a list with content to be filtered.
I would like to add a Links block right below the filters form but I just don't get it how. I tried adding the block to the sidebars (from /structure/block) but the sidebars are outside the main content (Bootstrap theme) and the View edit form (views/view/myview/edit) has no option or place where I could add a Builder block.
How would you do this?
You can setup the view as block display(or duplicate the page display as block display) and go with the option "Exposed form in block" = Yes in the Advanced section.
It will let you to show the main view block (content list) and the exposed form(filters) in different configurable blocks in any basic/blank page.
Then you can easily insert your links block in between them.
Can the teaser on the front page to be used as a customized block element, and to be assigned in any other regions and to be shown on every pages?
Or is there any module for this function in Drupal 7?
you can use the views module to create a block with node titles and teasers similar to the default front page.
I'm trying to show a view on homepage node. I created a view that filters 5 first news, and it works perfectly, but I want it to be shown on homepage only.
Any idea?
If it is a block view, all you have to do is add the block to a region that is available on the home page template. Edit the block, scroll to the bottom choose the option that says Show only on the selected pages, then type <front> in the text area. This will force the block to only show on the home page.
If your view is a page View (and not a block view), then your home page can be set from Configuration > Site Information (under System section) which is at admin/config/system/site-information of your site.
Set the Default front page path to your View's path.
I have a drupal application which does not have/need any Menu items within it. I am using the Taxonomy Submenu module to navigate through contents. I have the content structured as follows.
Taxonomy->terms->subterms->subterms->...->content
On the homepage it will list all the first level terms using the Taxonomy submenu module, clicking on the main menu will populate submenus and finally towards the end it will show a particular content.
Each time when we reach on a sub term the breadcrumb is populating and showing correctly, but when I reach in content it does not show any breadcrumb.
Summary:
http://localhost/mydrupapp/taxonomy/term/134 showing breadcrumb and
http://localhost/mydrupapp/node/29 not showing breadcrumb.
The fact is the content 29 is created under the term 134.
Point to note
The site does not have or need any menu items.
I want to display breadcrumb for the content pages based on the taxonomy of that particular content. If a content 'Hello World' is added under the taxonomy term 'General' then when I view the page 'Hello World' I need the breadcrumb 'Home->General->Hello World'
Thanks in advance !!!
Try to use Taxonomy breadcrumb module and see if it works.
For my site too it worked, without it, it wasn't correctly showing path.
in drupal 7 taxonomy breadcrumb settings are include
please go to config>custombreadcrumbsettings set there taxonomy settings,
it is work for me hope also will work for you.
I'm using Drupal 7 along with the Views and Context modules. I have a particular view with a page display, and I want to put a particular block in the content region. When I do that, the block appears below the view.
I want the block to appear above the view, instead. Is this possible, or do I have to create another region to go above the content region?
Like you mention in your question, you'll need a region above the content region for this. The default theme for Drupal 7, Bartik, has several such regions (the 'Featured' region is probably the closest to what you're after), so if you're making a custom theme, you can refer to that theme for an example.
Go to edit your page view and click add on the header region. Navigate to your block view and insert it .
This may be the quick solution as it will display the block directly above the page content. It also allows the option of inherit contextual filters so the header display can receive the same contextual filters as its parent.
This can be also done in the footer region and works on all themes.