solved Profile Menu on Elastic2 Error

PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
Anyone know why the profile menu on E2 would stop working when not logged in?

It is really strange because I tried adding the debug code to the top of the profile_menu.tpl, outside of the if statement and even the debug window does not pop-up.

{debug}
{if isset($_items)}
    <ul id="horizontal">
...

When I am logged in, the debug window pops-up and the menu shows as expected, but when I am logged out, no profile menu. The profile is set to global and you can see it just fine, so just the profile_menu.tpl is not being called. I have tried several selection combinations and several different modules, but it just won't show up.

I think that I have an issue with this code on line 110

{jrProfile_menu template=$menu_template profile_quota_id=$profile_quota_id profile_url=$profile_url order="jrAction,jrBlog,jrCombinedAudio,jrAudio,jrCombinedVideo,jrVideo,jrGallery,jrGroup,jrEvent,jrYouTube,jrVimeo,jrFlickr"}

However, I am unsure how to troubleshoot it. Any thoughts?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 09/16/18 10:44:29AM
michael
@michael
6 years ago
7,715 posts
PatriaCo:....
Anyone know why the profile menu on E2 would stop working when not logged in?...
Does the profile menu on Elastic2 stop when not logged in? Seams fine from here.

Are you sure you're working with a default Elastic2 skin. Perhaps its the result of some customizations that have stopped it from showing. ?

--edit--
Your code looks custom. Revert back to the default version, then add one thing at a time checking each time you add something that what you expect is what has happened.

Then you will know what step has caused the issue.
profile_menu.jpg
profile_menu.jpg  •  318KB


updated by @michael: 06/17/18 04:08:22AM
PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
Hi Michael,

I deactivated my custom module and rebased the E2 skin. I still do not have a working Profile_Menu when not logged in.

https://quality-trades.com/johns-electric/


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
michael
@michael
6 years ago
7,715 posts
rebase
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> TOOLS -> REBASE MODULES

is for working with the GIT versioning control system, it won't change anything at all about your skin.

Probably you want the RELOAD function from
ACP -> MODULES -> CORE -> MARKETPLACE -> TOOLS -> RELOAD MODULES OR SKINS -> ELASTIC2 -> RELOAD
PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
I am stumped! Still no profile menu. Eesh! It was working just a few days ago.

https://quality-trades.com/johns-electric/


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
paul
@paul
6 years ago
4,326 posts
Does 'John's Electric' have any uploaded items? If not, menu buttons will not show to non logged in users.


--
Paul Asher - JR Developer and System Import Specialist
PatriaCo
PatriaCo
@the-patria-company
6 years ago
349 posts
That was it! Thank you!


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

Tags