Search found 93 matches

by joecannes
Wed Oct 02, 2013 8:10 pm
Forum: Modules/Add-Ons
Topic: SOLVED: News Module: Show Field Definition on a Template
Replies: 2
Views: 1529

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...
by joecannes
Wed Oct 02, 2013 7:04 pm
Forum: Modules/Add-Ons
Topic: SOLVED: News Module: Show Field Definition on a Template
Replies: 2
Views: 1529

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
by joecannes
Wed Oct 02, 2013 7:03 pm
Forum: Modules/Add-Ons
Topic: SOLVED: News Module: Show Field Definition on a Template
Replies: 2
Views: 1529

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...
by joecannes
Mon Dec 03, 2012 8:20 pm
Forum: Modules/Add-Ons
Topic: [solved] News module: how to show end_date
Replies: 1
Views: 936

Re: [solved] News module: how to show end_date

Found it, (if anyone needs reference):

Code: Select all

{if $entry->enddate}{$entry->enddate|cms_date_format}

JC
by joecannes
Mon Dec 03, 2012 8:07 pm
Forum: Modules/Add-Ons
Topic: [solved] News module: how to show end_date
Replies: 1
Views: 936

[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...
by joecannes
Thu Jul 26, 2012 4:35 pm
Forum: Modules/Add-Ons
Topic: Calling a content block in a news Summary
Replies: 1
Views: 869

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)"...
by joecannes
Tue Jun 05, 2012 3:02 pm
Forum: CMS Show Off
Topic: A.J. Hall ebooks (mobile first - responsive design)
Replies: 20
Views: 12525

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
by joecannes
Tue May 29, 2012 3:29 pm
Forum: Tips and Tricks
Topic: News Archives by Year/Month ( Tamplate + UDTs )
Replies: 37
Views: 30189

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...
by joecannes
Tue May 01, 2012 9:31 pm
Forum: Modules/Add-Ons
Topic: cgcalendar list of categories
Replies: 1
Views: 1225

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
by joecannes
Wed Apr 25, 2012 10:34 pm
Forum: Modules/Add-Ons
Topic: CGCalendar French Day Problem in Upcoming list template
Replies: 0
Views: 955

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"} ...
by joecannes
Tue Feb 14, 2012 4:54 pm
Forum: Modules/Add-Ons
Topic: Vimeo PLayer Module: show by Category
Replies: 1
Views: 776

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...
by joecannes
Wed Nov 30, 2011 4:49 pm
Forum: General Discussion
Topic: Multi-Language Websites Poll
Replies: 54
Views: 114509

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 ...
by joecannes
Mon Nov 28, 2011 2:42 am
Forum: General Discussion
Topic: Multi-Language Websites Poll
Replies: 54
Views: 114509

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...
by joecannes
Thu Sep 08, 2011 7:10 pm
Forum: Modules/Add-Ons
Topic: News module: "File" field definition not working with {if}
Replies: 1
Views: 1120

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:

Code: Select all


{if $field->value != ''}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
SHOW DEFAULT IMAGE
        {/if}

JC
by joecannes
Thu Sep 08, 2011 7:09 pm
Forum: Modules/Add-Ons
Topic: News module: "File" field definition not working with {if}
Replies: 1
Views: 1120

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...

Go to advanced search