Wkhtmltopdf : How to add page number in table tfoot - wkhtmltopdf

By now, I can add page number to my page footer. But I need to add the page number into tfoot of my table rather than to my page footer. Is it possible to do this in wkhtmltopdf?
Here's the page number position I want to be looked

Related

How to hide rows in a Grid in The Master Page Header based on data returned and displayed on the page

I have a requirement to show a different header based on the content.
The header is a combination of logos and accompanying text that goes with the logo.
I need to display Company A logo or Company B Logo based on the data on the page.
The actuall content is a simple letter to the employee withe a few dynamic fields. There is a page break for every employee. The dataset contains the company name which drive the determination of the logo.
I tried a few things and was unsuccessful.
Any suggestions?
Probably the best idea is to not display the logo in the master page.
Instead, make the logo part of a group header with "repeat header" selected.

Magento 1.9 category product list in cms block won't display correctly; products shown on random rows

Working in Magento 1.9, I've used this code in a cms block to display products from a specific category:
{{block type="catalog/product_list" name="product_list" category_id="28" template="catalog/product/list.phtml"}}
The products from the category show up, but are distributed randomly on different rows. There are 5 products; 3 appear on the first row, 1 on the second, and 1 on the third.
I've tried adding more products, removing products, and adding column values to the shortcode, always with the same result: 3 products in 3 columns on the first row, then remaining products distributed on individual rows in the first column.
When viewing this particular category page all the products display fine.
I've tried using different category id's, with the same result.
Is there a problem with my shortcode, or some setting that I can change in the backend? I'm not skilled at php, and I don't have access to this client's ftp, so any changes to core files would have to go through another admin for this site.
The issue has nothing to do with magento. This question is about html & styling (CSS).
The last row's problem is this CSS, remove it if you can or rewrite it for this page:
.widget .products-grid li.item:nth-child(4n+1) {
clear: left;
}
It's a .widget specific style, so that's why you are having the issue only when inserting a widget block of products.

Custom Page Break in SSRS

I have a matrix report with several columns. I am trying to limit number of rows displayed on each page by inserting a page break. Since it has row groups all the data is growing vertically down on one page. Is there a way where I can control the number of rows on a page?
I have googled it a lot and found the solution where the rows were detail but in my case they all are row groups
Thanks in advance !

Add page number in page title - magento

Have one issue which don't like google for seo.
All the categories having the same title if going by pages in that category, so I want to add page number in page title. Is any solution?
Copy file from /app/code/core/Mage/Page/Block/Html/Head.php to app/code/local/Mage/Page/Block/Html/Head.php modify with the following code which is getting default page number.
Mage::getBlockSingleton('page/html_pager')->getCurrentPage();

How to display the products in a table format on the category page?

I have page of two columns with left bar. On the left side I have listed the categories and when I click on a category, the products display in the right column.
But there I have two options for displaying the products on the category page, one is "Grid" and the other is "list". And I want to display the products on the category page in a table form which will be my own custom table. So that it have one header row and then each row contains one product.
How will I do this?
There is such file as
(your template)/(your theme)/catalog/product/list.phtml
There you can edit your catalog template.

Resources