Include Content Holders in to Template | Adobe Business Catalyst

False:

{module_contentholder,3113420}

True Way: (This is best way to insert contentholder)

{module_contentholder,name="TEMPLATE - Headscript"}

("TEMPLATE - Headscript.html" - Contentholder File Name)

Web Apps List Limit for Custom Template | Adobe Business Catalyst

{module_webapps,News,a template="/Layouts/WebApps/News/customlist.tpl",,,,,10}

Duplicate Pagination | Adobe Business Catalyst

Add this duplicate pagination content where you want


<ul class="top-pagination"></ul>
<div class="Testimonials">
  {module_webapps,Testimonials,a}
</div>

Make sure jQuery is referenced in the HEAD of your HTML document or at least loaded before this script


<script>
  (function($){
    $(document).ready(function(){
      var targetEl = $(".top-pagination");
      var bcPagination = $(".pagination.webapp");
      if ( bcPagination.length && targetEl.length ) {
          console.log("Truth!");
        targetEl.html(bcPagination.html()).addClass("pagination webapp");
      }
    });
 
  })(jQuery);
</script>

Blog | Adobe Business Catalyst

Blog Title:

{tag_blogposttitle}

Blog Item URL:

{tag_itemurl_nolink}

Blog Custom Template:

{module_blogsitepost,3, template="/Layouts/Blog/sidebar-recent-blog.tpl"}

Blog Limit Characters in Description:

{tag_blogpostbody, 400, Read More→}

Blog Full Description:

{tag_blogpostbodypreview, Read More→}

Blog Image:

{tag_blogpostbody, 100, Read more→}

{tag_blogpostbodypreview}

BC Duplicate Pagination for News or Blogs | Adobe Business Catalyst

Insert in to the page where you wants


<ul class="top-pagination"></ul>
<div class="your-web-app-items">
  {module_webapps,your-web-app,a}
</div>

Insert this script to before the </head> closing tag


<script>
  (function($){
    $(document).ready(function(){
      var targetEl = $(".top-pagination");
      var bcPagination = $(".pagination.webapp");
      if ( bcPagination.length && targetEl.length ) {
          console.log("Truth!");
        targetEl.html(bcPagination.html()).addClass("pagination webapp");
      }
    });
 
  })(jQuery);
</script>

Reference url: https://gist.github.com/thetrickster/23e8990cc4a298eefb72

How to get Home page & Current page URL? | Adobe Business Catalyst

Home Page:  http://{module_sitehost}

Current page: {module_pageaddress}

Using custom templates for modules | Adobe Business Catalyst

Add a custom template

To create a custom module template, first decide on the module you want to customize. The tags available for a template differ depending on module being used.

  1. Open a code editor or Adobe Dreamweaver.
  2. Customize the template using HTML and the available tags for the module.
  3. Save the file with a .tpl extension.


    Note:Ensure that the page is not saved as a .html file. HTML files are automatically added as web pages when uploaded to your Business Catalyst site.
  4. Upload the .tpl file to your site using SFTP or the Business Catalyst file manager. See Upload files to the site.

Specify the template in a module

You can now specify the template you have added to your site by customizing the module inserted in a page.

  1. Open the page containg the module in editing mode by selecting Site Manager > Pages, and clicking the page in the tree view.
  2. Locate the module on the page. Example {module_announcement,a}.
  3. Modify the module tag by specifying the template path at the end of the module as below:

    {module,announcement,a template=”/path/to/mytemplate.tpl”}

    Replace "/path/to/mytemplate.tpl" with the file path to the file you have uploaded to your site.

    Note:Ensure you do not have a comma between the last parameter and the template reference. Example:
    • Correct syntax: {module,announcement,a template=”/path/to/mytemplate.tpl”}
    • Incorrect syntax: {module,announcement,a, template=”/path/to/mytemplate.tpl”}
  4. Click Update or Save Draft.
Reference url : http://helpx.adobe.com/business-catalyst/partner/using-custom-templates-modules.html

How to get dynamic Adobe Business Catalyst Page title?

<h1> {module_pagename} </h1>

Adobe Business Catalyst


Everything you need to build an online business

Deliver powerful business websites and online stores to your clients with an all-in-one hosted solution, built for web designers like you.