Bug 14017
Summary: | Personalize shopping cart messaging. | ||
---|---|---|---|
Product: | Red Hat Web Site | Reporter: | Paul Lindner <plindner> |
Component: | Other | Assignee: | Tom Lancaster <tlancast> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Paul Lindner <plindner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | current | CC: | maraya, nobody+garth |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-07-28 17:27:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Paul Lindner
2000-07-15 00:50:51 UTC
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 status... 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... |