BigCommerce - how to add an extra column in the category page layout? - bigcommerce

I am new to this so I hope my question is relevant and useful to others.
I have a bigcommerce store and I removed the side category display panel from the category page (I did not want a side category to dispay) but this has now left me with only 4 columns of products displayed on a page 5 columns wide. Could any kind person tell me how to add an extra column of products, so that the page width is full again, or how to alter the image size so that 4 columns of product images fills the space previously occupied by 4+sidecategory ?

To change the layout of your category page you require to do change in category.html. As per your requirement you need to remove the below code from the category.html (Any change in this file will reflect in all your category pages)
<div class="Left fleft">
%%SNIPPET_SubCategories%%
%%Panel.SideCategoryShopByPrice%%
</div>
I am saying to remove the entire side column div because you want the full page layout but you can just remove the particular snippets or panels which you don't want but with that sometime what happens is like any panel which is currently not active from admin panel but later whenever it will active then it shows the problem like your layout will display with side column having that particular panel and also your wide column (products column) with 5 products in a row.
After this you have to do change in css file named styles.css, In this file search for the .ProductList li in which you can see the width which is given in percentage to 25 so please make it to 20.
Please save the above files and you can see the changes.
Thanks.

Related

How can we get the sum of the current page rows/data and how do we know new page is being added in multipage widget?

How to find sum of all the rows in a particular page. I am using Multipage widget and my data (rows) span across multiple pages. So i want to achieve the below.
End of the every page i want to show, sum of number of rows printed in this particular page.
I show the data by grouping the category. for ex, if i take the classic example of invoice page that was given in dart-pdf package in the below screen shot, it shows 10 detail record rows in this page. so in the footer record for this page, i want to show total number of row = 10 and total $ amt = 955.82. This is one problem i am facing. Footer callback function is being called after all detail records are painted and hence i assume i can't use this callback. but i can try store the detail records count in some global variable and can use this in footer call back but the problem is how do i know this is last row is being written in this page. I am unable to find out any call back to say new page is added or end of page etc. if i know this is end of the page then i can count how many rows written so far. similarly if we have any callback explaining new page is being added when data span across multiple pages that would be nice to achieve.
Another use case is, assume that your invoice page (above screen shot) is given for one category (in other words group by category) and if this category span across to next page then in next page first row, i should say this "same category invoice records are continued in this page". In order to show this, i need to know whether new page is being painted or not. is there a way to achieve this?
my widget tree is pdf.addpage -> multipage -> Table -> tablerow -> other widgets.
Appreciate the response. Thanks!

Exporting the SSRS Report in pdf format is having blank page issues

In SSRS Report 2016, I have 2 tablixes. The 2nd tablix contains only 4 columns.
When I preview the report, It comes perfectly in one page but when I export the report in PDF format or click on the Print Layout button in the report, the whole 2nd table/tablix moves to the next page.
In my case, the sum (Body Width + Left margin + Right margin) is less than the resulting page width. I set keep_together property to false but the 2nd table keeps rendering on the new page. If the 2nd table has less content then it displays below the first table on the same page and if the content is a little bit large then the whole table shifted to the next page and if the content is too big then it starts displays on the 1st page below the first table on the same page and continues on next pages with the remaining content. All the thing is happening when I am exporting report in PDF format, not on report preview.
Any solution for this?
Do you have dynamic col grouping or hidden textboxes ? in this case you need to make sure that when all the col visible on the reports it must have sum of width and margins less than the reports width.
Cross check the report width from properties window sometimes it contains white spaces because of which this happens.
Check whether you have added a page break after the tablix. If you did, and if there is nothing else to show after the tablix, then it will display blank on the next page.
Another possible reason that may bring blank page is that there exists large white space between tablix and page footer.
Please try these points once. Hope it resolve your issue.

ngx datatable vertical scroll bar does not come back to start of page if there there are more records than defined page size

Pre condition -
Have pagination, searchTerm, and vertical scrolling implemented and works fine.
records to show per page = 25
Steps to reproduce
User has searched for say 'batMan0' in the list of 100 files. Let's say names are from batMan001.txt to batMan099.txt.
User then scrolls to say page 2 by grabbing scrollbar and pulling it down. Now total number of files on the table is = 50 ( batMan001.txt to batMan050.txt)
Now user refines the search term to 'batMa', (so that search result increases). Once the search is finished, pageNumber resets to 0. This is OK.
The Problem -
Problem is with scroll bar. It does not come back to first row of the table and stays at the same place where user has left on table last time. And because of this, the rows are not visible and user has to scroll up to see the table rows.
How can I fix this issue i.e. bring back the scroll bar to first position.
Any help would be highly appreciated.

PageNumber / TotalPages on group header in report .rdlc

I have a .rdlc report where I have no header (I have group headers)
I want to put the PageNumber on the group header.
If I use Globals!PageNumber I get this error:
The Value expression for the textrun 'Textbox12.Paragraphs[0].TextRuns[3]' refers to the global variable PageNumber or TotalPages. These global variables can be used only in the page header and page footer
Is there any way I could do this?
If there is no possibility to put this data on a group header...is there any possibility of overlap a header with the group header on a same line?
Global variables can't be used outside of the header/footer, as there is no relationship between the header/footer and body areas. Therefore, there is no easy and precise way to display the page number in the body area.
However, as suggested by user Raymond-Lee in the second link, you can try to calculate it yourself by dividing a given row number by the total number of rows per page (and adding one if the page number will always be the first row). Nonetheless, this would take a bit of effort.
First you need to have the Page Header/Footer showing, then you can add items to it. To show it, right click in the pale yellow area of the Layout view. Then select Page Header and/or Page Footer, this will create another section on your report where you can add items. Or, you can go to the Report menu option and enable the Page Header/Footer from there.
link

SSRS: The content of the tabix doesn't go to next page although page breaks have been added

I have problem with SSRS 2008
My rdl file can be downloaded from: https://www.dropbox.com/s/qsvreevwfnb5n1w/rep10studentyearlyreport_new.rdl?dl=0
My problem is that even after I set Add a page break before for table of 'Student Enrichment Programme', when I export to pdf file, the content of Student Enrichment Programme doesn't start at new page. Please take a look at the picture belows:
https://www.dropbox.com/s/i3jvdwmmhoaexa7/pdfFile.png?dl=0
try on the report on Tablix Properties
To add a page break to a data region
1 On the design surface, right-click the corner handle of data region and then click Tablix Properties.
2 On the General tab, under Page break options, select one of the following options:
- Add a page break before. Select this option when you want to add a page break before the table.
- Add a page break after. Select this option when you want to add a page break after the table.
- Fit table on one page if possible. Select this option when you want the data to stay on one page.
On the design surface, right-click the corner handle of data region and then click Tablix Properties.
After that On the General tab, under Page break options, select one of the following options
SET On Tablix Properties Under PageBreak Set Breaklocation = Start
![enter image description here][4]