|
Haven't registered yet? Do it here now!
|
bakdoor
Joined: 08 Dec 2007 Posts: 34
|
|
|
|
|
|
|
Posted: Wed Jan 02, 2008 8:02 pm Post subject: Need some help with %%CALENDAR%% |
|
|
|
|
|
|
|
|
|
|
Hello. I can't seem to get the CALENDAR function working. Have this in my css:
.cal_day { background-color: #000000; color: #ffffff; font: 11px arial;}
and have it defined as such:
<h2 class="module-header">Archive</h2>
<div class="cal_day">
%%CALENDAR%%
</div>
All I get is the black background.
Thanks |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Jan 03, 2008 12:25 am Post subject: |
|
|
|
|
|
|
|
|
|
|
um, no thats incorrect usage...
the css classes as described in the thread in the docs forum, are for direct use. They are embedded in the tables printed by the script itself, so you shouldn't use any divs or stuff like you did now.
So, just go and see the classes names in the thread and put just their style in the stylesheet, not in the html like divs or whatever. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
bakdoor
Joined: 08 Dec 2007 Posts: 34
|
|
|
|
|
|
|
Posted: Thu Jan 03, 2008 12:42 am Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | um, no thats incorrect usage...
the css classes as described in the thread in the docs forum, are for direct use. They are embedded in the tables printed by the script itself, so you shouldn't use any divs or stuff like you did now.
So, just go and see the classes names in the thread and put just their style in the stylesheet, not in the html like divs or whatever. |
So, this is in my css: (i removed the <div> in the temp)
.cal_day { background-color: #000000; color: #ffffff; font: 11px arial;}
Still no calendar |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Jan 03, 2008 6:14 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
you wanna say your whole calendar doesn't get displayed? _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
bakdoor
Joined: 08 Dec 2007 Posts: 34
|
|
|
|
|
|
|
Posted: Sat Jan 05, 2008 12:11 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | you wanna say your whole calendar doesn't get displayed? |
NOTHING displays. I've tried using the token on various parts of the page, still NOTHING. Got to be something dumb that I'm just missing, but...... |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Sat Jan 05, 2008 12:36 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
hm, are you puting the %%calendar%% variable into the main template?
also try enabling "general settings->curl settings" and rebuild the blog. sometimes that helps too..
if no display of the calendar again, pm me url and pass to your BO admin and i will be looking into the issue.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
bakdoor
Joined: 08 Dec 2007 Posts: 34
|
|
|
|
|
|
|
Posted: Sat Jan 05, 2008 12:54 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | hm, are you puting the %%calendar%% variable into the main template?
also try enabling "general settings->curl settings" and rebuild the blog. sometimes that helps too..
if no display of the calendar again, pm me url and pass to your BO admin and i will be looking into the issue.. |
YES! Thank you. Enabling 'CURL' did the trick.
I'm far from a css expert, but the following in my style sheet gave me a nice little calendar that suits my purpose nicely:
.cal_day_ev{ background-color: #101921; color: #cccccc; font: 9px arial;width: auto;
}
.cal_table{ background-color: #101921; color: #cccccc; font: 9px arial;width: auto;
}
.cal_td_header{ background-color: #101921; color: #ffffff; font: 9px arial;width: auto;
} |
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |