You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2008/11/07 23:25:42 UTC

svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

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="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
-        <li id="header-bar-ListQuotes"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
-        <li id="header-bar-ListRequests"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
-        <li id="header-bar-editShoppingList"><a href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
-        <li id="header-bar-orderhistory"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
+        <#if userLogin?has_content && userLogin.userLoginId != "anonymous">
+            <li id="header-bar-viewprofile"><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
+            <li id="header-bar-ListQuotes"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
+            <li id="header-bar-ListRequests"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
+            <li id="header-bar-editShoppingList"><a href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
+            <li id="header-bar-orderhistory"><a href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
+        </#if>
         <#if catalogQuickaddUse>
             <li id="header-bar-quickadd"><a href="<@o...@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
         </#if>



Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Vikas Mayur <vi...@gmail.com>.
Thanks Rishi, I have committed your patch in revision 713923.


Vikas

On Mon, Nov 10, 2008 at 1:53 PM, Rishi Solanki <ri...@gmail.com>wrote:

> Hello Vikas,
>
> Here is the link for the jira issue and I have attach the patch for the
> same.
>
> https://issues.apache.org/jira/browse/OFBIZ-2038
>
> --
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
> On Sat, Nov 8, 2008 at 8:35 PM, Vikas Mayur <vikas.mayur@hotwaxmedia.com
> >wrote:
>
> > Rishi, Please provide the steps for this process (and probably a patch on
> > Jira) and I will follow up from there.
> >
> > Vikas
> >
> >
> > On Nov 8, 2008, at 2:28 PM, Rishi Solanki wrote:
> >
> >  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 <
> vikas.mayur@hotwaxmedia.com
> >> >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, <mo...@apache.org> 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="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
> >>>>> -        <li id="header-bar-ListQuotes"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
> >>>>> -        <li id="header-bar-ListRequests"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
> >>>>> -        <li id="header-bar-editShoppingList"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
> >>>>> -        <li id="header-bar-orderhistory"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
> >>>>> +        <#if userLogin?has_content && userLogin.userLoginId !=
> >>>>> "anonymous">
> >>>>> +            <li id="header-bar-viewprofile"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
> >>>>> +            <li id="header-bar-ListQuotes"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
> >>>>> +            <li id="header-bar-ListRequests"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
> >>>>> +            <li id="header-bar-editShoppingList"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
> >>>>> +            <li id="header-bar-orderhistory"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
> >>>>> +        </#if>
> >>>>>     <#if catalogQuickaddUse>
> >>>>>         <li id="header-bar-quickadd"><a
> >>>>>
> >>>>>
> >>>>>
> href="<@o...@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
> >>>>>     </#if>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>
> >
>

Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Rishi Solanki <ri...@gmail.com>.
Hello Vikas,

Here is the link for the jira issue and I have attach the patch for the
same.

https://issues.apache.org/jira/browse/OFBIZ-2038

-- 
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Sat, Nov 8, 2008 at 8:35 PM, Vikas Mayur <vi...@hotwaxmedia.com>wrote:

> Rishi, Please provide the steps for this process (and probably a patch on
> Jira) and I will follow up from there.
>
> Vikas
>
>
> On Nov 8, 2008, at 2:28 PM, Rishi Solanki wrote:
>
>  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 <vikas.mayur@hotwaxmedia.com
>> >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, <mo...@apache.org> 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="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
>>>>> -        <li id="header-bar-ListQuotes"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
>>>>> -        <li id="header-bar-ListRequests"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
>>>>> -        <li id="header-bar-editShoppingList"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
>>>>> -        <li id="header-bar-orderhistory"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
>>>>> +        <#if userLogin?has_content && userLogin.userLoginId !=
>>>>> "anonymous">
>>>>> +            <li id="header-bar-viewprofile"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
>>>>> +            <li id="header-bar-ListQuotes"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
>>>>> +            <li id="header-bar-ListRequests"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
>>>>> +            <li id="header-bar-editShoppingList"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
>>>>> +            <li id="header-bar-orderhistory"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
>>>>> +        </#if>
>>>>>     <#if catalogQuickaddUse>
>>>>>         <li id="header-bar-quickadd"><a
>>>>>
>>>>>
>>>>> href="<@o...@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
>>>>>     </#if>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>

Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Vikas Mayur <vi...@hotwaxmedia.com>.
Rishi, Please provide the steps for this process (and probably a patch  
on Jira) and I will follow up from there.

Vikas

On Nov 8, 2008, at 2:28 PM, Rishi Solanki wrote:

> 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 <vikas.mayur@hotwaxmedia.com 
> >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, <mo...@apache.org> 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="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.CommonProfile}</a></li>
>>>> -        <li id="header-bar-ListQuotes"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.OrderOrderQuotes}</a></li>
>>>> -        <li id="header-bar-ListRequests"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.OrderRequests}</a></li>
>>>> -        <li id="header-bar-editShoppingList"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.EcommerceShoppingLists}</a></li>
>>>> -        <li id="header-bar-orderhistory"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.OrderHistory}</a></li>
>>>> +        <#if userLogin?has_content && userLogin.userLoginId !=
>>>> "anonymous">
>>>> +            <li id="header-bar-viewprofile"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.CommonProfile}</a></li>
>>>> +            <li id="header-bar-ListQuotes"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.OrderOrderQuotes}</a></li>
>>>> +            <li id="header-bar-ListRequests"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.OrderRequests}</a></li>
>>>> +            <li id="header-bar-editShoppingList"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.EcommerceShoppingLists}</a></li>
>>>> +            <li id="header-bar-orderhistory"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.OrderHistory}</a></li>
>>>> +        </#if>
>>>>      <#if catalogQuickaddUse>
>>>>          <li id="header-bar-quickadd"><a
>>>>
>>>> href="<@o...@ofbizUrl>">$ 
>>>> {uiLabelMap.CommonQuickAdd}</a></li>
>>>>      </#if>
>>>>
>>>>
>>>>
>>>>
>>


Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Ravi <ra...@gmail.com>.
+1 for suggestions.

