i'm new to drupal views. More link not displayed with my view block. i set more link both Create more link and Always display more link option too. Find picture below for view settings.
Note: i'm sure there is around 10+ nodes available to display.
You have only block display, so where should go "More"? :) Create also "Page" display.
If you have specific page to link on more then you can use header or footer also
1. Add Global Custom Text in Header or Footer
2. Put Your Link There.
That is alternate way for more link
Related
I want to create a custom page template in WordPress which shows Image Slideshow and then a video below it and finally some text - till now what I am able to do is play with sidebar, footer, header.
I can either remove them or keep them in my custom page templates but what I want to do is play with the page contents.
The Admin user should be able to see these sections in the Page Editor (WYSIWYG) when they choose the Template from the drop-down, so that they can accordingly add the correct content in correct place holders
Something like the attached screen-shot is showing
Is this possible in WordPress
Yes! It's possible to implement this! you can use https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 or https://wordpress.org/plugins/siteorigin-panels/ plugin.
The first plugin allows you to create different page layout and save it. It also allows admin to choose page layout that admin has saved previously.
The second page builder plugin allows you to create template same way and allows admin to clone one page layout to another one.
Hope this will help you!
i'm a completely new in Drupal. I'm building a website that in the home page has the typical 3 blocks on the button where you can click and go to some specific page or article.
I create that as Block and I even create that with Nodeblock, they are displayed in the right place and with the right text and images but what I can't make it work is make them be a big link, linked to their article or page, so when user will click it will be directly redirected to the main page.
Something like:
Block: discover
<div>Discover more about our last offer </div>
How can I do that?
I can't find anything close on the web...
Without seeing your site it's hard to say what the best course of action is, however I would suggest using the Views Module.
You could create a block with views and output any field as a link. In the Views UI you can set the url to link to any piece of content above it, using a token value. If you want to link to an item that is not visible, you can hide that field by selecting the "exclude from display" option in that field's settings.
You can also always use css to expand the size of the anchor tag to encompass the entire div.
Here is a tutorial:
https://www.youtube.com/watch?v=3L9JLZOb_LQ
in your block add
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('.block-link').each(function(){
jQuery(this).parents('.block').slice('0,1').wrap('');
});
});
</script>
I have recently started using Drupal but I am having a bit of difficulty editing some blocks. I've gone into the blocks admin menu and I can see a list of all of the different blocks being used and they have the configure option next to them.
If I click configure on some of them, on the next page I am given the 'edit block' box but on others the box doesn't show up (e.g. footer). How can I make the edit box show up or is there another way to edit them?
Thanks for any help.
1] visit this link http://drupal.org/project/block_edit and download module and install it on your site.
2] visit this link to apply setting admin/settings/block_edit.
What actually this module do?
It's provide a edit link on block itself where you are viewing it. Now clicking on edit link will redirect you to specific block edit page. This means need not to go deep inside and find block you want to edit.
Some modules, like the menu module, add blocks with auto-generated content that cannot be edited directly from the blocks admin page. Usually only content blocks added by yourself will have the edit block content option.
Footer will be a menu block, so there will be no editable area. If you want to make changes to the menu you'd need to edit the menu rather than the block.
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.
im using Views to output a block, containing latest post titles - simple and working. id now like to add some text links that should be different than the "more" link you can add through the Views UI. they are basically just p-tags with a-tags inside, pointing to a url of my choice.
right now i just inserted the markup in Basic Information > Footer > Full HTML.
is this the standard way of achieving what im after?
You can write custom templates for each row in a view if you want. Have a look at views 2 theming
Theming is a good way to do it but then it adds an additional responsibility to move the theme file when you move the view from one site to the other.
The header and footer are provided so that you can add html and php code to it, so it is definitely the right way to do it or else it would not have been provided in the first place by the module developer.
Also if the urls are related to the drupal site then I would suggest you to use php mode and add the link using l function (http://api.drupal.org/api/drupal/includes--common.inc/function/l/6)