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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Rishi Solanki
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, <[hidden email]> 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>
>
>
>
Reply | Threaded
Open this post in threaded view
|

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

Vikas Mayur-3
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, <[hidden email]> 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>
>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

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

Rishi Solanki
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 <[hidden email]>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, <[hidden email]> 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>
>>>
>>>
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
+1

Jacques

From: "Rishi Solanki" <[hidden email]>

> 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 <[hidden email]>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, <[hidden email]> 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>
>>>>
>>>>
>>>>
>>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

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

BJ Freeman
In reply to this post by Rishi Solanki
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   !!!!!!!!!!
>
Reply | Threaded
Open this post in threaded view
|

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

Ravindra Mandre-2
+1 for suggestions.

Ravindra Mandre
Hotwax Media Pvt Ltd
Indore
Reply | Threaded
Open this post in threaded view
|

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

Vikas Mayur-3
In reply to this post by Rishi Solanki
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 <[hidden email]
> >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, <[hidden email]> 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>
>>>>
>>>>
>>>>
>>>>
>>

Reply | Threaded
Open this post in threaded view
|

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

Rishi Solanki
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 <[hidden email]>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 <[hidden email]
>> >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, <[hidden email]> 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>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

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

Vikas Mayur-2
Thanks Rishi, I have committed your patch in revision 713923.


Vikas

On Mon, Nov 10, 2008 at 1:53 PM, Rishi Solanki <[hidden email]>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 <[hidden email]
> >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 <
> [hidden email]
> >> >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, <[hidden email]> 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>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>
> >
>