Page 1 of 1
Jan,Do y
Posted: 31 Mar 2008, 22:53
by gilsingb
Jan,
Do you think it is possible to create a standard message that says something like:Your message has been saved but will be reviewed before it can be published.
That way people will know that the creation and image verification of the posted message has gone well.
The message is there
Posted: 01 Apr 2008, 11:43
by Jan
The message is there and will be displayed after leaving message...
If you want to change the text of this message, you can change it in:
language\en-GB\en-GB.com_phocaguestbook.ini
In case, user leaves message and it will be displayed:
PHOCA GUESTBOOK ITEM SAVED=Thank you for your entry
In case, user leaves message and it will be not displayed:
PHOCA GUESTBOOK ITEM SAVED=Thank you for your entry,
REVIEW MESSAGE=message will be displayed after Administrator will review it
Does your template display system messages?
Jan
Jan,My t
Posted: 01 Apr 2008, 20:30
by gilsingb
Jan,
My template does not appear to display system messages. Where can I change the settings for this?
Regards, Ben
Posted: 01 Apr 2008, 21:25
by Jan
... I don't know, All templates I use, are showing these messages...
Maybe the following code you should paste into your index.php (in your template folder):
<jdoc:include type="message" />
Jan
Jan,Have
Posted: 01 Apr 2008, 22:59
by gilsingb
Jan,
Have you got a suggestion where to put it, included is the index.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe-> getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" media="all"/>
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
<?php
if ( $my->id ) { initEditor(); }
mosShowHead();
?>
</head>
<body>
<div class="content">
<div id="top">
<div class="rside">
<div class="clear1">
<div class="menu"><?php mosLoadModules ('user3');?></div>
</div>
<div id="search"><div class="pad"><?php mosLoadModules ('user4');?> </div></div>
<div id="mainimg"><div class="pad"><?php mosLoadModules ('top');?></div></div>
<div class="clear"></div>
<div id="main1"><?php mosMainBody(); ?></div>
</div>
<div class="lside">
<div id="bg">
<div class="pad">
<h1><?php echo $mosConfig_sitename; ?></h1>
<h2>The website of The City Of Naga</h2>
</div>
<div class="menupad"><?php mosLoadModules('left'); ?></div>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<div class="lefts">
<div class="padding"><p>Copyright Š2007 www.naga-cebu.com<br />
</div>
</div>
<?php mosLoadModules( 'debug', -1 );?>
<script src="
http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2441958-1";
urchinTracker();
</script>
</body>
</html>
everwhere you want t
Posted: 01 Apr 2008, 23:15
by Jan
everwhere you want to display these messages...
e.g. before:
<div id="main1"><?php mosMainBody(); ?></div>
Jan, Aga
Posted: 01 Apr 2008, 23:40
by gilsingb
Jan,
Again I have to thank you. You have solved my problem again
Thanks
Ben
Posted: 02 Apr 2008, 01:04
by Jan