Shopping Cart text needs to have personalized headings based on the user
when logged in.
I added this functionality from the engineering side. There is now a new folder
in the 'store_cart' pane called 'cart_headers'. All header files for the store
cart should be put here. To include a header file in a cart style, a header
include function is provided. You can include headers like this:
For a header file named 'my_header.html'
To include in a cart style add the line:
<% cart_header('my_header'); %>
just before the first bit of HTML.
Paul, for some reason I was not able to assign this bug to myself or change its
Update on previous comment; my fix does not actually address the problem.
Rather than needing a personalized *cart* header, a personalized *page* header
is need for a particular page showing the cart.
This will require updating the site.rdf file to allow variable substitution and
adding a logged in page title and a logged out page title.
This has been fixed by adding code to the Apps::Nav module. One can now
personalize the header pane for the logged in user. This is done via the *.rdf
files in the header pane folder 'web/apps/panes/header/nav'. There are 3 new
variables that can be used:
%u == replaced by the logged in user's username
%f == replaced by the logged in user's first name
%l == replaced by the logged in user's last name
There are also two new tags:
<dc:userTitle> == the title used when a user is logged in.
<rh:userNavTitle> == the nav title used when a user is logged in.
knock this out of the queue, it's done...