How do I use { } symbols in news templates?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How do I use { } symbols in news templates?

Post by Dr.CSS »

Try this...

{literal}{{/literal}{$entry->morelink}{literal}}{/literal}

  Hope That Helps
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How do I use { } symbols in news templates?

Post by Dr.CSS »

You can go to yoursite/modules/News/lang/  and you will find a file called en_US.php on line 76 you will see $lang['more'] = 'More';  change More to what you want.

Or you could call it in the tag {cms_module module='news' moretext="more..."} the more... is what you want to change, a little easier than messing with the .php  ;)

In the latest version of CMSMS V. 1.0 beta 4 the tag is {news moretext="more..."} for those that have updated.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How do I use { } symbols in news templates?

Post by Dr.CSS »

That I'm afraid will need to be changed in the .php or if your lang. is in the files /cmsite/modules/News/lang/ then you can use the lang. in the tag lang="en_US" using your lang. instead of en_US.

I see that you are Lithuanian and I don't think there is a translation for it , so if you would like you could take the en_US and copy it and translate it and save it to your site and call it in the tag.
Post Reply

Return to “Layout and Design (CSS & HTML)”