How to edit magento home page via code? - magento

Hello I'm trying to edit home page
http://www.kreatifyazilim.com/magento/
For example I want to write code on the middle part of the page, ( banner )
The dropdown boxes you can see on demo must be included in banner side.

Go to Magento admin->CMS->Pages
Select Home Page
In Content Tab, add your dropdown

Create a new template (home.phtml).
(make a copy of design/frontend/base/default/template/page/1column.phtml).
And choose this template in the CMS Page design layout.
You can freely edit the complete template (PHP+HTML)

Related

How to add a button on a template in magento 2

I want to add a WhatsApp button on a template by default instead of doing this on each page
I want to add a button like this
we are using Magento page builder
should de here, in this section
I'm a beginner in Magento, and I have access to the admin page and the server. I don't know where it's modified from

How to make "Display in Menu" default setting OFF in DNN

Is there a way to have the non-display option on page creation in DNN set to OFF as default?
You can create a page that has all of the settings that you want, then save a page template for that page. The page template can be used to create additional pages. (There is a place to specify the page template in the Create New Page UI.)

adding slider in magento to cms page

{{block type="bannerslider/default" name="bannerslider.bannerslider" template="bannerslider/bannerslider.phtml" bannerslider_id="your_bannerslider_id"}}
I am trying to add a slider using the above code, to a cms page in Magento.
My banner id is called mySlider, so have done:
{{block type="bannerslider/default" name="bannerslider.bannerslider" template="bannerslider/bannerslider.phtml" bannerslider_id="mySlider"}}
Nothing shows.
I saw that someone recommended setting each banner to the day before it was creating but that didn't work either.
You should copy module files to your current template files. So that you have bannerslider/bannerslider.phtml in your templates folder.
Also look if slider is active and with slider content.
You should use the banner ID which is the number in the first column in the admin panel (under the section for managing the slider). What you are using now is simply the title.

I change the footer on Magento, but it only apply to the homepage

I am using Magento, I change the footer by click "CMS/Static Blocks/Footer Links", but this change only apply to the home page, how do I make this change apply to the whole website?
Your homepage can youse one layout, and all of other pages can use different layout. For example: homepage has 1-column, and other pages - 2columns-left. First - go to CMS->pages->homepage. Open design tab and check, wich layout use your homepage. Second, in design tab, in xml-update can be overrided a homepage template. So you will code only home page template, and it will no affect other pages. If so - figure out, wich template is used on other pages (f.e. 2-columns-left.phtml), and change it too.

How to create custom page template in folder

If I want a page that pulls product information (like an iPhone) from the server, how do I create a new page template for it and link it back to the main page? I don't need to create a new template directory. I just want to create a page that lists a product in a very specific way.
You can do it easily in Wordpress(http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates), but it's near impossible in Joomla without jumping through hoops!
Edit:
What I am talking about is how to add different page layouts for something I call a product page and then having a main page(index.php). Essentially, is there a way to have two template layouts in one template file? It seems so wasteful to have to create a new template directory if I want to tweak the layout of simple pages.
I'm not sure what you mean by "pull product information", but this is how you create new "pages"
To create new "pages", all you need to do is create a new article. To do this go to:
Joomla Backend >> Content >> Article Manager >> New
then you need to create a new menu item. To do this go to:
Joomla Backend >> Menus >> Main Menu (optional) >> New
and link the menu item to the article you created.
If there is something more specific you need to suit your needs, try on the Joomla Extensions Directory

Resources