Dear friends,
is it possible to add php tags to external pages (mainly in about)?
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.
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- Trajan@Trajan
Trajan - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- francescomda@francescomda
francescomda - 0 likes
- Cash@costelloc
Cash - 0 likes
- Spike Spiegel@spikespiegel
Spike Spiegel - 0 likes
- francescomda@francescomda
francescomda - 0 likes
You must log in to post replies.I want to show some statistics like Total members, activae members, toatal blog posts etc in About
I can mange this by iframe html tag.
But still i have doubt how to call all entities of the site as in admin statitics page. can anyone helpme out?
I am developing a 3 column site design where right column will show site announcement, upcoming events, online Members, Plus an advertisement.
Also I am planing to show some statistics in the right column. Can anyone suggest me how to fetch the site entities as in admin statistics page. 3 column design is ready only waiting for statistics.
Your help will be appreciated.
elgg_get_entities(array(...'count' => TRUE...);
http://reference.elgg.org
Thank you Trajan.
I will try after studying it well. Now I will do latest Comments to show up there.
Will upload 3 column default ELGG theme on sunday or monday. Because I am making it for my site. After testing it in my site i will make necessary changes and upload.
hi Thuvalpakshi,
can you explain me please how could you add a php tag in the about page with iFrame? I need it to make the external pages in different languages.
I tried to use the php tag <?php echo elgg_echo('sample'); ?> using the html editor of tinymce, but when I save it, the code is translated in html:
<!--?php echo elgg_echo('sample'); ?-->
Unfortunely, I'm not sure at all about how to create an iframe tag...
You cannot add php code to one of the pages created by the external_pages plugin (about, terms, privacy). If you know php, I recommend creating a plugin with your custom pages.
Why am I receiving notifications from posts I havent subscribed to?
@cash thanks. I'm not sure to be able to do as you suggest (never created a plugin...), but I will try... otherwise I will paste two languages in the same about page ;)