How can I modify the content of the REGISTRATION FORM ?? - Joomla! Forum - community, help and support
where can modify head content of joomla default registration form ? content of head section stored in variables .. able first store css before hte javascript inside tag.
here's snipet of part of code , it's equivalent in html below ..
here's snipet of part of code , it's equivalent in html below ..
code: select all
defined('_jexec') or die;
jhtml::_('behavior.keepalive');
jhtml::_('behavior.tooltip');
jhtml::_('behavior.formvalidation');
?>
<div class="registration<?php echo $this->pageclass_sfx?>">
<?php if ($this->params->get('show_page_heading')) : ?>
<h1><?php echo $this->escape($this->params->get('page_heading')); ?></h1>
<?php endif; ?>
<form id="member-registration" action="<?php echo jroute::_('index.php?option=com_users&task=registration.register'); ?>" method="post" class="form-validate">
<?php foreach ($this->form->getfieldsets() $fieldset): // iterate through form fieldsets , display each one.?>
// html generated ..
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/media/system/js/validate.js" type="text/javascript"></script>
<script type="text/javascript">
function keepalive() { var myajax = new request({method: "get", url: "index.php"}).send();} window.addevent("domready", function(){ keepalive.periodical(840000); });
window.addevent('domready', function() {
$$('.hastip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts[0]);
el.store('tip:text', parts[1]);
}
});
var jtooltips = new tips($$('.hastip'), { maxtitlechars: 50, fixed: false});
});
</script>
<link rel="stylesheet" href="/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="/templates/europe132/css/print.css" type="text/css" />
</head>
<body class="contentpane">
Comments
Post a Comment