@Luca External pages only edits the *text area* above the left and right columns.
To change the content of the left and right columns you will need to hack the custom_index plugin itself. The file to look at is custom_index/views/default/canvas/layouts/new_index.php
Ok I see but i.e. if I dont want to have "latest file": what can i do?
here is my code:
?>
<!-- display latest files -->
<div class="index_box">
<h2><?php echo elgg_echo("custom:files"); ?></h2>
<?php
if (!empty($vars['area2'])) {
echo $vars['area2'];//this will display files
}else{
echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
}
?>
Can Someone give me step by step directions to install this plugin
Sorry I am new at this (Have no clue what Im doing)
Thank You
Jeff Gipson
jr@jallenco.com
Hi,
I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:
</div><!-- /#layout_canvas -->
<?php
if (isloggedin()) { //do stuff
echo elgg_view('page_elements/spotlight', $vars);
}
else { //do some other stuff
echo elgg_view('page_elements/spotlight', $vars);
}
?>
instead of what was listed above:
<!-- Spotlight logged in only
<?php
if(isloggedin()){
?>
<!-- spotlight -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
<?php
}
?> -->
<!-- spotlight everyone -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
As I was getting the "-->" on my page when rendered.
The code I have shown works like a charm. Just thought I'd add my "2 cents" worth. No disrespect to anyone intended.
Thanks,
Rene
by the way, I'm using elgg 1.6.1
@Luca External pages only edits the *text area* above the left and right columns.
To change the content of the left and right columns you will need to hack the custom_index plugin itself. The file to look at is custom_index/views/default/canvas/layouts/new_index.php
Ok I see but i.e. if I dont want to have "latest file": what can i do?
here is my code:
?>
<!-- display latest files -->
<div class="index_box">
<h2><?php echo elgg_echo("custom:files"); ?></h2>
<?php
if (!empty($vars['area2'])) {
echo $vars['area2'];//this will display files
}else{
echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
}
?>
Hello: I need help. I use this pluggin and I want remove the links below on the main page: pages, groups and files. Where is the css whit the links?
Thank you
hello thanks for the great plugin!
my question
i have one problem with this plugin and Extandafriend 1.7.x Plugin can not display this functions. With default Theme its no problems. Thanks for your help. Edit friend in a friend profile can not open via Javascript void.
Thanks for your help
for me its not coming good, no error in activating plugin but i donno site is looking like jumbled...so i deactivated it...any idea how can i get this plugin work for my site www.upscquery.com
@Luca External pages only edits the *text area* above the left and right columns.
To change the content of the left and right columns you will need to hack the custom_index plugin itself. The file to look at is custom_index/views/default/canvas/layouts/new_index.php
Ok I see but i.e. if I dont want to have "latest file": what can i do?
here is my code:
?>
<!-- display latest files -->
<div class="index_box">
<h2><?php echo elgg_echo("custom:files"); ?></h2>
<?php
if (!empty($vars['area2'])) {
echo $vars['area2'];//this will display files
}else{
echo "<p><?php echo elgg_echo('custom:nofiles'); ?></p>";
}
?>
Can Someone give me step by step directions to install this plugin
Sorry I am new at this (Have no clue what Im doing)
Thank You
Jeff Gipson
jr@jallenco.com
Hi,
I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:
</div><!-- /#layout_canvas -->
<?php
if (isloggedin()) { //do stuff
echo elgg_view('page_elements/spotlight', $vars);
}
else { //do some other stuff
echo elgg_view('page_elements/spotlight', $vars);
}
?>
instead of what was listed above:
<!-- Spotlight logged in only
<?php
if(isloggedin()){
?>
<!-- spotlight -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
<?php
}
?> -->
<!-- spotlight everyone -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
As I was getting the "-->" on my page when rendered.
The code I have shown works like a charm. Just thought I'd add my "2 cents" worth. No disrespect to anyone intended.
Thanks,
Rene
by the way, I'm using elgg 1.6.1
Can Someone give me step by step directions to install this plugin
Sorry I am new at this (Have no clue what Im doing)
Thank You
Jeff Gipson
jr@jallenco.com
Hi,
I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:
</div><!-- /#layout_canvas -->
<?php
if (isloggedin()) { //do stuff
echo elgg_view('page_elements/spotlight', $vars);
}
else { //do some other stuff
echo elgg_view('page_elements/spotlight', $vars);
}
?>
instead of what was listed above:
<!-- Spotlight logged in only
<?php
if(isloggedin()){
?>
<!-- spotlight -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
<?php
}
?> -->
<!-- spotlight everyone -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
As I was getting the "-->" on my page when rendered.
The code I have shown works like a charm. Just thought I'd add my "2 cents" worth. No disrespect to anyone intended.
Thanks,
Rene
by the way, I'm using elgg 1.6.1
Can Someone give me step by step directions to install this plugin
Sorry I am new at this (Have no clue what Im doing)
Thank You
Jeff Gipson
jr@jallenco.com
Hi,
I've found a better way of coding for spotlight so that it displays the one for logged in users and the other when not logged in:
</div><!-- /#layout_canvas -->
<?php
if (isloggedin()) { //do stuff
echo elgg_view('page_elements/spotlight', $vars);
}
else { //do some other stuff
echo elgg_view('page_elements/spotlight', $vars);
}
?>
instead of what was listed above:
<!-- Spotlight logged in only
<?php
if(isloggedin()){
?>
<!-- spotlight -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
<?php
}
?> -->
<!-- spotlight everyone -->
<?php echo elgg_view('page_elements/spotlight', $vars); ?>
As I was getting the "-->" on my page when rendered.
The code I have shown works like a charm. Just thought I'd add my "2 cents" worth. No disrespect to anyone intended.
Thanks,
Rene
by the way, I'm using elgg 1.6.1
