Autor | Zpráva | ||
---|---|---|---|
termit Profil |
Při zpracování BB značek došlo k samovolnému sežrání celého příspěvku. Pardon.
Zdravím pokročilé jsem v začátkách a nedaří se mi dostat ve výpisu kategorii vše do jedné řádky tj obrazek za ním popis a na konci cena. Odhaduji řešení v řádkách 251 - 286 .Je nějaké jednoduché řešení ? Děkuji za ochotu i čas |
||
mimochodec Profil |
termit:
Ten kód sem dej jako kód, tzn. označ a použij tlačítko se dvěma šipkami. A jestli tušíš chybu na nějakém řádku, má smysl jen relevantní část kódu nad ním a možná kousek pod ním. |
||
termit Profil |
#3 · Zasláno: 21. 9. 2012, 13:04:52
tady tedy řádky kde by to mělo být
// Show Products ?> <div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>"> <div class="spacer"> <div class="width10 floatleft center"> <?php echo JHTML::_('link', JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product->virtuemart_product_id.'&virtuemart_category_id='.$product->virtuemart_category_id),$product->images[0]->displayMediaThumb('class="catImage" border="0"',false)); ?> <!-- The "Average Customer Rating" Part --> <?php if ($this->showRating) { ?> <span class="contentpagetitle"><?php echo JText::_('COM_VIRTUEMART_CUSTOMER_RATING') ?>:</span> <br /> <?php // $img_url = JURI::root().VmConfig::get('assets_general_path').'/reviews/'.$product->votes->rating.'.gif'; // echo JHTML::image($img_url, $product->votes->rating.' '.JText::_('COM_VIRTUEMART_REVIEW_STARS')); // echo JText::_('COM_VIRTUEMART_TOTAL_VOTES').": ". $product->votes->allvotes; ?> <?php } ?> <?php if (!VmConfig::get('use_as_catalog') and !(VmConfig::get('stockhandle','none')=='none') && (VmConfig::get ( 'display_stock', 1 )) ){?> <!-- if (!VmConfig::get('use_as_catalog') and !(VmConfig::get('stockhandle','none')=='none')){?> --> <div class="paddingtop8"> <span class="vmicon vm2-<?php echo $product->stock->stock_level ?>" title="<?php echo $product->stock->stock_tip ?>"></span> <span class="stock-level"><?php echo JText::_('COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_TITLE_TIP') ?></span> </div> <?php }?> </div> <div class="width80 floatright"> <h4><?php echo JHTML::link($product->link, $product->product_name); ?></h4> <?php // Product Short Description if(!empty($product->product_s_desc)) { ?> <p class="product_s_desc"> <?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 0, '...') ?> </p> <?php } ?> <div class="product-price marginbottom12" id="productPrice<?php echo $product->virtuemart_product_id ?>"> <?php if ($this->show_prices == '1') { if( $product->product_unit && VmConfig::get('vm_price_show_packaging_pricelabel')) { echo "<strong>". JText::_('COM_VIRTUEMART_CART_PRICE_PER_UNIT').' ('.$product->product_unit."):</strong>"; } if(empty($product->prices) and VmConfig::get('askprice',1) and empty($product->images[0]->file_is_downloadable) ){ echo JText::_('COM_VIRTUEMART_PRODUCT_ASKPRICE'); } //todo add config settings if( $this->showBasePrice){ echo $this->currency->createPriceDiv('basePrice','COM_VIRTUEMART_PRODUCT_BASEPRICE',$product->prices); echo $this->currency->createPriceDiv('basePriceVariant','COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT',$product->prices); } echo $this->currency->createPriceDiv('variantModification','COM_VIRTUEMART_PRODUCT_VARIANT_MOD',$product->prices); echo $this->currency->createPriceDiv('basePriceWithTax','COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX',$product->prices); echo $this->currency->createPriceDiv('discountedPriceWithoutTax','COM_VIRTUEMART_PRODUCT_DISCOUNTED_PRICE',$product->prices); echo $this->currency->createPriceDiv('salesPriceWithDiscount','COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT',$product->prices); echo $this->currency->createPriceDiv('salesPrice','COM_VIRTUEMART_PRODUCT_SALESPRICE',$product->prices); echo $this->currency->createPriceDiv('priceWithoutTax','COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX',$product->prices); echo $this->currency->createPriceDiv('discountAmount','COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT',$product->prices); echo $this->currency->createPriceDiv('taxAmount','COM_VIRTUEMART_PRODUCT_TAX_AMOUNT',$product->prices); } ?> </div> </div> <div class="clear"></div> </div><!-- end of spacer --> |
||
Časová prodleva: 12 let
|
0