UP UP UP
No Elgg developpers stay here ?????
Who must I contact to get some help with this little button to work.. ?
do this
if(elgg_is_logged_in()){
echo elgg_view('output/url', array("text" => "Add Blog", "href" => "blog/add/". elgg_get_logged_in_user_guid(), 'class' => 'elgg-button elgg-button-action'));
}
here is the solution, for these in need!
$allz = elgg_view('input/submit', array('value' => elgg_echo('groups:all')));
echo elgg_view('input/form', array('body' => $addz, 'action' => "{$CONFIG->url}groups/add"));
Solved, thanks to me :)
EDIT : Thanks Mark, it works like a charm too!!!!
Hi DDS,
I will check that, if someone else got a tip for me, feel free :)
elgg_view(
'input/dropdown'
,array(
'name' => '<fieldname>'
,'id' => '<fieldid>'
,'value' => "<fieldvalue>"
,'options_values' => <optionaaray>
)
);
It works, big thanks DDS, here is another problem for you my dear ;)
http://community.elgg.org/discussion/view/1070450/how-to-copy-a-add-button-to-my-index
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.