typeID box

3 views
Skip to first unread message

kaesh...@gmail.com

unread,
Jan 2, 2014, 3:30:50 PM1/2/14
to nive...@googlegroups.com
Hi,

I tried to make a new container, for example to make a carousel or test with bs3... So i started with a copy of a box. But the editor doesn't work well, i cannot edit the elements of the new box. I've seen that it's because in the code of view.py there is tests if el.GetTypeID()=='box'. The tests should be el.IsContainer() isn'it ? Also in root.pt and page.pt (i can make a pull req)
Or there is a solution to set my new container the same type box ?

Arndt Droullier

unread,
Jan 3, 2014, 11:05:19 AM1/3/14
to nive...@googlegroups.com
Hi,
No, you are right, these lines should be changed. There are a few more similar issues when
customizing pages and columns I still have on my list. 
Though if you have changed it already send the pull request. Otherwise I can do it too.

Thanks, Arndt.



2014/1/2 <kaesh...@gmail.com>
Hi,

I tried to make a new container, for example to make a carousel or test with bs3... So i started with a copy of a box. But the editor doesn't work well, i cannot edit the elements of the new box. I've seen that it's because in the code of view.py there is tests if el.GetTypeID()=='box'. The tests should be el.IsContainer() isn'it ? Also in root.pt and page.pt (i can make a pull req)
Or there is a solution to set my new container the same type box ?

--
You received this message because you are subscribed to the Google Groups "nive-cms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nive-cms+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
----------------------------------------------------------------------------------------------
Arndt Droullier, Nive GmbH, Köln, Germany
Nive Web Application Publishing: < New Prototype > www.nive.co
Nive Open Source Cms: cms.nive.co
Reply all
Reply to author
Forward
0 new messages