-
Notifications
You must be signed in to change notification settings - Fork 88
Entity Frontend Settings
tzyganu edited this page Aug 27, 2014
·
1 revision
In this section you can define how your entity will behave on frontend.
You can configure the following fields:
-
Create frontend files - If this is set to
Yes
then the frontend files of your entity will be created. If this is set toNo
, all the other fields in this section will not be available. -
Create entity list files - If you set this to
yes
, your entity instances will have a list page. - List page template - You can choose the template for your entities list page from the available magento templates. This is active only if you choose to create list files.
-
Add link to list in menu - If you chose to create the list files for your entity, you can select here one of the available menus where to have a link to your entities list page. Note: Some of the menus might not be available in all the themes. It depends if the theme is similar or not with the default theme:
- Do not include in any menu - The link will not be added in any menu
- Include in top links. (near My account, Checkout, ...)
- Include in category menu - the link will be added at the end of your category menu.
- Include in footer links. The link will be added to the footer section
- Create entity view files - If this is set to 'Yes', the files needed for the page details of your entity are created.
- View page template - If you choose to create entity view files, you can select from here the page template from the available templates.
- Add SEO attributes - If this is set to 'Yes', 3 extra fields/attributes will be added to your entity, 'meta_title', 'meta_keywords' and 'meta_description'. The values of these fields/attributes will be added used for the details page of your entity. This is available only if you choose to create a view page.
-
Create URL rewrites - If you set this to 'Yes', a new field will be added to your entity called
url_key
. This will allow you to use SEF URLs for your entity view pages. Example:http://mysite.com/some-key-here.html
. This is only available if you chose to create the entity view files. -
List page url rewrite - this is the URL key where your entity page will be displayed. If you leave it empty the list page will respond at the default url
module/controller/action
. This setting can be changed after installing the extension from the configuration panel. -
URL prefix - If you choose to have URL rewrites, you can add a prefix (
news
for example) for your URL's. The prefix can be changed later from the configuration area. -
URL suffix - If you choose to have URL rewrites, you can add a suffix (
html
for example)for your URL's. The suffix can be changed later from the configuration area. -
Create RSS feed - If this is set to 'Yes', a RSS feed with your entities will be added to the list or Magento RSS feeds. Also a new fields called
in_rss
will be added to your entity. This will allow you to filter the entities listed in the RSS feed. You can disable the RSS feature later from the configuration section of your module. - Create widgets - If this is set to 'Yes', 2 (3 for tree behaving entities) new widgets will be added to the list of widgets that can be used in CMS pages and CMS blocks. One widget will allow you to add a link to your entity instance and one will allow you to add a few details about your entity in CMS page or block. For tree entities you will have available a 'sub' tree widget. Useful if you want to add a submenu somewhere.
-
Allow comments - If this is set to
Yes
the users of your website will be able to comment on your custom entities. Comments will be moderated. This option is available only if "Create frontend view" is set to 'Yes'. - Enable/disable comments for each instance - This setting will add a new attribute/field that will allow you to enable/disable the comment form for each entity instance. This option is available only if "Allow comments" is set to 'Yes'.
- Getting started
- Compatibility
- Installation
- Features
- How to use
- Module grid
- Add/Edit form
- General Settings Tab
- Entities Tab 1. Entity - Name settings 2. Entity - Backend settings 3. Entity - Frontend settings 4. Entity - Products 5. Entity - Categories 6. Entity - Fields/Attribute
- Entity Relations Tab
- Help Tab
- Configuration
- Naming Restrictions
- Generated files
- Sample 1. UMC Config file 2. Tables 3. Backend CRUD 4. Config section 5. Fronend listing 6. Fronend view 7. Product relation 8. Category relation 9. RSS Feed 10. API 11. Widgets 12. Comments 13. Translation
- Created extensions
- Concept
- Limitations
- Issues & Support
- Release Notes
- Uninstall
- License
- Thanks