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>




Reply via email to