By Paul Murray on Wednesday, 02 November 2016
Posted in General
Likes 0
Views 155
Votes 0
Hi Stackideas

I am attempting to remove the Login/Register box here:

http://www.finalbug.net/network-final-cut-pro-post-production-professionals

Following the instructions here:

https://stackideas.com/forums/login-register-box-placment
https://stackideas.com/forums/login-register-box-placment-take02

I see no way of getting here:

backend > EasySocial > Themes > Select your themes > dashboard

i.e. set it to Display Login Screen for Guests/ Display mini registration - NO

Nothing happens when i click on:

Elegant 1.0.0 elegant 06/08/2015 Stack Ideas Sdn Bhd

Please advise

thanks

Paul
Hello Paul,

We no longer have theme settings anymore as they are now all centralized under the standard Settings. This is to reduce confusions as to where are settings found as prior to 2.0, settings are scattered everywhere.

Also, apart from centralizing settings, we also removed a lot of unnecessary settings including the one that you are looking for. To disable the login form, you would need to create a template override for the file /components/com_easysocial/themes/wireframe/dashboard/guests/default.php and remove the codes below:


<div>
<?php echo $this->html('html.login', $return); ?>
</div>


The rationale of removing unnecessary settings is because:

1. Extension becomes bloated with too many settings
2. All of these can be easily achieved by simple template overrides
·
Wednesday, 02 November 2016 23:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark

I have to ask...
If I apply the above code it will be removed every time I update ES right?
This is probably a stupid question but could I put this/variation in the custom css file?

thanks

Paul
·
Thursday, 03 November 2016 01:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Paul,

Actually the code already exist on the default.php file, what you need to do is remove above code in this following file :
JoomlaFolder\components\com_easysocial\themes\wireframe\dashboard\guests\default.php

Then copy over override in your current template file location -> JoomlaFolder/templates/YOURTEMPLATE/html/com_easysocial/dashboard/guests/default.php

So it will not get override when you update to next release version in your site.
·
Thursday, 03 November 2016 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex

Actually the code already exist on the default.php file, what you need to do is remove above code in this following file :
JoomlaFolder\components\com_easysocial\themes\wireframe\dashboard\guests\default.php


I have done as you advised and it works as requested.

Then copy over override in your current template file location -> JoomlaFolder/templates/YOURTEMPLATE/html/com_easysocial/dashboard/guests/default.php


I had to create the following folders: dashboard/guests

And put a file that I created called default.php in this folder i.e:

JoomlaFolder/templates/elegant/html/com_easysocial/dashboard/guests/default.php

This is what the code looks like


<?php
/**
* Makes sure that the login box does not show up on top of the stream after an ES update
*/
defined('_JEXEC') or die('Unauthorized Access');
?>

<div>
<?php echo $this->html('html.login', $return); ?>
</div>



I am doing something wrong because with this overwrite file and code in place I see the login/register box and see no stream items as in the first screen shot

I have since renamed the file to disable it and the login/register box no longer display.

So I have step 01 working but am still making a mistake with respect to step 02

Please advise

thanks

Paul
·
Thursday, 03 November 2016 16:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Try download my attached file and replace into this file and see how it goes.
JoomlaFolder/templates/elegant/html/com_easysocial/dashboard/guests/default.php
·
Thursday, 03 November 2016 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex

I did as you instructed and put the override where you told me:
JoomlaFolder/templates/elegant/html/com_easysocial/dashboard/guests/default.php
Well it appears to work.

I guess I will know 100% when I do the next update.

thanks as always

Paul
·
Thursday, 03 November 2016 19:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 03 November 2016 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post