• [MOD] Kalender / Calendar (by Cr@zy Sash) 4 0 5 1
Currently:  

Author Topic: [MOD] Kalender / Calendar (by Cr@zy Sash)  (Read 87158 times)

0 Members and 1 Guest are viewing this topic.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #15 on: April 20, 2005, 04:10:17 AM »
calendar.html is a new file, and insert {calendar} in the template files, php insert before ?>, everything else is clear.

Gruß
michi-w.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #16 on: April 20, 2005, 04:13:05 AM »
What do/should i change to make this work with 1.7.1 if there is a possibility to do it at all.....
in page_header.php replace
Code: [Select]
$calendar = $site_template->parse_template("kalender");
$site_template->register_vars(array(
    "calendar" => $calendar,
    "calendar_data" => $calendar_data,
    "lang_calendar" => $lang['lang_calendar'],
    "lang_mo" => $lang['lang_mo'],
    "lang_di" => $lang['lang_di'],
    "lang_mi" => $lang['lang_mi'],
    "lang_do" => $lang['lang_do'],
    "lang_fr" => $lang['lang_fr'],
    "lang_sa" => $lang['lang_sa'],
    "lang_so" => $lang['lang_so']
  ));
  unset($calendar);
with:
Code: [Select]
$site_template->register_vars(array(
    "calendar_data" => $calendar_data,
    "lang_calendar" => $lang['lang_calendar'],
    "lang_mo" => $lang['lang_mo'],
    "lang_di" => $lang['lang_di'],
    "lang_mi" => $lang['lang_mi'],
    "lang_do" => $lang['lang_do'],
    "lang_fr" => $lang['lang_fr'],
    "lang_sa" => $lang['lang_sa'],
    "lang_so" => $lang['lang_so']
  ));
$site_template->register_vars("calendar", $site_template->parse_template("kalender"));
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline police22

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • The Dartez Page
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #17 on: April 20, 2005, 05:24:44 AM »
What do/should i change to make this work with 1.7.1 if there is a possibility to do it at all.....
in page_header.php replace
Code: [Select]
$calendar = $site_template->parse_template("kalender");
SNIP...
  unset($calendar);
with:
Code: [Select]
$site_template->register_vars(array(
SNIP...
$site_template->register_vars("calendar", $site_template->parse_template("kalender"));

That worked.. of course V@no.. good job.. just had to change the "kalender" to "calendar" for english. Now just trying to play with the template and colors...

Good Job!!
Kudos to Cr@zy Sash for the original code.. and to Matrix for providing it again...

BTW.. quick question, V@no.. why would in part of the code like the 'calendar' i meantioned be spelled differently while in the same language.
Like This line!!!
$site_template->register_vars("calendar", $site_template->parse_template("kalender"));

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #18 on: April 20, 2005, 05:30:27 AM »
BTW.. quick question, V@no.. why would in part of the code like the 'calendar' i meantioned be spelled differently while in the same language.
Like This line!!!
$site_template->register_vars("calendar", $site_template->parse_template("kalender"));
This question should go to Cr@zy Sash ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline police22

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • The Dartez Page
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #19 on: April 20, 2005, 05:32:05 AM »
BTW.. quick question, V@no.. why would in part of the code like the 'calendar' i meantioned be spelled differently while in the same language.
Like This line!!!
$site_template->register_vars("calendar", $site_template->parse_template("kalender"));
This question should go to Cr@zy Sash ;)

 :lol: :lol: That is what i thought.. just the way it was coded.. hehehe.. ok.. just wondering... Thanks again

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #20 on: April 20, 2005, 09:44:41 PM »
It might be, that I somehow messed that up when trying to find why it didn't work for you :(

Because I was playing 'round with that to test if it could be THE reason  :roll:

Just refreshed that in the first post...

and I did split step 1 for 4images v1.7 and v1.7.1 (the 1.7.1 variation does not work with my 1.7...)

Templates and colors is your part of the job ;)
Cr@zy Sash did provide us a working construction... and you have to change it to fit your needs  :D
MAяTRIX


