I'm trying to have it so my forum statistics addon is moved to the right side of the forum instead of the bottom.
I've tried using a float as well positioning fix.
Below is the whole small portion of the addon for my forum.
<xen:require css="pe_forum_stats.css" />
<div class="nodeList sectionMain" id="peStatsContainer">
<div class="peStatsBody">
<div class="categoryStrip">
<div class="categoryText">
<h3 class="nodeTitle">{xen:phrase forum_statistics}</h3>
</div>
</div>
<div class="peStatsContent">
<div class="peStatsMembersOnline">
<xen:if is="{$onlineUsers.records}">
<xen:if is="{$visitor.user_id}">
<xen:if hascontent="true">
<div class="peFollowedOnline">
<h4 class="minorHeading">{xen:phrase people_you_follow}:</h4>
<ul class="followedOnline">
<xen:contentcheck>
<xen:foreach loop="$onlineUsers.records" value="$user">
<xen:if is="{$user.followed}">
<li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
</xen:if>
</xen:foreach>
</xen:contentcheck>
</ul>
</div>
<h4 class="minorHeading">{xen:phrase members}:</h4>
</xen:if>
</xen:if>
<ol class="listInline">
<xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
<xen:if is="{$i} <= {$onlineUsers.limit}">
<li>
<xen:if is="{$user.user_id}">
<a href="{xen:link members, $user}"
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}"><xen:if is="{$xenOptions.peForumStatsRichUserName}">{xen:helper richUserName, $user}<xen:else />{$user.username}</xen:if></a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
<xen:else />
{xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
</xen:if>
</li>
</xen:if>
</xen:foreach>
<xen:if is="{$onlineUsers.recordsUnseen}">
<li class="moreLink">... {xen:phrase and_x_more, 'count={xen:number $onlineUsers.recordsUnseen}'}</li>
</xen:if>
</ol>
</xen:if>
<!-- <br /> Eh? -->
<div class="footnote">
{xen:phrase online_now_x_members_y_guests_z_robots_a, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}', 'robots={xen:number $onlineUsers.robots}'}
</div>
</div>
<xen:if is="{$xenOptions.peForumStatsLegend}">
<ul class="peUserGroupLegend">
<xen:if hascontent="true">
<xen:contentcheck>
<xen:foreach loop="$peForumStatsLegend" value="$peForumStatsLegend">
<li>
<span class="peGroups" style="{$peForumStatsLegend.usergroup.username_css}" title="{$peForumStatsLegend.usergroup.user_title}">{$peForumStatsLegend.usergroup.title}<span class="divider">|</span></span>
</li>
</xen:foreach>
</xen:contentcheck>
</xen:if>
</ul>
</xen:if>
</div>
<div id="peForumStats">
<ul class="sectionFooter peList_inline">
<li>{xen:phrase discussions}:</li> <span class="value">{xen:number $boardTotals.discussions}</span>
<li>{xen:phrase messages}:</li> <span class="value">{xen:number $boardTotals.messages}</span>
<li>{xen:phrase members_count}:</li> <span class="value">{xen:number $boardTotals.users}</span>
<li>{xen:phrase latest_member}:</li> <span class="value"><xen:username user="$boardTotals.latestUser" /></span>
</ul>
</div>
</div>
</div>
I'm hoping to have it appear at the right side of the forum and when I scroll down for it to not move at all.
Related
The template i'm using doesn't allow scrolling on load. You can only touch scroll after you have selected a collapsed menu item. Once you scroll back to the top it "locks" again (so-to-speak).
The main area that seems to be unscrollable is a slider. Can anyone tell me what I need to do to make this site be scrollable on load?
Any information is greatly appreciated.
The site is here... http://www.slicemfg.com
<div id="home">
<div class="tp-banner-container">
<div class="tp-banner" >
<ul>
<!-- THE FIRST SLIDE -->
<li data-transition="zoomout" data-slotamount="4" data-masterspeed="700">
<img src="images/1.jpg" alt="" /> }
<!-- THE CAPTIONS IN THIS SLIDE -->
<div class="caption big-text lft"
data-x="center"
data-y="350"
width="10px"
data-speed="700"
data-start="700"
data-easing="easeOutExpo">
<div class="big-text"><span4>YOUR IDEAS REALIZED</span4></br><div><a class="button3 scroll" href="#contact">CONTACT US</a></div></div>
</div>
</li>
<li data-transition="zoomout" data-slotamount="1" data-masterspeed="700">
<img src="images/14.jpg" alt="" />
<div class="just_pattern"></div>
<div class="caption big-text lft"
data-x="center"
data-y="center"
data-speed="700"
data-start="700"
data-easing="easeOutExpo"><div class="big-text"><span4>YOUR IDEAS REALIZED</span4></br><div><a class="button3 scroll" href="#contact">CONTACT US</a></div></div>
</div>
</li>
<li data-transition="zoomout" data-slotamount="1" data-masterspeed="700">
<img src="images/07.jpg" alt="" />
<div class="just_pattern"></div>
<div class="caption big-text lft"
data-x="center"
data-y="center"
data-speed="700"
data-start="700"
data-easing="easeOutExpo"><div class="big-text"><span4>YOUR IDEAS REALIZED</span4></br><div><a class="button3 scroll" href="#contact">CONTACT US</a></div></div>
</div>
</li>
<li data-transition="zoomout" data-slotamount="1" data-masterspeed="700">
<img src="images/04.jpg" alt="" />
<div class="just_pattern"></div>
<div class="caption big-text lft"
data-x="center"
data-y="center"
data-speed="500"
data-start="500"
data-easing="easeOutExpo"><div class="big-text"><span4>YOUR IDEAS REALIZED</span4></br><div><a class="button3 scroll" href="#contact">CONTACT US</a></div></div>
</div>
</li>
</ul>
</div>
</div>
</div>
To fix this issue, you need to add touchenabled:"off", to your revolution config.
Your config should now look like this:
(function($) { "use strict";
var revapi;
jQuery(document).ready(function() {
revapi = jQuery('.tp-banner').revolution(
{
delay:5000,
startwidth:2000,
startheight:500,
soloArrowRightVOffset:50,
soloArrowLeftVOffset:50,
hideThumbs:0,
onHoverStop:"off",
navigationType: "none",
fullWidth:"off",
fullScreen:"on",
fullScreenOffsetContainer: "",
touchenabled:"off" //Disable touch events.
});
}); //ready
})(jQuery);
I set :before property on my footer but I'm facing a repeating issue. I mean my image from :before property is repeated a lot of and I don't know why :/
See on my website it will be easier to understand :)
http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php
Here is my code
/*Insertion image TDB footer*/
div.footer-container ::before{
ontent:url("../img/Tonnerre/img_tdb_footer.png");
}
/*Fin insertion image*/
<div class="footer-container">
<footer id="footer" class="container" data-nb-cols="6">
<div class="container">
<!-- Block Newsletter module-->
<section id="newsletter_block_left">
<h4>Lettre d'informations</h4>
<div class="block_content">
<form action="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php" method="post">
<div class="form-group">
<input class="inputNew form-control newsletter-input placeholder" placeholder="Saisissez votre adresse e-mail" id="newsletter-input" type="text" name="email" size="18" value="">
<button type="submit" name="submitNewsletter" class="btn btn-default button button-small">
<span>ok</span>
</button>
<input type="hidden" name="action" value="0">
</div>
</form>
</div>
</section>
<!-- /Block Newsletter module-->
<section id="social_block" class="footer-block">
<h4 class="title_block">Nous suivre</h4>
<ul class="toggle-footer" style="">
<li class="facebook"><a class="_blank" href="https://www.facebook.com/tonnerredebelt/?fref=ts" target="_blank">Facebook</a></li>
</ul>
</section>
<!-- Block categories module -->
<section class="blockcategories_footer footer-block col-xs-12 col-sm-2">
<h4>Catégories</h4>
<div class="category_footer toggle-footer" style="">
<div class="list">
<ul class="tree dynamized" style="display: block;">
<li class="last">
<span class="grower CLOSE"> </span><a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?id_category=8&controller=category&id_lang=1" title="">
Produits
</a>
<ul style="display: none;">
<li>
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?id_category=10&controller=category&id_lang=1" title="Ceintures en cuir, noires, Bicolores, fantaisistes… Retrouvez tout l'univers de la marque celio* à travers sa E-boutique.">
Boucles
</a>
</li>
<li>
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?id_category=9&controller=category&id_lang=1" title="LIVRAISON & RETOUR GRATUITS◅ Retrouvez les ceintures homme en ligne | Grand choix parmi plus de 1 500 marques sur...">
Bracelets
</a>
</li>
<li class="last">
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?id_category=7&controller=category&id_lang=1" title="Ceintures : profitez de toutes nos offres du catalogue ceintures sur Galerieslafayette.com. N'hésitez pas vos achats sont satisfaits ou remboursés pendant 30 ...">
Ceintures
</a>
</li>
</ul>
</li>
</ul>
</div>
</div> <!-- .category_footer -->
</section>
<!-- /Block categories module -->
<!-- MODULE Block footer -->
<section class="footer-block col-xs-12 col-sm-2" id="block_various_links_footer">
<h4>Informations</h4>
<ul class="toggle-footer" style="">
<li class="item">
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?controller=prices-drop" title="Promotions">
Promotions
</a>
</li>
<li class="item">
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?controller=new-products" title="Nouveaux produits">
Nouveaux produits
</a>
</li>
<li class="item">
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?controller=best-sales" title="Meilleures ventes">
Meilleures ventes
</a>
</li>
<li class="item">
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?controller=contact" title="Contactez-nous">
Contactez-nous
</a>
</li>
<li class="item">
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?id_cms=3&controller=cms&id_lang=1" title="Conditions d'utilisation">
Conditions d'utilisation
</a>
</li>
<li>
<a href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/index.php?controller=sitemap" title="sitemap">
sitemap
</a>
</li>
<li>
© 2014 <a class="_blank" href="http://www.prestashop.com" target="_blank">Logiciel e-commerce par PrestaShop™</a>
</li>
</ul>
</section>
<!-- /MODULE Block footer -->
<!-- Block myaccount module -->
<section class="footer-block col-xs-12 col-sm-4">
<h4>Mon compte</h4>
<div class="block_content toggle-footer" style="">
<ul class="bullet">
<li>Mes commandes</li>
<li>Mes avoirs</li>
<li>Mes adresses</li>
<li>Mes informations personnelles</li>
</ul>
</div>
</section>
<!-- /Block myaccount module -->
<!-- MODULE Block contact infos -->
<section id="block_contact_infos" class="footer-block col-xs-12 col-sm-4">
<div>
<h4>Informations sur votre boutique</h4>
<ul class="toggle-footer" style="">
<li>My Company, 42 avenue des Champs Elysées
75000 Paris
France </li>
<li>
<span>0123-456-789</span>
</li>
<li>
<span>sales#yourcompany.com</span>
</li>
</ul>
</div>
</section>
<!-- /MODULE Block contact infos -->
<div id="block_facebook_like" class="block jq_slide_toggle">
<h4>Facebook</h4>
<div class="facebook-fanbox">
<div class="fb-like-box fb_iframe_widget" data-href="https://www.facebook.com/tonnerredebelt/?fref=ts" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false" data-width="292" fb-xfbml-state="rendered" fb-iframe-plugin-query="app_id=334341610034299&color_scheme=light&container_width=288&header=false&href=https%3A%2F%2Fwww.facebook.com%2Ftonnerredebelt%2F%3Ffref%3Dts&locale=en_US&sdk=joey&show_border=false&show_faces=true&stream=false&width=292"><span style="vertical-align: bottom; width: 292px; height: 214px;"><iframe name="f1cfcf364c" width="292px" height="1000px" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" title="fb:like_box Facebook Social Plugin" src="http://www.facebook.com/plugins/like_box.php?app_id=334341610034299&channel=http%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D42%23cb%3Df251877a6%26domain%3Diutdoua-webetu.univ-lyon1.fr%26origin%3Dhttp%253A%252F%252Fiutdoua-webetu.univ-lyon1.fr%252Ff3e4cbbb3%26relation%3Dparent.parent&color_scheme=light&container_width=288&header=false&href=https%3A%2F%2Fwww.facebook.com%2Ftonnerredebelt%2F%3Ffref%3Dts&locale=en_US&sdk=joey&show_border=false&show_faces=true&stream=false&width=292" class="" style="border: none; visibility: visible; width: 292px; height: 214px;"></iframe></span></div>
</div>
</div>
<!-- MODULE Block reinsurance -->
<div id="reinsurance_block" class="clearfix">
<ul class="width5">
<li><img src="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/modules/blockreinsurance/img/reinsurance-2-1.jpg" alt="Échange en magasin"> <span>Échange en magasin</span></li>
<li><img src="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/modules/blockreinsurance/img/reinsurance-3-1.jpg" alt="Paiement à l'expédition."> <span>Paiement à l'expédition.</span></li>
<li><img src="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/modules/blockreinsurance/img/reinsurance-4-1.jpg" alt="Livraison gratuite"> <span>Livraison gratuite</span></li>
<li><img src="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/modules/blockreinsurance/img/reinsurance-5-1.jpg" alt="Paiement 100% sécurisé"> <span>Paiement 100% sécurisé</span></li>
<li><img src="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/modules/blockreinsurance/img/" alt="Satisfait ou remboursé"> <span>Satisfait ou remboursé</span></li>
</ul>
</div>
<!-- /MODULE Block reinsurance -->
<a id="logo_footer" href="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/" title="Tonnerre De Belt">
<img class="logo" src="http://iutdoua-webetu.univ-lyon1.fr/~p0902398/prestashop/img/tonnerre-de-belt-logo-1447323498.jpg" alt="Tonnerre De Belt" width="1681">
</a>
</div>
</footer>
</div>
Thanks for helping :)
Alexis
The problem may be in your selector. You are doing this way in your site:
.footer-container *::before
{
content:url("../img/Tonnerre/img_tdb_footer.png");
}
See that * in your selector? It means that you want all child elements of .footer-container to have that css applied. You probably don't want it to work like this, I think.
Maybe you can try .footer-container::before to apply just before the elements that contains the .footer-container class, which is just one element.
You should do a background-image and background-repeat properties in your footer
.footer-container ::before {
content: " ";
background-image: url("../../img/Tonnerre/img_tdb_footer.png");
background-repeat: no-repeat;
}
Do not forget to add height and width to your element in before:
.footer-container ::before {
content: " ";
background: url("../../img/Tonnerre/img_tdb_footer.png") no-repeat;
height:100px;
width:100px;
background-size:100%;
}
So I'm trying to make a custom login bar for my Xenforo website theme, I've created a custom navigationbar and am trying to add in the Login etc but when I do it I get this: http://i.imgur.com/oyau6b5.png
Can anyone help me make it so it's all on 1 line instead of 3 seperate lines? My website is www.royaltymc.net
Here is the actual bar code:
<div class="navTabs4">
<xen:if is="#uix_pageStyle==1">
<div class="pageWidth">
</xen:if>
<ul class="publicTabs navLeft">
<xen:if is="( #uix_navigationStickyLogo && #uix_stickyNavigation ) || #uix_navStyle == 2">
<li id="logo_small">
<a href="{$logoLink}">
<xen:if is="#uix_smallLogoPath">
<img src="#uix_smallLogoPath">
<xen:elseif is="#uix_logoText"/>
<h2 class="uix_textLogo"><xen:if is="#uix_logoTextIcon"><i class="uix_icon #uix_logoTextIcon"></i></xen:if><xen:if is="#uix_logoText">#uix_logoText</xen:if></h2>
<xen:else/>
<img src="#headerLogoPath" alt="{$xenOptions.boardTitle}" />
</xen:if>
</a>
</li>
</xen:if>
<!-- Shop -->
<xen:if is="#uix_loginTriggerPosition == 1">
<xen:include template="uix_loginTab" />
</xen:if>
<!-- extra tabs: middle -->
<xen:if is="{$extraTabs.middle}">
<xen:foreach loop="$extraTabs.middle" key="$extraTabId" value="$extraTab">
<xen:if is="{$extraTab.linksTemplate}">
<li class="navTab {$extraTabId} <xen:if is="#uix_removeTabLinks">{xen:if $extraTab.selected, 'selected'} Popup PopupControl PopupClosed<xen:else />{xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}</xen:if>">
NoPopupGadget</xen:if>"<xen:if is="!#uix_navDropdownArrows"> rel="Menu"</xen:if>>{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if>
<div class="<xen:if is="#uix_removeTabLinks">Menu JsOnly tabMenu<xen:else />{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}</xen:if> {$extraTabId}TabLinks">
{xen:if '{$extraTab.selected} && #uix_pageStyle == 1 && !#uix_removeTabLinks', '<div class="pageWidth">'}
<div class="primaryContent menuHeader">
<h3>{$extraTab.title}</h3>
<div class="muted">{xen:phrase quick_links}</div>
</div>
{xen:raw $extraTab.linksTemplate}
<xen:if is="{$extraTab.selected}"><xen:include template="uix_tabLinksSearch" /></xen:if>
{xen:if '{$extraTab.selected} && #uix_pageStyle == 1 && !#uix_removeTabLinks', '</div>'}
</div>
</li>
<xen:else />
<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}">
NoPopupGadget</xen:if>"<xen:if is="!#uix_navDropdownArrows"> rel="Menu"</xen:if>>{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if>
<xen:if is="!#uix_removeTabLinks"><xen:if is="{$extraTab.selected}"><div class="tabLinks"><xen:include template="uix_tabLinksSearch" /></div></xen:if></xen:if>
</li>
</xen:if>
</xen:foreach>
</xen:if>
</ul>
<xen:if is="{$uix_searchPosition} == 2">
<xen:include template="uix_searchMinimal" />
</xen:if>
<xen:if is="#uix_pageStyle==1"></div></xen:if>
</div>
Here is my HTML Login Bar Code: (Lot's of uncessary code, not sure which bits to take out)
<xen:if is="!{$visitor.user_id} && {$contentTemplate} != 'login' && {$contentTemplate} != 'login_with_error'">
<li class="navTab login{xen:if '#uix_loginTriggerStyle == 2', ' Popup PopupControl'} PopupClosed">
<xen:if is="#uix_loginTriggerStyle == 1"><label for="LoginControl"></xen:if>
<a href="{xen:link login}" class="navLink uix_dropdownDesktopMenu{xen:if '#uix_loginTriggerStyle == 2', ' NoPopupGadget'}{xen:if '#uix_loginTriggerStyle == 3', ' OverlayTrigger'}"{xen:if '#uix_loginTriggerStyle == 2', 'rel="Menu"'}>
<xen:if is="#uix_loginTriggerIcons"><i class="uix_icon uix_icon-signIn"></i> </xen:if>
<strong><b><font color="white">Login</font></b></strong>
</a>
<xen:if is="#uix_loginTriggerStyle == 1"></label></xen:if>
<xen:if is="#uix_loginTriggerStyle == 2">
<div class="Menu JsOnly tabMenu uix_fixIOSClick">
<div class="secondaryContent uix_loginForm">
<xen:include template="uix_loginForm" />
</div>
</div>
</xen:if>
</li>
<a> or </a>
<xen:if is="#uix_loginShowRegister && {$contentTemplate} != 'register_form'">
<li class="navTab register PopupClosed">
<a href="{xen:link register}" class="navLink">
<xen:if is="#uix_loginTriggerIcons"><i class="uix_icon uix_icon-register"></i> </xen:if>
<strong><font color="white"> Create a new account</font></strong>
</a>
</li>
</xen:if>
</xen:if>
Here is my code CSS for it:
NOTE: If you need any other code, don't hesitate to ask!
.navTabs4
{
#property "navTabs";
font-size: 14px;
color: #fff;
background-color: #00254F;
line-height: 37px;
text-align: center;
border-color: #uix_primaryBorder.border-color;
border-radius: #uix_globalLargeBorderRadius;
background-clip: content-box;
#property "/navTabs";
height: 40px;
}
Add this CSS code to your stylesheets:
.navTab { display: inline-block; }
If it doesn't work, try adding !important after the inline-block statement.
How can I make tx_news use the pagination styles from the Bootstrap Package?
In your TS add config
plugin.tx_news {
widget.GeorgRinger\News\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:YOURPATH/Resources/Private/Templates/Ext/tx_news/Templates/
}
and add there
YOURPATH/Resources/Private/Templates/Ext/tx_news/Templates/ViewHelpers/Widget/Paginate/Index.html
then some code
{namespace n=GeorgRinger\News\ViewHelpers}
<f:renderChildren arguments="{contentArguments}" />
<div class="row">
<div class="col-md-12">
<div class="clearfix"></div>
<div class="hidden-xs hidden-sm">
<f:render section="paginator" arguments="{pagination: pagination, configuration:configuration, class:'pagination-lg'}" />
</div>
</div>
<div class="col-xs-12 visible-xs">
<f:render section="paginator" arguments="{pagination: pagination, configuration:configuration, class:'pagination-sm'}" />
</div>
<div class="col-md-12 visible-sm">
<f:render section="paginator" arguments="{pagination: pagination, configuration:configuration, class:'pagination-lg'}" />
</div>
</div>
<f:section name="paginator">
<f:if condition="{pagination.numberOfPages} > 1">
<f:if condition="{settings.list.paginate}">
<f:if condition="{pagination.current} > 1">
<n:headerData><link rel="prev" href="<f:widget.uri arguments="{currentPage: pagination.previousPage}" />" /></n:headerData>
</f:if>
<f:if condition="{pagination.nextPage}">
<n:headerData><link rel="next" href="<f:widget.uri arguments="{currentPage: pagination.nextPage}" />" /></n:headerData>
</f:if>
</f:if>
<ul class="pagination {class}">
<f:if condition="{pagination.previousPage}">
<f:then>
<li class="previous">
<f:if condition="{pagination.previousPage} > 1">
<f:then>
<f:widget.link arguments="{currentPage: pagination.previousPage}">←</f:widget.link>
</f:then>
<f:else>
<f:widget.link>←</f:widget.link>
</f:else>
</f:if>
</li>
</f:then>
<f:else>
<li class="disabled">
←
</li>
</f:else>
</f:if>
<f:for each="{pagination.pages}" as="page">
<f:if condition="{page.isCurrent}">
<f:then>
<li class="active">{page.number}</li>
</f:then>
<f:else>
<li>
<f:if condition="{page.number} > 1">
<f:then>
<f:widget.link arguments="{currentPage: page.number}">{page.number}</f:widget.link>
</f:then>
<f:else>
<f:widget.link>{page.number}</f:widget.link>
</f:else>
</f:if>
</li>
</f:else>
</f:if>
</f:for>
<f:if condition="{pagination.nextPage}">
<li class="last next">
<f:widget.link arguments="{currentPage: pagination.nextPage}">→</f:widget.link>
</li>
</f:if>
</ul>
</f:if>
</f:section>
Pls dont forget edit your folder path
I want to add snippets into my code using mikroformats.
I succeced on rating item name and availability however, whatever i try price does not display.
Here it is the code;
<ul itemprop="offerDetails" itemscope="" itemtype="http://data-vocabulary.org/Offer" class="uk-subnav uk-subnav-line">
<meta itemprop="priceCurrency" content="TRY"> <li itemprop="price" class="element element-text">
<strong>Fiyatı: </strong>8,00 ₺
</li>
<li class="element element-select">
<strong><span itemprop="availability" content="in_stock">Porsiyon</span>: </strong>1
</li>
<li class="element element-relatedcategories">
<strong>Köken: </strong>Türk Mutfağı
</li>
</ul>
Also i tried this but it did not work either;
<ul itemprop="offerDetails" itemscope="" itemtype="http://data-vocabulary.org/Offer" class="uk-subnav uk-subnav-line">
<meta itemprop="priceCurrency" content="TRY">
<li class="element element-text">
**<strong>Fiyatı: </strong> <span itemprop="price">8,00</span>** ₺
</li>
<li class="element element-select">
<strong><span itemprop="availability" content="in_stock">Porsiyon</span>: </strong>1
</li>
<li class="element element-relatedcategories">
<strong>Köken: </strong>Türk Mutfağı
</li>
</ul>
I think i am missing something but i cannot see.
Here is the full code that works with ratings;
<div itemscope="" itemtype="http://data-vocabulary.org/Product">
<h1 itemprop="name" class="uk-h1"> Tavuklu Salata </h1>
</div>
<div class="uk-margin element element-rating">
<div id="3194f2e2-b29e-4a6b-8555-17c58b42ed6c-547708aa747b1" class="yoo-zoo rating">
<div class="rating-container star5">
<div class="previous-rating" style="width: 100%;"></div>
<div class="current-rating">
<div class="stars star5" title="5 / 5"></div>
<div class="stars star4" title="4 / 5"></div>
<div class="stars star3" title="3 / 5"></div>
<div class="stars star2" title="2 / 5"></div>
<div class="stars star1" title="1 / 5"></div>
</div>
</div>
<div class="vote-message">
5.0/<strong>5</strong> derecelendirme (1 oy) </div>
<div itemscope="" itemtype="http://data-vocabulary.org/Review-aggregate">
<meta itemprop="itemreviewed" content="Tavuklu Salata">
<div itemprop="rating" itemscope="" itemtype="http://data-vocabulary.org/Rating">
<meta itemprop="average" content="5.0">
<meta itemprop="best" content="5">
</div>
<meta itemprop="votes" content="1">
</div>
</div>
<script type="text/javascript">
jQuery(function($) {
$('#3194f2e2-b29e-4a6b-8555-17c58b42ed6c-547708aa747b1').ElementRating({ url: '/salatalar?task=callelement&format=raw&item_id=22&element=3194f2e2-b29e-4a6b-8555-17c58b42ed6c' });
});
</script>
</div>
<ul itemprop="offerDetails" itemscope="" itemtype="http://data-vocabulary.org/Offer" class="uk-subnav uk-subnav-line">
<meta itemprop="priceCurrency" content="TRY">
<li itemprop="price" class="element element-text">
<strong>Fiyatı: </strong>8,00 ₺</li>
<li class="element element-select">
<strong><span itemprop="availability" content="in_stock">Porsiyon: </strong>1</li>
<li class="element element-relatedcategories">
<strong>Köken: </strong>Türk Mutfağı</li>
</ul>
Problem solved.
It turns out that i have to put currency type before price itself;
<strong>Fiyatı: </strong>**TL** 8,00 ₺</li>