← Back to team overview

exponent-cms team mailing list archive

Re: About news module

 

Thanks Phillip,

indeed I should have the right choice for the date but still it makes it differently.

Another thing for the news module. We need a transparent picture for the news and thumbnailing makes it jpg, so it looses the transparency then.

{if $item->expFile[0]->id}
         {img class="thumbnail" file_id=$item->expFile[0]->id w=200 alt=$item->expFile[0]->alt}
{/if}

What should be in this piece of code in order to have no thumbnailing or that it would keep it .png?

We also noted that it would be great to still find the modules that has been added when the theme said for example "sectional" after it has been changed for "global". If you edit the theme now, you can't anymore find the content. It is found if you put back the old theme and copy paste the content but of course it is not very practical in that way.

Br, Sanna

On 10.1.2011, at 18.35, Phillip Ball wrote:

> Hi Sanna, 
> 
> There's a few options under the display tab in the site config that should change the look of the date sitewide. Have a play with that.
> 
> As for language, there's some smarty placeholders that we're using until we get the guts of the language system worked out. soon, the links will look like:  <a href="{link}" />{"Read More"|gettext}</a>
> 
> We currently have no translation in 2.0 yet.
> 
> Cheers,
> 
> -- 
> Phillip 
> 
> On Jan 10, 2011, at 4:34 AM, Sanna Edelman wrote:
> 
>> Hi, 
>> 
>> I was "translating" parts of News module and realised that "Read more" etc are hard-coded there.
>> Have we lost the translation level somewhere? The separation of the code and interface texts.
>> 
>> Anyhow, the view "showall" is insisting to give me date like this: Jan 9, 2011
>> In the template there is
>> <span class="date">{$item->publish_date|date_format}</span>
>> 
>> I checked that the date_format should be referring to the configuration file what shows in the admin that the date model is 01.11.2010. That would be fine and wouldn't give for the end-user a "wrong" language like now.
>> Config.php in the server has define("DISPLAY_DATE_FORMAT",'%d.%m.%Y');
>> 
>> What should we have and where in our code that the user would see 09.01.2011 instead of this "Jan 9, 2011"?
>> 
>> BR, 
>> 
>> Sanna
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~exponent-cms
>> Post to     : exponent-cms@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~exponent-cms
>> More help   : https://help.launchpad.net/ListHelp
> 







References