Jump to content

Show Login Form if guest


Daniel.de
Go to solution Solved by Alejandro,

Recommended Posts

Hi Alejandro,

I am working on Joomla 4 with JReviews 4.

in this file components/com_jreviews/jreviews/views/themes/default/listings/create.thtml 

there is this code:

<?php if($isNew && $this->auth->guest):?>

		<?php echo $this->element('login',['register_guests'=>true,'access_submit'=>true]);?>

	<?php endif;?>

On my Joomla 3 and JReviews 3 page the login text is showen when a guest user try to submit a new listing. On my new page it doesnt show up. What can I do?

Best regards,

Link to comment
×
×
  • Create New...