Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter burzlbaum

    (@burzlbaum)

    I guess here is no support. I wrote an email and got an reply in the next 24h.

    If someone else is interested in the solution:



    Dear Martin,

    The header, footer and logo is automatically placed. If you want to change this, then do not use the options for the images.

    You can add img-tags with a full qualidied URL to the image. The PDF library will add it then. You can checkout the second template how you could use table-tag to position the elements. Not all HTML is supported, but most of it and CSS too.

    You can expose the value with TWIG in ticket designer test template.

    {{ item.get_meta_data|json_encode() }}

    Or brutal: 

    {{ METAOBJ|json_encode() }} 

    This will show your the meta data construct, so that you get the meta name to get the right meta data of the item.

    To inspect the values of the order items use this code within the ticket template test designer:

    {% for item_id, item in ORDER.get_items %}
    {{ item.get_meta_data|json_encode() }}
    {% endfor %}

    Your Vollstart Support Team,

    Best regards
    Vollstart Support Department
    burzlbaum

    (@burzlbaum)

    @ucmartino
    i had the same issue and I solved it. Maybe this works for you too.

    First I searched for the design I used (mine is Design 24) and found the needed index.php here:
    “wp-content/plugins/service-showcase-pro/template/designs/design-24/index-24.php”

    There I figured out how the “read more” link works and tried it with other options.

    I added under line 42
    $wpsm_sb_link="<a class='wpsm_read_more' href='$sb_all_contents_btn_link_url' $link_target>$sb_link_text</a>";

    This Code:
    $sb_all_contents_title="<a class='wpsm_title' href='$sb_all_contents_btn_link_url' $link_target>$sb_all_contents_title</a>";

    I use the grid layout so I changed a few things a few lines down.

    There is this part:

    //For Grid
    				if($sb_all_contents_view_type=="grid"){$sb_grid_clear_both= "<div style='clear:both'></div>";}
    					
    				?>
    				<div class="<?php echo $sb_Layout_Cls;?>">
    					<div class="wpsm_serviceBox_<?php echo $PostId;?>" id="wpsm_serviceBox_<?php echo $PostId."_".$i;?>">
    						<div class="wpsm_service_icon" >
    							<?php if($sb_all_contents_btn_img_or_icon=='Icon'){?>
    								<i class='<?php echo $sb_all_contents_icons;?>'></i><?php } 
    							else { ?>
    								<img src='<?php echo $sb_all_contents_images;?>' style=''/><?php } ?>
    						</div>
    						<div class="wpsm_service_content">	
    							<h3 class="wpsm_title"><?php echo $sb_all_contents_title;?></h3>
    							<div class="line"></div>
    							<p class="wpsm_description"><?php echo $sb_all_contents_description;?></p>
    							<?php echo $wpsm_sb_link;?>
    						</div>	
    					</div>
    				</div>
    				<?php if($i%$row==0)  //for grid
    	

    And I changed it to this:

    //For Grid
    				if($sb_all_contents_view_type=="grid"){$sb_grid_clear_both= "<div style='clear:both'></div>";}
    					
    				?>
    				<div class="<?php echo $sb_Layout_Cls;?>">
    					<div class="wpsm_serviceBox_<?php echo $PostId;?>" id="wpsm_serviceBox_<?php echo $PostId."_".$i;?>">
    						<div class="wpsm_service_icon" >
    							<?php if($sb_all_contents_btn_img_or_icon=='Icon'){?>
    								<i class='<?php echo $sb_all_contents_icons;?>'></i><?php } 
    							else { ?>
    								<img src='<?php echo $sb_all_contents_images;?>' style=''/><?php } ?>
    						</div>
    						<div class="wpsm_service_content">	
    							<h3 class="wpsm_title"><a href='$sb_all_contents_btn_link_url' $link_target><?php echo $sb_all_contents_title;?></a>							</h3>
    							<div class="line"></div>
    							<p class="wpsm_description"><?php echo $sb_all_contents_description;?></p>
    							<?php echo $wpsm_sb_link;?>
    						</div>	
    					</div>
    				</div>
    				<?php if($i%$row==0)  //for grid	

    I wasn’t able to get a working link on the icon too. But I don’t really need it very much. The link on Title was something I really wanted.

    Hope it helps you too!

    Btw. this changes might be gone after a plugin update. Don’t know for sure but we will see.

    • This reply was modified 6 years ago by burzlbaum.
    Thread Starter burzlbaum

    (@burzlbaum)

    Thanks for your quick answer!

    I don’t need the option, that users can send their own testimonials. Is it possible to remove Star 1 and 2 and set a different Skala by editing a few templates?

    so I get 3 3,5 4 4,5 5 instead the current stars?

    So i “just” have to tell the template to use half star image (or font)?

Viewing 3 replies - 1 through 3 (of 3 total)