How to make my calendar appear on my home page in Drupal - drupal

I am new to Drupal and am using the default Bartik theme to learn the environment. I've been able to install the Calendar module and have it appear on all the pages I created. These pages are accessible from the menu Tabs I have created across the top of my page header. However, whenever I click on the Home Tab the sidebar calendar is removed. How can I get my sidebar calendar to appear on my HOME page just like it does for my other pages that I access through the Menu Tabs?

Check your Block settings (www.yoursite.com/admin/structure/block) there should be calendar block in sidebar. Check that the block is marked to be visible in all pages (from block settings).

OK here's the solution: Go to STRUCTURE --> BLOCKS and click on the "configure" link for the Calendar View in the block section SIDEBAR FIRST. Then click on the Content Types TAB, and UNCHECK all the content types. I thought by checking them all it would make the calendar visibal everywhere, but apparently that applied a restriction to the Home page. By Unchecking all the boxes, the view is now visible on the Home page.

Related

Where is storefront home page content

I just started to do a small project on storefront theme and I am able to remove, reorder homepage sections but I am trying to find where the actual functions located
would someone guide me where I can find the actual function for example storefront_homepage_content
1st you go to WordPress dashboard then see left sidebar and find setting tab then mouse hover on setting and click on reading.
now select a static page radio button then see your home page name.that name is your page name.
now go to pages and find same name page and click on edit.
now you able to change to your home page section.

WordPress: Not displaying changes of updated pages

I have update a page in my wordpress site using web admin back end, but what I see is that even if I update a page, it does not get updated online. Moreover, some of the content of the page which I see online /live are not actually texted in the area where we put the content.
On the right side navigator, in the page attribute area Parent has been set to No Parent, template --> Home Page.
Can you please let me know what could be the possible reason why the live content of the page is different from what I can see in the actual text area through web admin panel?
Also updating a page does not reflects on the page as well for that particular page.
First make sure you are editing the right page. Click in the frontend adminbar on edit instead of navigating in the backend through the pages list.
Secondly it can be any caching related issue. Check out if there are any plugins or settings for this.
Areas that are on the page but not editable via the content can be widgets or any kind of theme builder stuff. Check in the backend design->widgets.
The page hierarchy (parent: no parent) can be differ from the actually website navigation. Check out design->menus. It is possible to build other hierarchies in the menus.

How to redirect a wordpress page to a section of an existing page?

I know there are ways to URL-redirect a Wordpress page to another page via PHP and that you can use HTML to link to a section of a page...but how can I redirect to a section page?
For example, on my home page I have different sections, services and projects. In the main navigation I have a services link. How can I make that open the homepage but just on the homepage.
Ok so just tested this on my local wp install.
On the page you want to load part way down add the anchor you require eg:
<a id="Services"></a>
Then in wordpress > appearance > menus, select your menu. Then on the left hand side, click on 'Links'
Add the full URL of your page eg:
http://mywebsite.com/home/
Add to this the '#Services' tag to make it look like:
http://mywebsite.com/home/#Services
Then add it to your menu and save.
You should then be able to click on that button on your menu and the page will drop to the anchor tag when clicked. If you're having trouble with the poundsign/hashtag (#) then you might want to check for conflicting issues in plugins / your functions file - and even wordpress.org uses them on their own site.

Front page displays to a static page makes two homepage for wordpress

I am new to wordpress. I wanted to change my homepage to a static page, so I created a static page named home, then in Reading settings I set front page displays to Home. Now though clicking home button shows the contents of the page I have created, it shows two home buttons in my menubar. It looks very odd. How can I make it better.
You can customize the menu via Dashboard -> Appearance -> Menu.
Create a new menu and add the pages you need to show in menu.
Select the appropriate menu in center-left panel.
Try this way.

How to use view content as node content

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.

Resources