Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Custom Pages not reading HTML (or having layout issues with manual coding) 5.3.13

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-10-2016, 10:00 AM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Custom Pages not reading HTML (or having layout issues with manual coding) 5.3.13

Hello, I am having issues with coding on custom pages in the back end of the new version 5.3.13.

Previously in 5.2.x I had to manually edit the database files when trying to layout specific pages (img width="xx%", etc) as we had multiple images per row sometimes on static pages.

Now it seems that I can't edit it within the xcart backend or the sql manual entry either as it seems to put a line return between each image otherwise regardless of the image size.

Is there a manual (or setting) workaround we can do for such things?

Thanks!
Reply With Quote
  #2  
Old 10-10-2016, 10:03 AM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: Custom Pages not reading HTML (or having layout issues with manual coding) 5.3.13

An example would be: (version 5.2.15)
https://www.incantation.com/shop/2016-unholycd.html

as I'd have to manually edit the sql lines for width="24%" etc.

I've tried using the WYSIWYG editor and using the manual ones, but it always strips the width tag so I had to manually edit it in the pages_translation pages. It's a pain but it's a workable workaround...

this version however, it is not.
Reply With Quote
  #3  
Old 10-10-2016, 10:21 AM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: Custom Pages not reading HTML (or having layout issues with manual coding) 5.3.13

It looks like if I create a table it will work via the SQL end still - but there is still a bit of a padding/border issue that I'm guessing can be fixed via .table CSS overriding?
Reply With Quote
  #4  
Old 10-16-2016, 09:02 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Custom Pages not reading HTML (or having layout issues with manual coding) 5.3.13

I've reported this problem to the XC5 dev team:
https://bt.x-cart.com/view.php?id=46841

However, a better approach would be using CSS to style your pages.

For example, you can wrap your IMG tags into a DIV tag having "my-custom-class" as the "class" attribute, and then add the following CSS rule via ThemeTweaker:
Code:
.my-custom-class img { width: 24%; }
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #5  
Old 10-17-2016, 06:08 AM
 
info@shadowgraphicsinc.co info@shadowgraphicsinc.co is offline
 

Senior Member
  
Join Date: Jan 2011
Posts: 123
 

Default Re: Custom Pages not reading HTML (or having layout issues with manual coding) 5.3.13

I had not previously thought of using CSS to make that work. But thank you!

The HTML issue is still something we are interested in finding a fix as we've had forms added to pages for contests or contacts etc. So with that we still need to use the MYSQL backend to make that fit properly.

But this will make most of our layouts a bit easier until it can be fully available. thanks again!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:31 PM.

   

 
X-Cart forums © 2001-2020