By Avinash on Tuesday, 03 June 2014
Posted in General Issues
Replies 13
Likes 0
Views 672
Votes 0
Hi,

I want have Dashboard as the home page but I would like to have a different interface (other than the current one) for guest users. If a guest user visits the site then they view different modules articles. Once they login they view the full dashboard. Can you guide?

Cheers
Avinash
I wanted to do the same with my site and this is what I did:

Set Easysocial dashboard to be your home page.
Edit components\com_easysocial\views\dashboard\view.html.php
Find the line with $my = Foundry::user(); and make it the following:
		$my 		= Foundry::user();

if( $my->id > 0 )
{

Important: Add a closing brace "}" at the end of the function.

Now create your article module and logbox modules and in their settings, Exclude them for logged in users.

When a logged out user goes to the home page, they will see your modules but NOT Easysocial because of the line if($my->id > 0) which basically means only show the dashboard to users that have an ID above 0. If they are logged in, they will see the Dashboard.

Hope this helps but I wouldn't recommend it. Easysocial is quite heavy with a lot of resources and not great for a front page.
·
Wednesday, 04 June 2014 04:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Avinash,

I believe it is not settings to make it possible unless you can do customize and code by yourself. EasySocial only provide the lockdown settings in which guest need to be login in order to view the full dashboard. How can I assist you on this issue?

Regarding "they view different modules articles" what do you mean by this? Can you explain it more so that we are able to assist you on the issue.
If you have anymore question, please don't hesitate to ask us.
help
·
Tuesday, 03 June 2014 13:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,

What I intend do is, when a user visits the website - I want them to see an article and the easy social login module (not the log box). When they login the y see the dashboard. but everytime they visit the root of the website (default home page) they either see the article and login module based on their login status....

Can you let me know how I can make this happen...

Cheers,
Avinash
·
Tuesday, 03 June 2014 17:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Avinash,

If I understand you correctly, this is possible to be done. You can achieve this by having homepage as the page with article and EasySocial login module and everytime they visit the homepage, they will see the article and the login module. You need to set the Redirection URL in EasySocial login module to redirect to the EasySocial menu item.

If you unable or don't know how to do this, perhaps you can provide us with backend access, so that we are able to assist you on this issue.
If you have anymore question, please don't hesitate to ask us.
Please be advise.
Thanks.
·
Tuesday, 03 June 2014 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd,

The solution you have suggested is something that I have implemented - problem is whenever somebody who is logged in visits the home page - they do no see the dashboard - since it is only viewed on login redirect. Redirect works on log in but the home page is still the article and not the dashboard that is the problem.

I need to modify the Dashboard for users who are not logged in by removing the Easy Social Log In box and the public posts by replacing it with the article and Easy Social login module.... is this possible....

Regards
Avinash
·
Wednesday, 04 June 2014 02:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Why dont you just modify the template file and and remove what is not supposed to be shown for guests
·
Wednesday, 04 June 2014 02:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Darko,

Would have done that,... but i want to know the file names in the wireframe template that i would need to modify. Also need to confirm if changes would be overwritten during an update.

avinash
·
Wednesday, 04 June 2014 02:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Gavin & Darko,

Thanks for sharing.

Hello Avinash,

Can you try the suggestion by Gavin and see how it goes. I am very sorry but I can't helps you on customization since our hand are tied with the development. If this is a priority, please do post them on our sales section at https://crm.stackideas.com and our sales department would get back to you with a proper quote.

Hope this will help.
Thanks.
·
Wednesday, 04 June 2014 15:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Gavin,

Worked like a charm! thanks

Hi Mohd,

thanks for the support

Cheers
Avinash
·
Monday, 09 June 2014 00:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Seriously, this is a genius idea, although admittedly while I am all for CSS overrides, I am not familiar with how to make html or php overrides that work everytime you update the component... I know my template has a html folder, and potentially it could be done there?

Is there any chance of adding that as a toggle in the backend?
·
Monday, 09 June 2014 00:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jannik,

Hm, not really sure if I understand you here but if you want to override the html codes, then you could just place these theme files in your template's override folder. Not really sure why we need an option to toggle at the back end eh?
·
Monday, 09 June 2014 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi All!,

Found a plugin that enables you to have a custom home page for returning but logged in users..... solved my issues pretty smoothly! thanks for all your replies though

the plugin is free and available at http://extensions.joomla.org/extensions/access-a-security/site-access/login-redirect/21647

Cheers
Avinash
·
Wednesday, 25 June 2014 16:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Avinash
·
Wednesday, 25 June 2014 23:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post