Comments (3)
I had to customize the module to do this as well. In your custom theme, create the directory Prince_Faq/layout. Copy the faq_index_index.xml file to this new directory. Use something like this, which will add the title and breadcrumbs:
<?xml version="1.0" ?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<title>Frequently Asked Questions</title>
<!-- <css src="Prince_Faq/css/faq.css"/> -->
<!-- <link src="Prince_Faq/js/faq.js"/> -->
</head>
<body>
<referenceBlock name="page.main.title">
<action method="setPageTitle">
<argument translate="true" name="title" xsi:type="string">Frequently Asked Questions</argument>
</action>
</referenceBlock>
<referenceBlock name="breadcrumbs">
<action method="addCrumb">
<argument name="crumbName" xsi:type="string">Home</argument>
<argument name="crumbInfo" xsi:type="array">
<item name="title" xsi:type="string">Home</item>
<item name="label" xsi:type="string">Home</item>
<item name="link" xsi:type="string">{{baseUrl}}</item>
</argument>
</action>
<action method="addCrumb">
<argument name="crumbName" xsi:type="string">Frequently Asked Questions</argument>
<argument name="crumbInfo" xsi:type="array">
<item name="title" xsi:type="string">Frequently Asked Questions</item>
<item name="label" xsi:type="string">Frequently Asked Questions</item>
</argument>
</action>
</referenceBlock>
<!--
<referenceContainer name="content">
<block class="Prince\Faq\Block\Index\Index" name="index.index" template="Prince_Faq::index/index.phtml"/>
</referenceContainer>
-->
</body>
</page>
from magento2-faq.
Hi @trucatchtraps Thanks for your reply.
from magento2-faq.
Hi @Fidelity88 You can add the title in
view/frontend/layout/faq_index_index.xml
<referenceBlock name="page.main.title"> <action method="setPageTitle"> <argument translate="true" name="title" xsi:type="string">FAQ Page</argument> </action> </referenceBlock>
I will add this improvment in next version of this module.
from magento2-faq.
Related Issues (20)
- Permissions issue on edit FAQ item HOT 1
- jQueryUI Compat HOT 1
- magento2.prince_faqgroup' doesn't exist HOT 1
- Page builder issue HOT 4
- FAQs everything visible when after page loaded HOT 2
- FAQ URL Page Accessible from Every URL HOT 1
- Selecting two ore even more groups in block wizard HOT 1
- Magento 2.3.0 Group Icon Not Uploading HOT 1
- Compile Error with setup:di:compile - Class not found HOT 1
- Idea for a new functionality for the next version of this module for Magento 2 HOT 1
- Styling with CSS HOT 3
- Getting error on composer install HOT 1
- How easy it is to remove category from the urls of this extension? HOT 1
- FAQs in group 10 also appear in group 1
- Not available via composer HOT 1
- take a look HOT 1
- Fallback to JQueryUI Compat activated. Your store is missing a dependency for a jQueryUI widget. Identifying and addressing the dependency will drastically improve the performance of your site. Compat.js HOT 1
- H2 HOT 1
- Not compliant with FAQ structured data HOT 2
- Deprecated Back Button Error on Php 8.2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-faq.