Hi
I have zero .php coding knowedge - so hoping somebody can throw me a bone and tell me what / where I need to edit.
The Cool Theme 2.1 for Elgg 1.8 shows the following message on the login page:
A message you can edit in cool_theme/views/default/core/walled_garden/login.php :-).
What / where do I need to edt this file in order change this message?
This is my file:
<?php
/**
* Walled garden login
*/$title = elgg_get_site_entity()->name;
/**
$welcome = elgg_echo('walled_garden:welcome');
*/
$welcome .= $title;
$menu = elgg_view_menu('walled_garden', array(
'sort_by' => 'priority',
'class' => 'elgg-menu-general elgg-menu-hz',
));$login_box = elgg_view('core/account/login_box', array('module' => 'walledgarden-login'));
$content = <<<HTML
<div class="elgg-col elgg-col-1of2">
<div class="elgg-inner">
<h1 class="elgg-heading-walledgarden">$welcome</h1><br />
$menu
</div>
</div>
<div class="elgg-col elgg-col-1of2">
<div class="elgg-inner">$login_box</div>
</div>
HTML;echo elgg_view_module('walledgarden', 'Testing', $content, array(
'class' => 'elgg-walledgarden-double',
'header' => ' ',
'footer' => ' ',
));
Hope you can help
M
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.
- Burgs@burgs

Burgs - 0 likes
- Ben Potter@Speedysnail6

Ben Potter - 0 likes
- Staszek@stanl

Staszek - 0 likes
- Steve Clay@steve_clay

Steve Clay - 0 likes
- Staszek@stanl

Staszek - 0 likes
- Martin Williams@MartinWilliams

Martin Williams - 0 likes
You must log in to post replies.Have a look in cool_theme/languages/en.php
Just a guess
@Martin Williams is there a problem with being 12? I'm turning 12 in september.;-P BTW: at
http://kidspacex.com/elgg185/ it is my cool theme in walled garden. I don't see anything?
Well,
I think I can help here...
@Martin you just need to open "http://path/to/elgg/"mod/cool_theme/languages/en.php and modify the value of 'thanks_body' as @Burgs told you first
@everyone: I've deleted several abusive, off-topic, and unhelpful posts from above. Insults are never acceptable here; please just report them instead of engaging in tit-for-tat exchanges. When persons ask for help, please make genuinely helpful replies; snark to the effect of "learn to program" is not helpful. Please keep your arms and legs inside the cart until it comes to a complete stop. Please enjoy the rest of your weekend!
Thank you Steve!
Hope you have your answer Martin
Thank you gentlemen.