Page 1 of 1
Just launched: black-coffee.info
Posted: Wed Aug 10, 2011 5:18 pm
by 10010110
http://black-coffee.info
Modules used:
Captcha 0.4.3
CGBlog 1.7.5
CGCalendar 1.7.1
CGExtensions 1.26.3
CGSimpleSmarty 1.4.8
CodeMirror 2.1.0
FormBrowser 0.4
FormBuilder 0.7
Gallery 1.4.4
Guestbook 1.3.2
NMS 2.3.2
PHPMyAdmin 3.4.0b3
Quotes 0.2.0
youtubeplayer 1.3
I did a modification in the Quotes module where it would show multiple quotes, not just one random one. That change is documented on the module page in the repository.
For the shop I used PrestaShop. I tried the e-commerce module of CMS Made Simple on another site once but found that it wasn’t really working out yet (not very flexible for international use, too fixed on North American customs/issues) – although PrestaShop is kind of a pain, too, if you’re not staying close to the default layout/setup but have to modify the structure massively.
Re: Just launched: black-coffee.info
Posted: Wed Aug 10, 2011 7:27 pm
by paulbaker
Loving the visual design, especially the way you have incorporated CGCalendar top right and the footer artwork.
Loving the music too
Could not see the quotes you are referring to - probably because my German is not so gut.
Great job!
Re: Just launched: black-coffee.info
Posted: Wed Aug 10, 2011 11:21 pm
by Wishbone
Very nice!
Quick question.. Why is your {stylesheet} blank except for "body {}" and are referencing a stylesheet file instead?
I really like the look of your video player pop-up.
Re: Just launched: black-coffee.info
Posted: Thu Aug 11, 2011 1:55 am
by 10010110
Oh yeah, the stylesheet, I need to correct that. You know, I was mostly developing this directly on the remote server (I used to get bad surprises when developing locally and then noticing that the remote server didn’t support this and that so I wanted to save that) and it was annoying to edit the CSS through the CMS because of the time it takes to reload etc. so I moved it into a static CSS file temporarily. I’m going to copy it back into the CMS shortly.
Thanks a lot for your kind words.

Re: Just launched: black-coffee.info
Posted: Wed Aug 31, 2011 8:12 pm
by kubula
HI. I really like this web design.
I'm not very experienced coder and I'd like to create calendar similar to yours. Would you be so kind and share the CGcalendar template with me?
Re: Just launched: black-coffee.info
Posted: Sat Sep 03, 2011 1:31 pm
by 10010110
Sure, here you go:
Code: Select all
<div class="cal-upcominglist">
<table>
{if isset($pastitems) && $pastitems == 1}
<caption>{$lang.past_events}</caption>
{else}
<caption>{$lang.upcoming_events}</caption>
{/if}
{foreach from=$events key=key item=event}
<tr>
<th scope="row">
{if $event.event_date_start == $event.event_date_end || $event.event_date_end == 0}
{$event.event_date_start|date_format:"%d.%m."}
{else}
{if $event.event_date_start|date_format:"%d%m%y" == $event.event_date_end|date_format:"%d%m%y"}
{$event.event_date_start|date_format:"%d.%m., %H:%M"}–{$event.event_date_end|date_format:"%H:%M"}
{else}
{$event.event_date_start|date_format:"%d.%m., %H:%M"}–{$event.event_date_end|date_format:"%d.%m., %H:%M"}
{/if}
{/if}
</th>
<td>{$event.event_title}, {$event.event_summary}</td>
</tr>
{/foreach}
</table>
{if isset($navigation)}
<footer>
<div class="footer">
{cms_selflink page="termine" text="weitere Termine"}
</div>
</footer>
{/if}
{if $return_url != ""}
<div class="calendar-returnlink">{$return_url}</div>
{/if}
</div>
It’s a simple table (I think that’s more semantic than a list or whatever the default template was).
I did make a few minor manual adjustments, though, like not linking to the event details (as this isn’t relevant for my purpose at the moment) etc. And instead of the default calendar navigation I’m inserting a link to another page with the event list if the maximum number of events for this list is exceeded (as defined in the module tag
{cms_module module="cgcalendar" display="upcominglist" limit="5"}).