FAQs
| Browse in : |
All
> FAQs
> Xaraya Development |
- How do I commit changes to the MTN repository?
- How do I create different pages in Xaraya that each have their own individual block sets?
- How do I disable module overviews as the default pages?
- Why does the TinyMCE WYSIWYG keep removing my EMBED tags?
How do I commit changes to the MTN repository?
#mtn commit -m "this is my change"
#mtn push mt.xaraya.com com.xaraya.modules.example
(from xaraya.com)
How do I create different pages in Xaraya that each have their own individual block sets? by 2
Create a new block group for each individualized page you intend to create. Each page will need to be tied to a module, and can be duplicated for use in multiple modules. If, for example, you wish to create a custom Admin page with a custom menu block, duplicate your current theme's pages/default.xt template and name it adminpanels.xt. Go in and change the references to the standard centerblock to "admincenterblock". Now create a new block group called "admin". Then create your menu block and add it to this group. When your adminpanels module is loaded, it will now display your custom menu above the module's page display. Feel free to get creative with as many additional blockgroups as you need block areas on your custom page. You can set up topleft and topright blocks that display below the centerblock but above the page content. You can organize this any way you wish.
How do I disable module overviews as the default pages?
Every time I go to the admin page for a module, I have to find the module again in Adminpanels and click the "config". Is there an easy way to make it go straight to the module settings page?
Yes, there is. Go to the Adminpanels module config page and make sure that the "Disable Module Overviews" is checked.
Why does the TinyMCE WYSIWYG keep removing my EMBED tags? by St.Ego
You need to add the EMBED tag to your TinyMCE additional tags and attributes, on the Attributes & Styles tab of TinyMCE. Try adding "embed[*]" to allow the EMBED tag and any attributes that it comes with. This can be dangerous if applied to user submitted content, so you may want to look at limiting the attributes of the tag too.