This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Is it possible to change the plane of a page?
#4
Okay lots of plans there..

The log probably ends with ... meaning its reached it max chars, the table is probably longer but log does not show all..

Can you try this:
Code:
result = db:getall('SELECT id, name, type FROM visfloors')
for key, value in ipairs(result) do
  if value.type == 'layout' then
    log('layout: ' .. value.name .. ' is having id: ' .. value.id)
  elseif value.type == 'widget' then
    log('widget: ' .. value.name .. ' is having id: ' .. value.id)
  else
    log('plan: ' .. value.name .. ' is having id: ' .. value.id)
  end
end
BR,

Erwin
Reply


Messages In This Thread
RE: Is it possible to change the plane of a page? - by Erwin van der Zwart - 16.04.2020, 23:29

Forum Jump: