Search found 93 matches
- Wed Oct 02, 2013 8:10 pm
- Forum: Modules/Add-Ons
- Topic: SOLVED: News Module: Show Field Definition on a Template
- Replies: 2
- Views: 1534
Re: SOLVED: News Module: Show Field Definition on a Template
Hi all, I solved it, here is what I did: 1. In my detail template, I setup a new variable for the image field definition my facebook image: {assign var='fb_post_image_location' value=$entry->file_location} {assign var='fb_post_image' value=$entry->summaryimage} Then on my template, I wrote this in t...
- Wed Oct 02, 2013 7:04 pm
- Forum: Modules/Add-Ons
- Topic: SOLVED: News Module: Show Field Definition on a Template
- Replies: 2
- Views: 1534
Re: News Module: Show Field Definition on a Template
One thing, when I created the field definition, I set the visibility to PUBLIC as well
- Wed Oct 02, 2013 7:03 pm
- Forum: Modules/Add-Ons
- Topic: SOLVED: News Module: Show Field Definition on a Template
- Replies: 2
- Views: 1534
SOLVED: News Module: Show Field Definition on a Template
Hi, In the news module, I created a field module for the user to assign an image to a news item. In my summary and detail template, this is how I call it: {if !empty($entry->summaryimage)} <img src="{$entry->file_location}/{$entry->summaryimage}" alt="" /> {else} <img src="u...
- Mon Dec 03, 2012 8:20 pm
- Forum: Modules/Add-Ons
- Topic: [solved] News module: how to show end_date
- Replies: 1
- Views: 942
Re: [solved] News module: how to show end_date
Found it, (if anyone needs reference):
JC
Code: Select all
{if $entry->enddate}{$entry->enddate|cms_date_format}
JC
- Mon Dec 03, 2012 8:07 pm
- Forum: Modules/Add-Ons
- Topic: [solved] News module: how to show end_date
- Replies: 1
- Views: 942
[solved] News module: how to show end_date
Hi all, I am creating news items using the news module, and in the summary template, I want to show the expiration date when the news item expires. I have been placing this in my summary template: {$entry->end_date} But it does not show the end date. What am I doing wrong, is it supposed to be calle...
- Thu Jul 26, 2012 4:35 pm
- Forum: Modules/Add-Ons
- Topic: Calling a content block in a news Summary
- Replies: 1
- Views: 875
Calling a content block in a news Summary
Hi all, I am wondering if this is possible and how it is done, my logic might be wrong. Let's say for example, I have a custom content block in my template written as below: {content block="archivedYearValue" assign="archivedYearValue" label="Archived Year Value (YYYY)"...
- Tue Jun 05, 2012 3:02 pm
- Forum: CMS Show Off
- Topic: A.J. Hall ebooks (mobile first - responsive design)
- Replies: 20
- Views: 12545
Re: A.J. Hall ebooks (mobile first - responsive design)
nice site!
Question, How are you switching the navigation from a list to a dropdown in a mobile view? Using jquery or css?
Thanks,
JC
Question, How are you switching the navigation from a list to a dropdown in a mobile view? Using jquery or css?
Thanks,
JC
- Tue May 29, 2012 3:29 pm
- Forum: Tips and Tricks
- Topic: News Archives by Year/Month ( Tamplate + UDTs )
- Replies: 37
- Views: 30240
Re: News Archives by Year/Month ( Tamplate + UDTs )
Hi, I've set this up, and it works fine, but I have a question. I want to show only archived items. I changed: {news action='detail' articleid=$articleid sortby='news_date'} to {news action='detail' articleid=$articleid showarchive='1' s ortby='news_date'} (by adding showarchive='1' ) to pick up onl...
- Tue May 01, 2012 9:31 pm
- Forum: Modules/Add-Ons
- Topic: cgcalendar list of categories
- Replies: 1
- Views: 1226
cgcalendar list of categories
Hi all,
How do I create a list of the categories with cgcalendar? and when a user clicks on one of the categories, it takes them to a listing of the events for that category?
Thanks,
JC
P.s. Using the latest version of cgcalendar
How do I create a list of the categories with cgcalendar? and when a user clicks on one of the categories, it takes them to a listing of the events for that category?
Thanks,
JC
P.s. Using the latest version of cgcalendar
- Wed Apr 25, 2012 10:34 pm
- Forum: Modules/Add-Ons
- Topic: CGCalendar French Day Problem in Upcoming list template
- Replies: 0
- Views: 956
CGCalendar French Day Problem in Upcoming list template
Hi all, I am working on a french site and using CGCalendar. This is the code I using for the upcoming list template: <div class="calendar-event"> <h1>{$event.event_title}</h1> <h2>Date de l'événement :</h2> {assign var=month_number value=$event.event_date_start|date_format:"%m"} ...
- Tue Feb 14, 2012 4:54 pm
- Forum: Modules/Add-Ons
- Topic: Vimeo PLayer Module: show by Category
- Replies: 1
- Views: 778
Vimeo PLayer Module: show by Category
Hi all, I have installed vimeo player 1.1 on CMSMS 1.8.2 and it works fine. When I try to embed the videos on my page, ie: {cms_module module="vimeoplayer" what="video"} I dont have the option to show videos from a certain category, as category is not a parameter. How do I displa...
- Wed Nov 30, 2011 4:49 pm
- Forum: General Discussion
- Topic: Multi-Language Websites Poll
- Replies: 54
- Views: 116609
Re: Multi-Language Websites Poll
The last working version of that module worked with CMSMS 1.8.2, and unfortunately, all my clients are stuck on that version, and I cannot upgrade them. (I even have Government of Canada websites running CMSMS MLE) I suggest you change those sites immediately as the 1.8.2 series and other versions ...
- Mon Nov 28, 2011 2:42 am
- Forum: General Discussion
- Topic: Multi-Language Websites Poll
- Replies: 54
- Views: 116609
Re: Multi-Language Websites Poll
Every job I do with CMSMS used the CMS MLE module that was managed in the past by Alby. The last working version of that module worked with CMSMS 1.8.2, and unfortunately, all my clients are stuck on that version, and I cannot upgrade them. (I even have Government of Canada websites running CMSMS ML...
- Thu Sep 08, 2011 7:10 pm
- Forum: Modules/Add-Ons
- Topic: News module: "File" field definition not working with {if}
- Replies: 1
- Views: 1124
Re: News module: "File" field definition not working with {i
This is the main part of the above code that I am a problem with:
JC
Code: Select all
{if $field->value != ''}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
SHOW DEFAULT IMAGE
{/if}
JC
- Thu Sep 08, 2011 7:09 pm
- Forum: Modules/Add-Ons
- Topic: News module: "File" field definition not working with {if}
- Replies: 1
- Views: 1124
News module: "File" field definition not working with {if}
Hello, I wanted an image associated with each news post, so I added a new field definition called "summaryImage". On my summary template, I created an if statement, that if there is no "summaryImage" uploaded, then show a default image. But i cant get it to work. I can see the up...