Ravindra Mandre
Hotwax Media Pvt Ltd
Indore

Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by BJ Freeman <bj...@free-man.net>.
Bringing User Friendly screens to ofbiz has been one of my main efforts.
I am glad to see other at hotwax are embracing this.


Rishi Solanki sent the following on 11/8/2008 12:58 AM:
> 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   !!!!!!!!!!
> 

Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Jacques Le Roux <ja...@les7arts.com>.
+1

Jacques

From: "Rishi Solanki" <ri...@gmail.com>
> 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 <vi...@hotwaxmedia.com>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, <mo...@apache.org> 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="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
>>>> -        <li id="header-bar-ListQuotes"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
>>>> -        <li id="header-bar-ListRequests"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
>>>> -        <li id="header-bar-editShoppingList"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
>>>> -        <li id="header-bar-orderhistory"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
>>>> +        <#if userLogin?has_content && userLogin.userLoginId !=
>>>> "anonymous">
>>>> +            <li id="header-bar-viewprofile"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
>>>> +            <li id="header-bar-ListQuotes"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
>>>> +            <li id="header-bar-ListRequests"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
>>>> +            <li id="header-bar-editShoppingList"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
>>>> +            <li id="header-bar-orderhistory"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
>>>> +        </#if>
>>>>       <#if catalogQuickaddUse>
>>>>           <li id="header-bar-quickadd"><a
>>>>
>>>> href="<@o...@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
>>>>       </#if>
>>>>
>>>>
>>>>
>>>>
>>
> 


Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Rishi Solanki <ri...@gmail.com>.
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 <vi...@hotwaxmedia.com>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, <mo...@apache.org> 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="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
>>> -        <li id="header-bar-ListQuotes"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
>>> -        <li id="header-bar-ListRequests"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
>>> -        <li id="header-bar-editShoppingList"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
>>> -        <li id="header-bar-orderhistory"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
>>> +        <#if userLogin?has_content && userLogin.userLoginId !=
>>> "anonymous">
>>> +            <li id="header-bar-viewprofile"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
>>> +            <li id="header-bar-ListQuotes"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
>>> +            <li id="header-bar-ListRequests"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
>>> +            <li id="header-bar-editShoppingList"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
>>> +            <li id="header-bar-orderhistory"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
>>> +        </#if>
>>>       <#if catalogQuickaddUse>
>>>           <li id="header-bar-quickadd"><a
>>>
>>> href="<@o...@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
>>>       </#if>
>>>
>>>
>>>
>>>
>

Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Vikas Mayur <vi...@hotwaxmedia.com>.
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, <mo...@apache.org> 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="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.CommonProfile}</a></li>
>> -        <li id="header-bar-ListQuotes"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.OrderOrderQuotes}</a></li>
>> -        <li id="header-bar-ListRequests"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.OrderRequests}</a></li>
>> -        <li id="header-bar-editShoppingList"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.EcommerceShoppingLists}</a></li>
>> -        <li id="header-bar-orderhistory"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.OrderHistory}</a></li>
>> +        <#if userLogin?has_content && userLogin.userLoginId !=
>> "anonymous">
>> +            <li id="header-bar-viewprofile"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.CommonProfile}</a></li>
>> +            <li id="header-bar-ListQuotes"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.OrderOrderQuotes}</a></li>
>> +            <li id="header-bar-ListRequests"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.OrderRequests}</a></li>
>> +            <li id="header-bar-editShoppingList"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.EcommerceShoppingLists}</a></li>
>> +            <li id="header-bar-orderhistory"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.OrderHistory}</a></li>
>> +        </#if>
>>        <#if catalogQuickaddUse>
>>            <li id="header-bar-quickadd"><a
>> href="<@o...@ofbizUrl>">$ 
>> {uiLabelMap.CommonQuickAdd}</a></li>
>>        </#if>
>>
>>
>>


Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Posted by Rishi Solanki <ri...@gmail.com>.
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, 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, <mo...@apache.org> 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="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
> -        <li id="header-bar-ListQuotes"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
> -        <li id="header-bar-ListRequests"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
> -        <li id="header-bar-editShoppingList"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
> -        <li id="header-bar-orderhistory"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
> +        <#if userLogin?has_content && userLogin.userLoginId !=
> "anonymous">
> +            <li id="header-bar-viewprofile"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.CommonProfile}</a></li>
> +            <li id="header-bar-ListQuotes"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderOrderQuotes}</a></li>
> +            <li id="header-bar-ListRequests"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderRequests}</a></li>
> +            <li id="header-bar-editShoppingList"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.EcommerceShoppingLists}</a></li>
> +            <li id="header-bar-orderhistory"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.OrderHistory}</a></li>
> +        </#if>
>         <#if catalogQuickaddUse>
>             <li id="header-bar-quickadd"><a
> href="<@o...@ofbizUrl>">${uiLabelMap.CommonQuickAdd}</a></li>
>         </#if>
>
>
>