| Re: XOOPS 2.5.9 Notes for Theme Creators |
| by alain01 on 2020/4/8 10:41:36 Quote: geekwright wrote: but it was not clear for me, i believed that i should modify theme.tpl... But, in fact, we should modify the theme_autorun.php file like that : and NOW, it's ok ! (No need action for xoops 2.5.11*) |
| Re: XOOPS 2.5.9 Notes for Theme Creators |
| by alain01 on 2019/11/12 1:03:04 Thank you for this advice ! Here, by mage (little bug, it would be ok by mage next days) |
| Re: XOOPS 2.5.9 Notes for Theme Creators |
| by geekwright on 2019/11/11 3:47:53 The $xoops_page variable only gives the module and script. It was intended to allow adding menus or style variations for a specific function, not specific content. If I needed the content_id exposed as well, I would probably ask Mage to add it to the smarty variables that xmcontent assigns. |
| Re: XOOPS 2.5.9 Notes for Theme Creators |
| by alain01 on 2019/11/11 0:16:25 Quote:
Very usefull ! Just use now in XOOPS 2.5.11 beta + new theme that i'm working on (boostrap 4). But how can i use $xoops_page with http://myurl/modules/xmcontent/viewcontent.php?content_id=2 and http://myurl/modules/xmcontent/viewcontent.php?content_id=8 2 different links... |
| Re: XOOPS 2.5.9 Notes for Theme Creators |
| by geekwright on 2019/11/2 17:20:30 There is a XoopsFormRendererBootstrap4 that will be included in 2.5.11 To use it now, either use the 2.5.11 alpha version, and the code looks like this: |