6/4/2015 - 1:09 PM

iFeedback Custom Home Design

iFeedback Custom Home Design

{* Change code of home.tpl to *}

   * We offer the best and most useful modules PrestaShop and modifications for your online store.
   * We are experts and professionals in PrestaShop
   * @category  PrestaShop
   * @category  Module
   * @author <>
   * @copyright 2011-2014 PresTeamShop
   * @license   see file: LICENSE.txt

   <div id="home_ifeedback" class="block">
    <div id="div_content" class="block_content ifeedback_block_content">

        <div id="punctuationStar">
        <div class="comment-detail-si">
        <div class="comment-detail-customer">
        <div class="comment-detail-options">
            <span class="comment-detail-button">
                {if $is_ps_15}
                <a href="{$link->getModuleLink('ifeedback', 'rating')}">{l s='Ver más opiniones' mod='ifeedback'}</a>
                <a href="{$ifeedback_dir}actions.php?action=viewRating&token={$IFB_STATIC_TOKEN}">{l s='Ver más opiniones' mod='ifeedback'}</a>
            <span class="comment-detail-button">
                {if $ifb_allow_guest || $is_logged}
                <input type="button" name="btnDisplayComment" id="btnDisplayComment" class="ifeedback-button button" value="{l s='Escribir una opinión' mod='ifeedback'}"/>
                    {l s='You must be registered to place a rating and comment.' mod='ifeedback'}

    <div class="clear clearfix"></div>
/* ADD to de style.css bottom */

/*Home hook new design*/
#home_ifeedback {
    margin-top: 10px !important;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 3px #DDD;
    padding: 10px 20px;
    box-sizing: border-box;
#home_ifeedback .comment-detail-si{
    padding: 20px 0;
    font-size: 20px !important;
    font-style: italic;
    color: #1A1A1A;
#home_ifeedback div.comment-detail-si:before, #home_ifeedback div.comment-detail-si:after {
    content: '"';

#home_ifeedback .comment-detail-customer{
    font-size: 16px;
    padding-right: 20px;

#home_ifeedback .comment-detail-button{
    padding: 5px 15px;
    border-radius: 15px;
    margin-top: 10px;
#home_ifeedback .comment-detail-button:hover{
    background: -webkit-linear-gradient(top,  #FFEB9D, #FF9A27); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(top,  #FFEB9D, #FF9A27); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(top,  #FFEB9D, #FF9A27); /* For Fx 3.6 to 15 */
    background: linear-gradient(top,  #FFEB9D, #FF9A27); /* Standard syntax (must be last) */

#home_ifeedback #btnDisplayComment {
    box-shadow: none;
    text-align: center;
    text-decoration: none !important;
    padding: 0px !important;
    text-transform: none;
    font-size: 12px !important;
//in hookHome() line 813 add:

'name_customer' => $feed['name_customer'],