aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views/default/theme_preview/miscellaneous/toggle.php
blob: abe39ddd86565f04ccdee9337469e80257b00f33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

$ipsum = elgg_view('developers/ipsum');

$link = elgg_view('output/url', array(
	'text' => 'Toggle content',
	'href' => "#elgg-toggle-test",
	'rel' => 'toggle'
));

echo $link;
echo elgg_view_module('featured', 'Toggle Test', $ipsum, array(
	'id' => 'elgg-toggle-test',
	'class' => 'hidden clearfix developers-content-thin',
));