
|
If you were logged in you would be able to see more operations.
|
|
|
dotCMS
Created: June 11, 2008 5:00 PM
Updated: July 23, 2009 11:53 AM
Due: 6/18/08
|
|
| Component/s: |
a. Unknown
|
| Affects Version/s: |
1.6.0.7
|
| Fix Version/s: |
1.6.5
|
|
|
Time Tracking:
|
|
Original Estimate:
|
2 hours
|
|
|
Remaining Estimate:
|
30 minutes
|
|
|
Time Spent:
|
1 hour, 30 minutes
|
|
|
|
|
Environment:
|
demo.dotcms.org 1.6.0.7
|
|
|
If you have a key in the dictionary like this:
dotcms.administrative.fee=$25
And you use the Dictionary in dotCMS to display the value you get this code on the page:
$glossary.get('dotcms.administrative.fee')
which works great.
If you use instead of dotcms.administrative.fee as the key and you put: Dotcms Administrative Fee.
Then on the cms properties file it's saved like this:
Dotcms\ Administrative\ Fee=$25
If you use the dictionary then to display on the content on the page the code we generate is:
$glossary.get('Dotcms Administrative Fee')
which doesn't display anything.
If we do this instead: $glossary.get('Dotcms\ Administrative\ Fee')
it works.
So we need to modify the AJAX Dictionary Terms on the Content page to add the "\" on the names or do it on the macro before looking in the property file.
|
|
Description
|
If you have a key in the dictionary like this:
dotcms.administrative.fee=$25
And you use the Dictionary in dotCMS to display the value you get this code on the page:
$glossary.get('dotcms.administrative.fee')
which works great.
If you use instead of dotcms.administrative.fee as the key and you put: Dotcms Administrative Fee.
Then on the cms properties file it's saved like this:
Dotcms\ Administrative\ Fee=$25
If you use the dictionary then to display on the content on the page the code we generate is:
$glossary.get('Dotcms Administrative Fee')
which doesn't display anything.
If we do this instead: $glossary.get('Dotcms\ Administrative\ Fee')
it works.
So we need to modify the AJAX Dictionary Terms on the Content page to add the "\" on the names or do it on the macro before looking in the property file.
|
Show » |
|