Offline police22

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • The Dartez Page
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #21 on: April 20, 2005, 10:54:06 PM »
It might be, that I somehow messed that up when trying to find why it didn't work for you :(

Because I was playing 'round with that to test if it could be THE reason  :roll:

Just refreshed that in the first post...

and I did split step 1 for 4images v1.7 and v1.7.1 (the 1.7.1 variation does not work with my 1.7...)

Templates and colors is your part of the job ;)
Cr@zy Sash did provide us a working construction... and you have to change it to fit your needs  :D
Oh i know.. the colors and stuff.. just was saying.. i think i got it working pretty good.. i like.. change couple things but it works..  you can see it at http://dartezpix.servepics.com

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #22 on: April 21, 2005, 12:59:38 AM »
and I did split step 1 for 4images v1.7 and v1.7.1 (the 1.7.1 variation does not work with my 1.7...)
that is strange...and it should work with v1.7 as well...are u sure u didnt forgot something when tested it? ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #23 on: April 21, 2005, 09:16:03 AM »
 @ V@no:
of course I don't know if I forgot something when testing :D
but was tooooo tired to think about that :wink:

 @ police22
i think i got it working pretty good..
Nice to read that!  8)
But your link doesn't seem to work :(
MAяTRIX


b.o.fan

  • Guest
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #24 on: April 28, 2005, 02:51:11 PM »
hello, i find out this REQ.

interessting! is that possible with this mod?

http://www.4homepages.de/forum/index.php?topic=7130.0
wrothe by K!pp
----//----
----//----

hallo ich habe diesen REQ gefunden

http://www.4homepages.de/forum/index.php?topic=7130.0
geschrieben von K!pp
sehr interessant. ist das mit diesem MOD möglich?

MfG

b.o.fan

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #25 on: April 28, 2005, 03:23:54 PM »
Im Moment wird nur das Datum angezeigt:
http://www.web-upload.de/index.php

b.o.fan

  • Guest
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #26 on: April 28, 2005, 03:27:51 PM »
das ist mir bekannt.

jemannd anderes?!?

Offline police22

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • The Dartez Page
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #27 on: April 28, 2005, 06:27:29 PM »
@ V@no:
of course I don't know if I forgot something when testing :D
but was tooooo tired to think about that :wink:

 @ police22
i think i got it working pretty good..
Nice to read that!  8)
But your link doesn't seem to work :(
WHAT!!!  8O 8O What do you mean doesn't work.. this one? http://dartezpix.servepics.com ???? it should work.. everyone else uses it.. IT BETTER WORK!! :lol:
Please try again...  You know my signature comes from that site. so if it works... the link should.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #28 on: April 29, 2005, 12:42:35 AM »
One question!

The weekend days was bigger than working days, if the browser of small fonts, is the fonts equivalent.
I want the font equivalent big, how is gone that?

(English I cannot do better)

Ich habe da noch eine Frage!

Die Wochenenden werden etwa doppelt so groß dargestellt wie die Werktage, wenn ich die Browser Schrift auf ganz klein stelle, sind sie alle gleich groß.

Ich hätte sie gerne gleich groß, wo/wie wird das gemacht?

Gruß
michi-w.

Offline michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: [MOD] Kalender / Calendar (by Cr@zy Sash)
« Reply #29 on: May 09, 2005, 10:07:39 AM »
One question!

The weekend days was bigger than working days, if the browser of small fonts, is the fonts equivalent.
I want the font equivalent big, how is gone that?

(English I cannot do better)

Ich habe da noch eine Frage!

Die Wochenenden werden etwa doppelt so groß dargestellt wie die Werktage, wenn ich die Browser Schrift auf ganz klein stelle, sind sie alle gleich groß.

Ich hätte sie gerne gleich groß, wo/wie wird das gemacht?

Gruß
michi-w.
Liegt vermutlich an der Bildschirmauflösung, bei meinem MCR wird es richtig dargestellt, beim TFT nicht, obwohl die Auflösgung gleich ist, muss die Spalte wohl etwas breiter machen.