
страница материала
#11
Отправлено 04 January 2013 - 16:44
http://home.vmorskom.../panfilovcev-21
сделал все как надо full
<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php if ($this->checkPosition('title')) : ?>
<h1 class="title"><?php echo $this->renderPosition('title'); ?></h1>
<?php endif; ?>
<?php if ($this->checkPosition('gallery')) : ?>
<div class="full-gallery">
<?php echo $this->renderPosition('gallery'); ?>
</div>
<?php endif; ?>
<?php if ($this->checkPosition('text')) : ?>
<div class="description_text">
<?php echo $this->renderPosition('text'); ?>
</div>
<?php endif; ?>
<?php
echo $this->renderPosition('rating', array(
'style' => 'jbblock',
'class' => 'align-left',
)
);
?>
<div class="clear clr"></div>
<?php echo $this->renderPosition('social', array('style' => 'jbblock')); ?>
<?php if ( $this->checkPosition('tab-text')
|| $this->checkPosition('tab-gallery')
|| $this->checkPosition('tab-properties')
|| $this->checkPosition('tab-reviews')
|| $this->checkPosition('tab-comments')
|| $this->checkPosition('tab-text')
) :
$positionParams = array(
'style' => 'jbblock',
'tag' => 'div',
'labelTag' => 'h3',
'clear' => true
);
?>
<div id="jbzoo-tabs" class="rborder">
<ul>
<?php if ($this->checkPosition('tab-text1')) : ?>
<li><a href="#tab-text1">Номера</a></li>
<?php endif; ?>
<?php if ($this->checkPosition('tab-text2')) : ?>
<li><a href="#tab-text2">Цены</a></li>
<?php endif; ?>
<?php if ($this->checkPosition('tab-properties')) : ?>
<li><a href="#tab-properties">Инфраструктура</a></li>
<?php endif; ?>
<?php if ($this->checkPosition('tab-gallery')) : ?>
<li><a href="#tab-gallery">Галерея</a></li>
<?php endif; ?>
<?php if ($this->checkPosition('tab-reviews')) : ?>
<li><a href="#tab-reviews">Карта</a></li>
<?php endif; ?>
<?php if ($this->checkPosition('tab-comments')) : ?>
<li><a href="#tab-comments">Отзывы (<?php echo $item->getCommentsCount();?>)</a></li>
<?php endif; ?>
</ul>
<?php if ($this->checkPosition('tab-text1')) : ?>
<div id="tab-text1"><?php echo $this->renderPosition('tab-text1', $positionParams); ?></div>
<?php endif; ?>
<?php if ($this->checkPosition('tab-text2')) : ?>
<div id="tab-text2"><?php echo $this->renderPosition('tab-text2', $positionParams); ?></div>
<?php endif; ?>
<?php if ($this->checkPosition('tab-gallery')) : ?>
<div id="tab-gallery"><?php echo $this->renderPosition('tab-gallery', $positionParams); ?></div>
<?php endif; ?>
<?php if ($this->checkPosition('tab-properties')) : ?>
<div id="tab-properties">
<ul class="item-properties"><?php echo $this->renderPosition('tab-properties', array('style' => 'list'));?></ul>
</div>
<?php endif; ?>
<?php if ($this->checkPosition('tab-reviews')) : ?>
<div id="tab-reviews"><?php echo $this->renderPosition('tab-reviews', $positionParams); ?></div>
<?php endif; ?>
<?php if ($this->checkPosition('tab-comments')) : ?>
<div id="tab-comments"><?php echo $this->renderPosition('tab-comments', $positionParams); ?></div>
<?php endif; ?>
</div>
<?php $this->app->jbassets->jQueryUi(); ?>
<script type="text/javascript">
jQuery(function ($) {
$('#jbzoo-tabs').tabs();
});
</script>
<?php endif; ?>
<?php echo $this->renderPosition('related', array('style' => 'jbblock', 'labelTag' => 'h2', 'clear' => true)); ?>
и позитион
<?xml version="1.0" encoding="utf-8"?>
<renderer>
<positions layout="full">
<position name="title">Title</position>
<position name="gallery">Gallery</position>
<position name="text">Text</position>
<position name="rating">Rating</position>
<position name="tab-text1">Tab: text1</position>
<position name="tab-text2">Tab: text2</position>
<position name="tab-gallery">Tab: gallery</position>
<position name="tab-properties">Tab: properties</position>
<position name="tab-reviews">Tab: reviews</position>
<position name="tab-comments">Tab: comments</position>
<position name="social">Social</position>
<position name="related">Related</position>
</positions>
<positions layout="teaser">
<position name="cell1">Table cell #1</position>
<position name="cell2">Table cell #2</position>
<position name="cell3">Table cell #3</position>
<position name="cell5">Table cell #5</position>
<position name="cell6">Table cell #6</position>
<position name="cell7">Table cell #7</position>
<position name="cell8">Table cell #8</position>
</positions>
<positions layout="submission">
<position name="main">Main</position>
<position name="properties">Properties</position>
</positions>
<positions layout="compare">
<position name="fields">Fields</position>
</positions>
</renderer>
http://home.vmorskom...sn-business-305
скопировал full в папку продукт и добавил позиции
<positions layout="full">
<position name="title">Title</position>
<position name="gallery">Gallery</position>
<position name="text">Text</position>
<position name="rating">Rating</position>
<position name="tab-text1">Tab: text1</position>
<position name="tab-text2">Tab: text2</position>
<position name="tab-gallery">Tab: gallery</position>
<position name="tab-properties">Tab: properties</position>
<position name="tab-reviews">Tab: reviews</position>
<position name="tab-comments">Tab: comments</position>
<position name="social">Social</position>
<position name="related">Related</position>
</positions>
но вывод материала изменился почему?
#12
Отправлено 04 January 2013 - 21:21
В итоге из последнего вашего сообщения я так и не понял в чем у вас проблема...
Отключайте проверку лицензий как можно скорее!
— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.
#13
Отправлено 04 January 2013 - 22:09
и скопировал в продукт
данные из full u position
получил
http://home.vmorskom...sn-business-305
и текст опять съехали
в чем может быть причина?
#14
Отправлено 04 January 2013 - 22:33
нет этого -
.jbzoo-app-flat .full-gallery {
float: left;
width: 60%;
}
#15
Отправлено 05 January 2013 - 00:25
пробовал http://htmlbook.ru/css/width не выходит?
#16
Отправлено 05 January 2013 - 06:26
Отключайте проверку лицензий как можно скорее!
— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.
#17
Отправлено 05 January 2013 - 11:26
теперь проблема с отступом от рамки таблицы ставлю <table cellpadding="5" width="100%" border="1"> в Dreamweave, все работает а когда заливаю на сайт нет?
#18
Отправлено 05 January 2013 - 12:27
Отключайте проверку лицензий как можно скорее!
— Есть два типа людей: Кто еще не делает бекапы и кто уже делает бекапы.
#19
Отправлено 05 January 2013 - 13:32
Можно ли на главной странице после поля "смотрите также" добавить еще один "разделы нашего магазина" но с другой категории допустим "недвижимость"
#20
Отправлено 05 January 2013 - 14:20