Are you tired of repeatedly adding the same elements to every new page you create? Good news! This LightCMS release brings you the ability to define default elements that are automatically placed on your page when you create it. Keep reading to learn more about default page elements and the other new features included in this release.
Default Elements for New Page
If you repeatedly create pages with a similar design layout then Default Page Elements will simplify how you create new pages. If you need a page with a slightly different layout, simply delete the elements you don’t need. Or if one of your standard elements should reside in a different region for a particular page, drag the element where it needs to go.
Default element configuration is controlled by page template files. This lets you define the default elements based on the type of page. To set up default page elements you add a defaultElements attribute to the region tags in the page template files. The values for the attribute specify the default elements that will be added to the region.
Possible values include the following:
To populate a region with multiple default elements, enter a comma separated list of the values for the defaultElements attribute. The following sample region tag illustrates an example of populating the main region of the page with three default elements:
<$region name="main" defaultElements="image,text,form"$>
You can use the LightCMS source editor to add default elements to your template regions or you can edit the files locally and upload your template files. Use the method that works best for you. The following screen shot from the LightCMS Source Editor shows three different regions, each with defaultElements.
If a page region should have no default elements, do not add the defaultElements attribute to that region tag.
When you create a page, the page layout is based on the site's default template, so be sure to add the defaultElements attribute to the default template files. After the page is created, you can change the template file on the Page Settings Advanced tab if necessary, and your default elements will remain on the page.
Default Heading Level for Element Titles
Every SEO-conscious site owner will appreciate Default Heading Levels for Element Titles. Part of optimizing your pages for search engines is to give the page structure and organization with headings.
The Element Title Default Heading Level feature enables you to set a default heading level to apply to each element title displayed on the page. This means when you create an element and check the Display this Title Box, the title will be given the heading level you specify here. With this release, all element titles will remain at the H1 heading level. Any title for new elements will be given the H2 heading level. This is more desireable since SEO best practice states that a page should have only one H1 heading.
To change the heading level for all of your element titles, go to your Site Settings and on the SEO subtab select the heading level from the Element Title Headings dropdown list.
Favicons are a finishing garnish on a thoughtfully-designed website. The favicon brands your site with an icon in the browser’s address bar, bookmarks, and history. With this LightCMS release it becomes easier than ever to set up your site’s favicon using the new Favicon Upload feature.
To upload a favicon, go to the site settings and on the Basic tab, click the upload button in the Favicon section.
This lets you browse to your favicon file. The file must be an .ico file, less than 5 MB in size, and the dimensions should be up to 48px by 48px. If the file is not named favicon.ico, at the time of the upload it will be renamed to favicon.ico.
After uploading, the page displays your favicon. To view the change, you may need to click the go here link on the screen and refresh the browser.
After you have uploaded a favicon, you can change it at any time by clicking the Change button and uploading a new .ico file.
To see what else this release includes, take a look at the 2015.3 release notes below.
2015.3 Release Notes
- You can now specify default page elements to automatically add to a page when you create it. Read the Editable Regions help topic for additional information.
- The site Settings Basic tab now includes a Favicon upload option.
- You now have the ability to change all of the element titles to any heading level from H1 to H6. This gives you more SEO control with regard to the heading level used for your element titles. Titles for existing elements will remain at H1 and titles for new elements will be set to H2. You can change the heading level for all element titles on the site Settings SEO tab.
Note: See the Default Page Elements, Title Heading Levels, and Favicons blog post for more information on these features.
- The website is now updated to show that Stripe payments are active when a user clicks the button to activate Stripe payments for their store and signs in to Stripe.
- Corrected the issue that occasionally caused an image import to fail when images were imported with products in a product import.
The CVV field on the subscriptions page now allows entry of all zeroes for the CVV code.
- In some situations the form element displayed a message that the form was in trial mode even though it wasn't.
Posted on Tue, March 24, 2015
by Support filed under