How can I create a new custom page with my own content in Elgg - plugins

I would like to create a new page in Elgg where I can put my own content. I would like to have there all the default menus, etc. but with empty space where I can put my code. I would like to have a link to this page on my profile page. Should it be done as a new plugin? If yes, how to create empty page with my current template settings?

Check this out:
http://docs.elgg.org/wiki/How_do_I_create_a_new_page%3F

Related

How to add new page in Magento2.3.4

I'd like to show page when click menu item(a tag).
I use old header and footer and I'd like to change content.
where to add code? app/code/.. or app/design/frontend/..
you can create a page from the admin panel.
Go to the admin Content>Pages and create a new page.
enter image description here
then you will add content and URL for this page

Does anyone know what would cause a shortcode to leave out specific classes when inside tabs content?

I am working on creating an app navigation using a tabs module and the first tab includes a shortcode for a community wall similar to Facebook. There is supposed to be an option for adding a gif a poll or a photo but when I use the shortcode inside the tab content only the option to add the photo is there. Just looking for some direction as to what could be causing this ? Would it be in the php file ?
For further clarification when the shortcode is published it is returning this in the html
when not housed inside a tab it is displaying correctly and this is the html output:

Adding custom xtype to page properties

I've created a custom xtype that I want to use in a page property dialog. It works great when I bring up the page and select page properties from the sidekick, but I can't figure out where to place the custom javascript I've created so its available from the sites menu in the main page. There the custom xtype fails to load and the new section fails to work.
You need to place your script inside a new clientlib, defined with the category cq.wcm.admin. All clientlibs with this category are automatically included on the site admin. If you add the category cq.wcm.edit, your script will be included on the page editor as well.

How to add a single menu item in wordpress to my plugin

I am trying to create my first wordpress plugin and I want to add a new "menu item" in the wordpress default menu bar. So when I click that menu item, the html form need to be shown by my plugin.
comparing to Joomla, in joomla it has views in "components" so I can easily create a new menu item, and assign a view as I want. In wordpress how do I do that for a plugin?
Please help. Thanks
I recommend that for your form for the front end, make a shortcode that will render your form. Then people can create a page (which gets you your menu item) and put your form on the page, optionally with some text / images above or below the form. This is better than trying to insert a "page" into the menu and somehow getting it where your plugin's users want it to go :)
For the admin side, use the admin menu functions.

Hyperlink to Eclipse editor page

I am trying to write an editor for a particular type of file in Eclipse which has multiple pages, just like the PDE editor.
How do I get a hyperlink in the main Overview page to point at one of the individual pages?
I've got the hyperlink drawn but I don't know how to link it to the actual page so that when a user clicks it, the page view changes.
Any ideas?
Follow this recipe:
Create the main page and all the sub pages
Add links
Add HyperlinkAdapter to the links using link.addHyperlinkListener()
In linkActivated() you can switch the page with formEditor.setActivePage(...)