Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

How to insert code
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: How to insert code
#6590
How to insert code 14 Years, 3 Months ago Karma: 0
Hello,
I need to set the sorting by price on the following pages ..

www.biggest.cz/index.php/cs/prodej2/stavebni-stroje?view=category&layout=category

and I do not know how to insert a code module into your pages. In programming, unfortunately I am not too strong.
Can I ask for advice please?
Thank you for your reply.
Martin
The administrator has disabled public write access.
 
#6592
Re:How to insert code 14 Years, 3 Months ago Karma: 760
Hello,

If you want to embed the module into an article use 'Content - ARI Data Tables' plugin which comes with extension package. Install and enable plugin. After this type the following code in an article:

Code:


{aridatatables moduleId="MODULE_ID"}{/aridatatables}



Where MODULE_ID is necessary module id. For example if 'ARI Data Tables' module has ID = 19, use the next code:

Code:


{aridatatables moduleId="19"}{/aridatatables}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#6593
Re:How to insert code 14 Years, 3 Months ago Karma: 0
Thanks for the quick reply.
In your package "arismartcontent". I just plug JDataTable. Can I use this?
Advertisements for the above link use components Yoo - the zoo, so I'll probably have to code for sorting tables add to the PHP file. The procedure is what please?
The administrator has disabled public write access.
 
#6596
Re:How to insert code 14 Years, 3 Months ago Karma: 0
ґI attach a further source php. Price= "cena".

?>
<div class="teaser-item">
<?php if ($item) : ?>

<?php
$elements = $item->getElements(true);
$link = JRoute::_($this->link_base.'&view=item&category_id='.$this->category->id.'&item_id='.$item->id);

$specifications = array();
foreach ($elements as $name => $element) {
if (in_array($element->type, array('radio', 'select', 'text', 'textarea')) && $element->name != 'description') {
$specifications[] = $element;
}
}
?>

<table cellspacing="0" cellpadding="0" width=600px>
<tr>
<td width=130px>
<?php if (isset($elements['obrazek'])) : ?>
<a class="obrazek" href="<?php echo $link; ?>" title="<?php echo $item->name; ?>">
<?php echo $elements['obrazek']->render(ZOO_VIEW_CATEGORY); ?>
</a>
<?php endif; ?>
</td>

<td width=180px>
<h2 class="name"><a href="<?php echo $link; ?>" title="<?php echo $item->name; ?>"><?php echo $item->name; ?></a></h2>
</td>

<td width=100px>
<?php if (isset($elements['druh'])) : ?>
<a class="druh">
<?php echo $elements['druh']->render(ZOO_VIEW_CATEGORY); ?>
</a>
<?php endif; ?>
</td>

<td>

<div> <?php if (isset($elements['cena'])) : ?>
<a class="cena">
<font color="red"><strong><?php echo $elements['cena']->label; ?></strong> <?php echo $elements['cena']->render(ZOO_VIEW_CATEGORY); ?>
</a>
</font>
<?php endif; ?>
</div>

<div>
<?php if (isset($elements['rok_vyroby'])) : ?>
<a class="rok_vyroby">
<strong><?php echo $elements['rok_vyroby']->label; ?></strong> <?php echo $elements['rok_vyroby']->render(ZOO_VIEW_CATEGORY); ?>
</a>
<?php endif; ?>
</div>

<div>
<?php if (isset($elements['motohodiny'])) : ?>
<a class="motohodiny">
<strong><?php echo $elements['motohodiny']->label; ?></strong> <?php echo $elements['motohodiny']->render(ZOO_VIEW_CATEGORY); ?>
</a>
<?php endif; ?>
</div>

<div>
<?php if (isset($elements['hmotnost'])) : ?>
<a class="hmotnost">
<strong><?php echo $elements['hmotnost']->label; ?></strong> <?php echo $elements['hmotnost']->render(ZOO_VIEW_CATEGORY); ?>
</a>
<?php endif; ?>
</div>

</td></tr>
</table>
<?php endif; ?>
</div>
The administrator has disabled public write access.
 
#6599
Re:How to insert code 14 Years, 3 Months ago Karma: 760
If you want to wrap HTML table which is generated with help this PHP code, wrap it with {arijdatatable} tag. In other word, code will look like:

Code:


... some PHP code ...
{arijdatatable}
<table>
... some PHP code ...
</table>
{/arijdatatable}
... some PHP code ...



If you use this code not in Joomla! article, use 'System - ARI Smart Content' plugin instead of 'ARI Content Content' plugin. 'System - ARI Smart Content' can be downloaded here on F.A.Q. tab.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#6675
Re:How to insert code 14 Years, 2 Months ago Karma: 0
I tried to follow your instructions, but unfortunately to no avail ..
The administrator has disabled public write access.
 
Go to topPage: 12