+1
Jacques
From: "Rishi Solanki" <[EMAIL PROTECTED]>
Hello Vikas/All,
If we notice that on any site for example yahoo/gmail or any e commerce
site. There are two links available for any guest user in two ways ;
1). log in | register
2). sign in | sign up
So that user can go for registration from the main page itself. It means
that it is the regular and accepted convention followed by most of the site
(In my view all sites).
Also if a user not having any userLoginId then why he/she bother to click on
login link, and will definitely search for a link through which he/she can
register on that site.
One more thing in the designing of sites the navigation rules it self says
that we should provide all links on main page which are valid for a user. In
our case it is guest user who can create profile on our site.
It is only known to us that we can create our profile after clicking on
login and then on create. But not to user of that site.
Thoughts are most welcome !!!!!!!!!!
--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Sat, Nov 8, 2008 at 11:50 AM, Vikas Mayur <[EMAIL PROTECTED]>wrote:
inline.
On Nov 8, 2008, at 11:45 AM, Rishi Solanki wrote:
I think we need to add one link so user may have the option to create his
profile.
I know there is a link for login is exists,
I guess this is sufficient to create a profile.
Vikas
but we should provide a link to
register who visited the site as guest.
--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
On Sat, Nov 8, 2008 at 3:55 AM, <[EMAIL PROTECTED]> wrote:
Author: mor
Date: Fri Nov 7 14:25:42 2008
New Revision: 712292
URL: http://svn.apache.org/viewvc?rev=712292&view=rev
Log:
Few links on ecommerce header should be visible only to logged in user,
hiding them for guest users
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=712292&r1=712291&r2=712292&view=diff
==============================================================================
---
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
(original)
+++
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Fri Nov 7 14:25:42 2008
@@ -106,11 +106,13 @@
</ul>
<ul id="right-links">
<!-- NOTE: these are in reverse order because they are stacked
right to left instead of left to right -->
- <li id="header-bar-viewprofile"><a
href="<@ofbizUrl>viewprofile</@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
- <li id="header-bar-ListQuotes"><a
href="<@ofbizUrl>ListQuotes</@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
- <li id="header-bar-ListRequests"><a
href="<@ofbizUrl>ListRequests</@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
- <li id="header-bar-editShoppingList"><a
href="<@ofbizUrl>editShoppingList</@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
- <li id="header-bar-orderhistory"><a
href="<@ofbizUrl>orderhistory</@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
+ <#if userLogin?has_content && userLogin.userLoginId !=
"anonymous">
+ <li id="header-bar-viewprofile"><a
href="<@ofbizUrl>viewprofile</@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
+ <li id="header-bar-ListQuotes"><a
href="<@ofbizUrl>ListQuotes</@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
+ <li id="header-bar-ListRequests"><a
href="<@ofbizUrl>ListRequests</@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
+ <li id="header-bar-editShoppingList"><a
href="<@ofbizUrl>editShoppingList</@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
+ <li id="header-bar-orderhistory"><a
href="<@ofbizUrl>orderhistory</@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
+ </#if>
<#if catalogQuickaddUse>
<li id="header-bar-quickadd"><a
href="<@ofbizUrl>quickadd</@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
</#if>