View Nikolai Shcherbin's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Great, thank you! How do I change the page title, which reads Custom Static Page?
it's on the language file en.php ->
$english = array(
'customhtml' => "Custom Static Page",
);
Also, you can to edit the URL's name for it
In start.php
Change this strings: just replace bold text with your own names
Example,
Thank you both!
Hi, lets say I put an iframe and under the iframe I wanted to have commenting using the comment system site wide (as it is in default).
How would I put that under the iframe code?
well using the commenting system that elgg uses and have it just incorporate this page.
Awesome!
siddiqur.com
Hi, I have to put the html code on this page. How can I do this?
@cantatore.r Open views/default/html.php and add your html code. BTW, see the aboving screenshot ;)
@monderoy For adding the comment form, you'll need to register the new entity type for this custom page:
Then you can add the comments view on the page, add the comments form etc.
E.g.:
Read more about it
Great! So easy.. Thank you!
I really appreciate having this plugin at my site, but am wondering how it might be possible to access two different pages from the main menu instead of one.
@jon666 If I understand you correctly, do you want to make pages more than one ?
I've tried to create extended plugin for it.
Please, try my example and read manual
Yes, thanks, I'll take a look at it. Would also like to include the comments box at bottom of the page and have comments appear in sidebar as copmments that appear there now are from other plugins. Unfortunately I do not understand the instructions you gave monderoy above. Would a simple tutorial be possible re adding the comments function ?
I guess what I should have asked in the previous post was:
Does elgg_register_entity_type('object', 'custom_page'); go in the start.php file and does
I don't like this idea (adding comments). Because it sounds like the creation of a new plugin.
You better use of already existing work, e.g. News or similar ... Just rework it for your own website...
Custom Static Page is likely for easily creation the static pages :(
Oh, sorry but I thought customhtml supported comments. I'll just get rid of the sidebar text because it's completely irrelevant to the content of my static page. Thanks' for clearing this up fast.
Thank you for this plugin. I appears example of adding multiple pages is not working correctly for my site. I followed all of the directions, but I cannot get $content to post on my custom page. Everything else works fine. Any suggestions?
@Eric Schilling This totem can help to you: http://weborganizm.org/totemz/v/3986/using-elgg (incl. extended plugin' version)
Amazing. Thank you! Once I am no longer a broke graduate student, I am sending a donation your way!
How would I go about augmenting the PHP to enable a subpage within one of these custom pages? For instance: Custom Page -> Category 1
@Eric Schilling Use Extended Custom Static and override your views for Custom page (parent_menu ) -> Category 1 (child_menu)
I don't think that need rework my plugin with additional functions if there's existing plugin already for it ;)
@RvR are you interested in freelance Elgg development work? I am very impressed with your work and would be interested in hiring you to tackle some additonal plugins. Please shoot me a note a ejs290@mail.harvard.edu :)
@LT Disable Extended pages Plugin or rename titles (about, terms) in my plugin
*Typo External pages