By gökhan on Wednesday, 12 March 2014
Posted in General Issues
Replies 3
Likes 0
Views 695
Votes 0
Hi,

Where is mini registration php files? I couldn find. I need to chance some form control elements

<?php if( $this->config->get( 'registrations.enabled' ) ){ ?>
<div class="col-md-6 register-column">
<form style="padding-left: 90px;padding-right: 90px;" method="post" action="<?php echo JRoute::_( 'index.php' );?>" data-registermini-form>
<div class="register-wrap <?php echo empty( $fields ) ? ' is-empty' : '';?>">
<h3><?php echo JText::_( 'COM_EASYSOCIAL_LOGIN_NO_ACCOUNT' );?></h3>
<p class="center mb-20">
<?php echo JText::_( 'COM_EASYSOCIAL_LOGIN_REGISTER_NOW' );?>
</p>


<?php if( !empty( $fields ) ) { ?>
<?php foreach( $fields as $field ) { ?>
<div class="register-field" data-registermini-fields-item><?php echo $field->output; ?></div>
<?php } ?>
<?php } ?>

<div class="clearfix">
<button class="btn btn-es-primary btn-sm btn-register" type="button" data-registermini-submit><?php echo JText::_( 'COM_EASYSOCIAL_LOGIN_REGISTER_NOW_BUTTON' );?></button>
</div>
There is few areas that displays the mini registration. Which particular area are you referring to? I will list them down below

/components/com_easysocial/themes/wireframe/login/default.php
/components/com_easysocial/themes/wireframe/dashboard/default.guests.login.php
/modules/mod_easysocial_register/tmpl/default.php
·
Wednesday, 12 March 2014 22:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark,

I have a question , I am trying to achive something with toolbar, you know php if /else or endif

<?php if( $this->my->id ){ ?>
sometthing A

else or endif;

something B


I mean, if user logged in show --> only a if not show only b
·
Thursday, 13 March 2014 05:24
·
0 Likes
·
0 Votes
·
0 Comments
·
If you want to test if a user is logged in or not,


<?php if ($this->my->id) { ?>
Logged in
<?php } else { ?>
Not logged in
<?php } ?>
·
Thursday, 13 March 2014 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post