TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 05, 2024, 12:37:30 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 188
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

SMF Calendar Block

Started by Lesmond, September 03, 2005, 11:30:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pcw

Search for <style type="text/css"><!--
       #navcontainerb ul
       {
                     margin: 4px 0;;
                     padding-left: 0;
                     list-style-type: none;
                     text-align: left;
       }

       #navcontainerb a
       {
                     display: block;
                     padding: 0px;
                     margin: 0px;
                     border: solid 1px transparent;
                     }

       #navcontainerb a:link, #navlistb a:visited
       {
                     text-decoration: none;
       }

       #navcontainerb a:hover
       {
                     background-color: #d0d0d2;
                     border: solid 1px #909090;
                     }
       --></style> 


in your index.php and remove it ;)
it should be right before the code of the "User-Block".

Moocat

#31
the index.php in my root dir? that one doesn't have that code in it.

pcw

uhm .. ur template-file  ::)

i found this part code ^^ in ur pages source by "view source code" ;)

Moocat

so index.template.php? sry i'm kinda bad at this :P

Moocat

i see that code in the source, but it doesn't say which file its in, and i checked the index.php in my helios_multi11_tp folder, and the index.template.php in same folder. also tried index.php in root dir, and this code did not appear.

pcw

sorry, i don't have this code in my templates so i can't tell u the right file.

but try tportal.template.php  :coolsmiley:

bloc

Its in TPortalBlocks.template.php.

And the "scripturl" error can be solved by adding above the calendar code:

  global $scripturl;


Both $scripturl and $boardurl can made available, but needs to be set as global first, since its not set as that in every template file. $boardurl is the path to your forum folder, but $scripturl is the path to index.php, all laid out for you.

ontap


Quote from: Bloc on September 08, 2005, 10:33:13 AM
the "scripturl" error can be solved by adding above the calendar code:

  global $scripturl;


thanks bloc!... error free :)

redshark

is it a "final" version of this calendar on a download area ?
Would be great when we have a special area with "working" blocks....i mean

Cheers

ReD

bloc

I have plans for this...I want to add working blocks to a list that will be shown in tpadmin, fetched from this site.