hello, how can I change the page title of a external pages. I mean About | Terms | Privacy. I changed the language of the links in but for the page title is it not possilbe
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.
- shillo@shillog
shillo - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- 4ndreas@4ndreas
4ndreas - 0 likes
- Mercè@elggmerce
Mercè - 0 likes
- shillo@shillog
shillo - 0 likes
- itmanvn@itmanvn
itmanvn - 0 likes
- 4ndreas@4ndreas
4ndreas - 0 likes
You must log in to post replies.Have you tried/mod/externalpages/languages/en.php ?
It worked for me both at admin > external pages
and at the bottom (footer)
en.php in mod/externalpages/...
is the right place
look for text like "expages:....
hello, when I change it in the mod/externalpages/language(en.php expages:privacy' => "xy",
it works for both: at admin and at the bottom footer BUT when you visit the external page there is still the old title
@4andras
Check the correct spelling in:
- mod\externalpages\languages\en.php
'expages:privacy' => "xy",
- mod\externalpages\views\default\expages\footer_menu.php
<a href="<?php echo $vars['url']; ?>pg/expages/read/Privacy/"><?php echo elgg_echo('expages:privacy'); ?></a> |
- mod\externalpages\views\default\expages\menu.php
<?php echo $url; ?>privacy"><?php echo elgg_echo('expages:privacy'); ?></a></li>
- mod\externalpages\views\default\expages\forms\edit.php
else if($type == 'privacy') {
$external_page_title = elgg_echo('expages:privacy');
@ 4ndreas : Oops! I didn't visit the page itself. so sorry.
@ Mercè : Thanks for filling the blanks.
can anyone help me how to add new external pages?
i replaced now in every file the word "privacy" with the German term and no it works!
@ itmanvn: i think it works when you copy all the code part that have posted Mercè and replace "privacy" with annother word