You'll find a folder named 'drupal-6.xx' inside. This folder contains all of the Drupal files needed to set up a CMS (Content Maagement System) for your website. Extract & Place The Drupal Files. Using WampDeveloper Pro, go to the Websites Tab, and select your website in the list by single-clicking it. Then click the DocumentRoot button. Drupal 101: Installing Drupal 8. The entire process doesn’t deviate from Drupal 7 very much, and almost all the fields to be filled are exactly the same. It’s just a slightly different look and feel in terms of UI. According to the official documentation, Drupal will create the settings.php and services.yml files during installation. Drupal will then create all of the ta- bles in the database. The final configuration screen in the install process is where you specify the name of your site, the site’s email address, the administrator account details, the sites default country, and time zone (see Fig 1.3).
I created a few .'phtml'
files in my custom theme. Currently, I create a block & widget in the backend to call them on my cms home page.
Is that the correct way?
If I, for example, want to use my custom theme on another magento2 installation, these '.phtml' files aren't included on the cms home page anymore and blocks & widgets need to be created manually.
Should I handle that stuff different? Maybe include into XML? If yes, how?
Thanks a lot for clarification :))
3 Answers
app/design/frontend/Vendor/theme/Magento_Cms/layout/cms_index_index.xml
or direclty in CMS home page content as follows
Kishan PatadiaKishan PatadiaUse this code in your cms content:
where Namespace_Module will be your module name in which the phtml exists such as Magento_Catalog.
Copy app/design/frontend/Vendor/theme/Magento_Cms/layout/cms_index_index.xml
to your theme directory app/design/frontend/namespace/themename/Magento_Theme/layout/cms_index_index.xml
and add following in it:-
Not the answer you're looking for? Browse other questions tagged magento2templatephtml or ask your own question.
Drupal Installation Phtml File File
I am having an issue in my Magento installation where changes to .phtml files are not reflected on the frontend. I've verified that I am editing the right .phtml file by enabling the debug options for template hints. I've also cleared all Magento and Browser cache. Is there anything else I can do in addition to this to get frontend changes to show up?
Edit: The location of the file is
The line from the XML that defines this template is
The layout xml file is located at
Here is the relevant section of the XML.
Here is the setting from the module's config.xml that points to the layout xml
Drupal File Manager
djamesdjamesDrupal Installation Phtml File Download
1 Answer
I used to have this issue when I first started as well. For me it had nothing to do with any code, but rather the fact that I had Cloudflare enabled on my site. Simply changing my website's mode to Development mode fixed it and I seen changes immediately, rather than it taking days for things to show. If your new file dates aren't updating in your FTP after uploading, your issue is identical to mine. Purging the cache via Cloudflare works as well.
Drupal Installation Phtml File Free
Of course, if you're not using Cloudflare, ignore this.