Homepage taking a different template in Magento - php

My magento installation at http://parisera.com shows the homepage with different template (Modern) while the inner pages use the template that I need (default).
Where is the control to change the homepage template?

Go into the administration, click CMS->pages, there you'll find Homepage as one of the options. You can modify the layout by clicking its design tab.

Related

Add a new page in OpenCart 3, Journal 3 theme and make it homepage

I have purchased an OpenCart 3, Journal 3 theme as suggested by a developer who promised to customize the website for me and he quit in the beginning. So I had customized it myself without any code knowledge. Now I wish to add a new page and make it as a homepage. Can can I do it with least coding knowledge?
If using Journal on OpenCart3 - just download demo data that you like the most and then edit the homepage.
In your journal theme archive you can find a folder DEMO DATA. There you will see 11 .sql files. Each file fore each specific template. Demonstration of each template here:
https://www.journal-theme.com/
To install demo data in your admin panel go to Jouranl - System - Import/Export. On the tab Import press Action and attach some of those .sql files. Done.
More about installing demo data here:
https://docs.journal-theme.com/docs/demos/demo
Now you can go to Journal - Modules - Title/Text, and edit homepage text, if there is some on you demo theme. Or add yours.
After adding Text - go to Journal - Layouts - Home and add your module with text to any place in Home layout.
UPDATED
In OpenCart you can't assign a role of a home page to any other page. There is only one Homepage. You have to configure homepage layout for the "first" page according to your task. But! For your "second" page - you can create custom layout and then - go to Catalog - Information, add new (or edit the existiong one), and on the editing page go to tab Design, and there in Layout Override find your custom layout. Now, if you are using SEO URL (Can turn on in System - Settings, tab Server - SEO URLs) - open tab SEO and add your Keyword to this an Information page. Now, the link to this info page will be like https://yourwebsite.com/keyword, and the layout of this page will be your custom layout. Use it for "second" page. But Homepage is Homepage, we can do nothing about it.

WordPress: Adding home page (=latest posts page) to navigation properly

I have a WordPress template displaying the latest posts on the home page (www.mydomain.bla) as it is the default setting in WordPress:
Now, I want to add a link referring to my home page in my navigation (with Appearance -> Menus). The only way I found to do this is by adding a custom link referring to my domain.
Here's my problem:
Even though the link itself does the job, one thing is not working. When navigating to a single post (like www.mydomain.bla/a-single-post) the needed classes indicating the parent link (current-post-ancestor current-menu-parent current-post-parent) do not appear to a custom link like they would to if I had a "Post page" which is not the Homepage.
Is there a way to add a link referring to my posts-showing homepage properly?
Thanks a lot for your help!
Create a new template named "Our blog" and paste the code for posts in this template. Now add a new page named "HOME", select OUR BLOG template and publish the page. Now go to the reading section under the setting tab and change the setting from your latest posts to a single page and select your HOME page.
Now you can add page rather than adding a custom link in the menu.

Drupal - how to hide headbar Menu in a page?

my website is : https://www.edqm.eu/
I need to create a new page, but I want a page without headbar menu.
Is it possible ?
If Yes, How is it possible to do it ?
the website is built with Drupal 7.
I'm not expert in dev and in Drupal.
Thank you for your help.
it should be possible and depending on your site setup, it can be even pretty simple. You have to find the menu block in /admin/structure/blocks and go to configure on the block, there you should see visibility settings and you can filter out your page.
Hope this helps.
Your header menu can be in:
Some block - just go to Structure -> Blocks from admin menu, find that block, click "Configure" link and in "Visibility settings" hide it by some criteria that is most suitable for your case (content type, page path..). If you have hard time finding which block is that use some inspection tool like Firebug or similar, to see block id. But if site is made well, when you are logged in as admin you'll have that "Configure" gear icon when hovering the block.
Menu can be part of some template file, most likely page template (/sites/all/themes/your_theme/templates/page.tpl.php). If that's the case then you can clone the template file and name the clone following the special naming convention so just the page you want to change will use that template. Then you can modify the clone and remove part that generates the menu. Check out this page for theming names suggestions:
https://www.drupal.org/docs/7/theming/template-theme-hook-suggestions

Adding a new homepage to Drupal

I'm just getting started with Drupal and have added my preffered modules. I have also added my front-end framework module - which is Foundation Zurb. Now I'd like to change the default blog-like structure of the site and would like to add a custom developed homepage. Been trying to put my head around this for over 3 days with no success. I followed the direction on the Drupal docs - which is a bit confusing and rigid but something I dont grasp is does the page--front.tpl.php actually end up being the home page? Also where would I put my css and other js scripts?
If this is the case then what would I need to do to add a navigation to this homepage which would then provide links to my site? Some mind opening guidance is welcome
You can set any node in any content type to be the home page. So first create your content type, then node in that type.
Then go to Confugration -> System -> Site information in admin menu and there you have Front page section. Add your page path to "Default front page" field and that's it - your page will become new home page.
You can also enable the default view "Frontpage" that has a path /frontpage. In this you can customize the sorting and filtering of what is being shown. Then visit the "Site information" page and set "/frontpage" as your default frontpage.

Exclude '/category/' from menu links URLs in WordPress

I work with wordpress site, where now category page is accessible from two types of links:
http://SITENAME.com/category/CATEGORY-NAME/
http://SITENAME.com/CATEGORY-NAME/
And from right-side menu the links shown as first type, which is wrong.
I need to setup side-menu links to looks like http://SITENAME.com/CATEGORY-NAME/ (without 'category' in every path).
How it can be done? I haven't found such settings neither in admin panel nor in templates...
I would recommend this plugin:
http://wordpress.org/plugins/wp-no-category-base/
The plugin requires no setup or modifying core wordpress files and will not break any links. It will also take care of redirecting your old category links to the new ones.
If you run a multilanguage site with WPML plugin, try this:
http://wordpress.org/plugins/no-category-base-wpml/

Categories