- Posts: 82
- Thank you received: 0
Pagination
how can i change the location of the Pagination from up to under hika category, enclose a pic how it is today?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
"Could not make the file /home/admin/domains/pickme.co.il/public_html/templates/jm-sport/html/com_hikashop/category/listing_div.php writable"
when i am going to the file, there is no file in that path, the file is under
public_html/components/com_hikashop/views/product/tmpl
when i try via ftp to change the file i am getting error, when you say near the top do you mean those lines:
<?php if($this->params->get('show_limit') && $this->pageInfo->elements->total){ ?>
<form action="<?php echo hikashop::completeLink(JRequest::getWord('ctrl').'&task='.JRequest::getWord('task').$this->itemid.'&cid='.reset($this->pageInfo->filter->cid)); ?>" method="post" name="adminForm_<?php echo $this->params->get('main_div_name').$this->category_selected;?>">
<div class="hikashop_products_pagination">
<?php echo $this->pagination->getListFooter(); ?>
<span class="hikashop_results_counter"><?php echo $this->pagination->getResultsCounter(); ?></span>
</div>
<input type="hidden" name="filter_order_<?php echo $this->params->get('main_div_name').$this->category_selected;?>" value="<?php echo $this->pageInfo->filter->order->value; ?>" />
<input type="hidden" name="filter_order_Dir_<?php echo $this->params->get('main_div_name').$this->category_selected;?>" value="<?php echo $this->pageInfo->filter->order->dir; ?>" />
Please Log in or Create an account to join the conversation.
Yes I mean those lines + the next 3 lines.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you try to edit the file components/com_hikashop/views/product/view.html.php and change the line:
$database->setQuery('SELECT DISTINCT count(*)'.$query);
by:
$database->setQuery('SELECT DISTINCT count(b.*)'.$query);
and try again ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
i think that it is not working for me, even if i changing the list to 1 product the Pagination is not showing.
BR
Amit
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
$database->setQuery('SELECT DISTINCT count(*)'.$query);
by:
$database->setQuery('SELECT DISTINCT count(b.product_id)'.$query);
in the file components/com_hikashop/views/product/view.html.php
That should be better.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
$database->setQuery('SELECT count( DISTINCT b.product_id)'.$query);
Please Log in or Create an account to join the conversation.
thanks a lot
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you activate the debug mode of joomla and copy/paste the queries related to the jos_hikashop_product table ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.