I know this is old, but I wanted to post here to maybe save someone an extra search. For details on Smarty date formatting, look here:
http://www.smarty.net/docsv2/en/languag ... ate.format
Search found 5 matches
- Wed Nov 24, 2010 4:13 am
- Forum: Modules/Add-Ons
- Topic: CGCalendar, Date Format?
- Replies: 2
- Views: 1741
- Fri Jun 18, 2010 4:17 pm
- Forum: [locked] CMSMS MLE fork
- Topic: MLE and News Module
- Replies: 6
- Views: 6545
Re: MLE and News Module
I just figured this one out. I couldn't use $lang inside of a tag unless it was assigned to another variable for some reason. This only worked when done within the html 'body' (within 'header' failed): {capture assign='langvar'}{$lang}{/capture} , then I could load it into the news module, and it wo...
- Fri Jun 18, 2010 2:34 pm
- Forum: [locked] CMSMS MLE fork
- Topic: MLE and News Module
- Replies: 6
- Views: 6545
Re: MLE and News Module
I'm also having a problem with this. {$lang}, if placed in the body of a template, returns the language properly, such as 'en_US'. However, if I put lang inside of the News module, such as {news category="Category Name - $lang" number="1" moretext="more info" detailpage...
- Mon Jun 14, 2010 11:30 pm
- Forum: Modules/Add-Ons
- Topic: AdvancedContent
- Replies: 264
- Views: 100259
Re: improve the content type "content" - Content2 -> XContent -> AdvancedContent
My apologies, I wrote that without really thinking :-\ , I appreciate the patience. Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c05/h03/mnt/46627/domains/superdupersecretdomain.com/html/dev/modules/AdvancedContent/AdvancedContent.mo...
- Mon Jun 14, 2010 8:09 pm
- Forum: Modules/Add-Ons
- Topic: AdvancedContent
- Replies: 264
- Views: 100259
Re: improve the content type "content" - Content2 -> XContent -> AdvancedContent
This looks real promising, so I'd like to test it out. Unfortunately, I'm getting the following error when I go to my Extensions->Modules page after the install: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /bla/bla/location on line 216 I...