sys_page_compose

I am writing an sql statement to insert a block on a page; why do I specify a page width in sys_page_compose for the block?  That does not make any sense to me.  I am setting the width to the width of the page but why is page width in sys_page_compose?  Just trying to gain an understanding of the database structure.

Geeks, making the world a better place
Quote · 16 Mar 2013

 Because it is hard coded to do it?  It is a path that it will follow is the best I can do for you...

I am writing an sql statement to insert a block on a page; why do I specify a page width in sys_page_compose for the block?  That does not make any sense to me.  I am setting the width to the width of the page but why is page width in sys_page_compose?  Just trying to gain an understanding of the database structure.

 

Csampson
Quote · 16 Mar 2013

I'm not sure if this is the answer or not, But I think it's because when you have 2 columns an you put a percentage for the block size and specify which column to put it in, and it needs to determine how wide to make that block based on the width of the page?

Quote · 17 Mar 2013

Page width is optional. Does not have to be specified. If not then it will use the default which 998px for dolphin 7.0.9 and 1140px for 7.1

Each page in page builders can have a different width. That's why it is there. There is a slider in the page builders for controlling the width of the page. And every page can be different.

Anyhow and i said, it can be skipped like so.

INSERT INTO `sys_page_compose` (`Page`, `Desc`, `Caption`, `Column`, `Order`, `Func`, `Content`, `DesignBox`, `ColWidth`, `Visible`, `MinWidth`) VALUES
('pagename', 'BlockDesc', '_blockcaption', '1', '0', 'blockfunction', '', '1', '75', 'non,memb', '0'),

https://www.deanbassett.com
Quote · 17 Mar 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.