opencart Product page DIV - opencart

Not sure if this is where I post but I've got a lot of answers here so I thought I'd ask I'm in the throws of modifying the product page in open cart V2.0.2.0, I'm no web designer or programmer so I need all the help I can get. Here's my problem I want to add content to the left of the main product image on the product page , now I know that in modules I can create HTML content then display it on the product page through layouts but this pushes the description tabs along to the right leaving a large gap under the left hand column, what I would like is to have a div on the left that extends down to the bottom of the main image and keeps the description over to the left.
I've tried modifying the product TPL file in various ways but to no avail. Any ideas would be gratefully received.
How I want it to look
Regards Chris

To help you better understand, opencart calls templates like this
header - column left - column middle - column right - footer
What you need to do is to add that block to the middle column, then make a few template/css adjustments. If you throw it in the column left, it'll them echo the column left, which produces the result you've shown us. Assign the block to the middle or go into the template file catalog/view/theme/(yourtemplate)/product/product.tpl and hardcode that block.
Good luck!

Related

Best way to make a list of rows and column in wxpython with each row having buttons in last column?

I want to make a list of n rows with m columns. Last column must contain a button which on clicking deletes the entire row which that button belongs to.
Click here to see my desired GUI.
I have already looked for wx.grid and didn't get any success.
My questions are
Can this be achieved by using wx.ListCtrl?. If yes then how?
Which is the best wx widget other than wx.grid to achieve this.
Any sample code or illustration will be appreciated.
Thanks

How do I start a table at a certain point on the first page of my document and have it continue to the next if necessary? XSL-fo

I have a table I want to start at some point on this first page I'm making and I understand that if I put a block container with position absolute with properties top and left I will get the inside content to start from that point I need. But the content won't go to the next page and it will be cut off at the end of this current one.
I also know that if I put a block:container position as relative it will go on to the next page like I need it too. But it's starting point cannot be defined like it can with position: absolute. So I am stuck! Anyone know how to do this?
There's multiple alternatives:
Use space-before on the fo:table so that it's pushed down the page the required distance.
Make an fo:simple-page-master for the first page that has an fo:region-body (with the applicable region-name) that has a top margin that will put the top of the fo:region-body at the required distance. If your FO processor supports XSL 1.1, you can have multiple fo:region-body in an fo:simple-page-master, so if there's other stuff at fixed positions before the table on the first page, you have the option of putting them in separate flows.

xsl:fo how to check new page appears and special ouput

Hi guys my issue: I have a table with 2 colums and if a new page appears in the left column should be displayed a text like "continue page".
What is the best way to implement it and how :)
Here a picture it should look like :
First Page:
Second Page (If the table goes over 2 Sites):
Thank you for your help guys

Dynamic footer row prints outside the content area

I'm using LiveCycle Designer ES 8.2.1. I also have a web application injecting data into the report I created with LiveCycle. The basic structure is the following:
1 Master page with 1 page and a content area containing a table filled with a list of object. My table has 1 header row, 2 body rows and a footer row that is added dynamically with page break condition.
The logic behind that is written in FormCalc. Our objects are sent as a list which fills either one or the other body row based on a type. Each object has an "authority" property with a certain value that are used to mark the pages. The list of object is sorted by authority. So, when the current iterating object has a different authority than the previous one, we insert a page brake and the footer row. Everything is wraped in a subform that is "In Content Area" (Object/Pagination/Place).
The problem is that the footer row is not considered as part of the content area. If the last line of a section fits tight in the content area, the footer row overflows outside the content area and even the whole page in some cases.
Here are more details:
We tried any combination of subform wraping and ticking of the "Allow page break with content" check box.
We tried changing the type of the footer row for a body row in case footers were different than body rows.
We tried every combination of "Keep with" and "place".
We tried to change the footer row to a body row and have it displayed on every page and that work, but our client refused the solution...
Starting with the above (pt 4) template and changing back the body to footer row brought us to the begining
To the best of our knowledge, we tried everyting possible...
What I'm looking for is either a confirmed bug for version 8.2.1 about this or a solution other than redesigning the whole report.

Infragistics WebDataGrid column layout not maintained on Insert and Delete

I've come across this weird issue with the Infragistics WebDataGrid control.
When the grid starts, it appears ok, headers on the header row. There are no entries, so the only row displayed below is the "add" row.
I then load data into the grid from my AJAX code-behind. It appears ok. The 3 new rows appear, the "add" row sits below. Everything clean.
I then click the delete "x" in the 2nd row (sidenote: this is a template column and is the first column in the grid, so why it appears at the end I do not know). The AJAX kicks in and the 2nd row is removed. But the grid refreshes odd. It looks like a new column has appeared on the "add" row, which has thrown the other rows and header out.
It is functionally correct, but visually a mess.
NOTE: This also happens when you add a new entry from the "add" row.
FYI - I have followed pieces of Craig Shoemaker's example, however I bind my datasource in the code-behind, amongst other changes. (http://community.infragistics.com/aspnet/articles/webdatagrid-client-side-crud.aspx).
Anyone know what causes this / how to fix it?
Chris,
I tested this and I wasn't able to reproduce this. I would recommend that if you can still reproduce this you post the issue on the Infragistics forums with the code that you are using so that we can look into it further.