Re: new event calendar plugin
Posted: Mon Nov 16, 2009 7:30 pm
Tomorrow will be fine, but you might want to consider a download location other than spartacus for testing and development purposes.
The smarty template plugin_eventcal_cal.tpl has this, which suggests an article format option:
I think it would be good to have that option, but it does not appear in the plugin's configuration. If you enable it, you could follow the code example of bulletproof's plugin_staticpage.tpl or bulletproof's plugin_dynamicform.tpl, with code such as:
And, of course, end it with:
Something else that I noticed did not work is the option labeled "Static Pagetitle & URL". The default value for this is "Calendar for Events" (probably should have a default value without spaces). I changed this to just "events" but index.php?serendipity[subpage]=events does not work.
I like the ability for "Intro". Rather than using a text field, can you make it like static page pre-content, complete with editor?
I have not yet spent much time looking at the html and css, but I see a LOT of inline styling. I think all that should get kicked to the stylesheet. And why hard code the master table to 770px!important? How about just 100%? I suspect I will have other comments regarding html and css when I take a closer look.
The smarty template plugin_eventcal_cal.tpl has this, which suggests an article format option:
Code: Select all
{if $is_eventcal_articleformat == true}
<h3 class="serendipity_date">$CONST.PLUGIN_EVENTCAL_TITLE</h3>
{/if} Code: Select all
{if $plugin_contactform_articleformat}
<div class="serendipity_Entry_Date">
<h3 class="serendipity_date">{$plugin_contactform_name}</h3>
<div class="serendipity_entry">
<div class="serendipity_entry_body">
{/if}Code: Select all
{if $plugin_contactform_articleformat}
</div>
</div>
</div>
{/if}I like the ability for "Intro". Rather than using a text field, can you make it like static page pre-content, complete with editor?
I have not yet spent much time looking at the html and css, but I see a LOT of inline styling. I think all that should get kicked to the stylesheet. And why hard code the master table to 770px!important? How about just 100%? I suspect I will have other comments regarding html and css when I take a closer look.