Template Cutin Guide

Template Cutin Guide

Overview Uploading a Template layouts sub-page template <$headerplugins> $logo1 <$menu> <$pagetitle> <$body> <$section> <$blog> <$sidebarcontrol> <$sidebarmenu> $single <$snippet> <$include> edittext label $viewlink <$cartitems> <$carttotal> <$domain> <$userfullname> <$userid> <isHomePage> <IsNotHomePage> <else> logic options <$copyright> <$trademark> <$date> <$year> File Versioning Social Media Links

$viewlink

Macro$viewlink
Purpose This tag inserted into a URL will automatically create a link to the corresponding item. For example, when using the $blog macro, If inserted into a url, it will a link to the blog post on the blog page.
Special NotesThis tag is only used inside a $blog, $blogcategories, $testimonials, and $news macro.
Example UsageEXAMPLE

<a href="#" $viewlink>Read More</a>

*Note: The # in the href of the link is just a place holder for a non-functional link. When you click on a link like this, nothing will happen. But regarless if it's a plae holder or a link perhaps to a static html file, it will be converted to a link that goes to the blog post.

ORIGINAL CODE

<div id="post">

     <img src="images/photo1.jpg" alt="" />
     <p>New services we offer</p>
     <span class="date">2.13.2013</span>
     <span class="summary">We've recently introuduced some new exciting services</span>
     <a href="#">Read More</a>

     <img src="images/photo2.jpg" alt="" />
     <p>New services we offer</p>
     <span class="date">2.13.2013</span>
     <span class="summary">We've recently introuduced some new exciting services</span>
     <a href="#">Read More</a>

     <img src="images/photo3.jpg" alt="" />
     <p>New services we offer</p>
     <span class="date">2.13.2013</span>
     <span class="summary">We've recently introuduced some new exciting services</span>
     <a href="#">Read More</a>

</div>


AFTER

<div id="post">

     <$blog maxrows="3" tagid="post">
     <img src="images/photo[].jpg" alt="" $image>
     <p $topic>New services we offer</p>
     <span class="date" $date dateformat="mm/dd/yyyy">2.13.2013</span>
     <span class="summary" $summary>We've recently introuduced some new exciting services</span>
     <a href="#" $viewlink>Read More</a>
     <$blog>

</div>