You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

"Click Date for more details" doesn't work

UserPost

6:49 am
September 16, 2009


ollie

Member

posts 6

Please see my website at http://lizatlancaster.co.za/blog/

I have just started using your Calendar (thanks)

The problem:  "Click Date for more details" doesn't work.  I click and nothing happens.

Thanks in advance.

11:12 am
September 17, 2009


iamtibo

New Member

posts 2

Hi Ollie.

I used to have the same problem but I just fixed it.

go to events-calendar.php line 121

and replace

<link type="text/css" rel="stylesheet" href="<?php bloginfo('siteurl');?>/wp-includes/js/thickbox/thickbox.css" />

By

<link type="text/css" rel="stylesheet" href="YOUR SITE URL/wp-includes/js/thickbox/thickbox.css" />

And then in your theme header.php

add

<script type="text/javascript" src="YOUR SITE URL/wp-includes/js/thickbox/thickbox.js"></script>

I don't really know if it's the right way to do it but it works for me.

10:44 am
September 21, 2009


ollie

Member

posts 6

I changed the line in events-calendar.php

from:

<link type="text/css" rel="stylesheet" href="<?php bloginfo('wpurl');?>/wp-includes/js/thickbox/thickbox.css" />

to:

<link type=”text/css” rel=”stylesheet” href=”http://lizatlancaster.co.za/blog/wp-includes/js/thickbox/thickbox.css” />

And I added the line: 

<script type=”text/javascript” src=”http://lizatlancaster.co.za/blog/wp-includes/js/thickbox/thickbox.js”></script>

Just under the <title> tag – is that ok?

I deactivated and activated the plugin, but alas, that didn't work for me.  Any other ideas?

10:51 am
September 21, 2009


ollie

Member

posts 6

I discovered this error, -

.click(function() {

  tb_show( "September Monday 15 2009", "http://lizatlancaster.co.za/blog?EC_view=day&EC_month=09&EC_day=15&EC_year=2009&TB_iframe=true&width=220&height=250", false);

Uncaught ReferenceError: tb_show is not defined
[Exception] ReferenceError: tb_show is not defined

Does that help to shed any light on the matter?

11:33 am
September 21, 2009


ollie

Member

posts 6

Sorry that I keep replying to my own post, but I found more info that may help.

If I view the source (using Chrome)

view-source:http://lizatlancaster.co.za/blog/

I see the line:

<link type="text/css" rel="stylesheet" href="http://lizatlancaster.co.za/bl…..ickbox.css" />

This is the file that I found to contain the function tb_show()

And this path does exist, so I don't know why its not working.

Please help if you can.

4:45 pm
September 21, 2009


iamtibo

New Member

posts 2

Hi

I checked your source code.

I saw

<body><script type=”text/javascript” src=”http://lizatlancaster.co.za/blog/wp-includes/js/thickbox/thickbox.js”></script>

Try to call the script before the body tag see below

<script type=”text/javascript” src=”http://lizatlancaster.co.za/blog/wp-includes/js/thickbox/thickbox.js”></script><body>

This might work.

Let me know

11:24 pm
September 22, 2009


ollie

Member

posts 6

Sorry, that didn't work either.

I also tried it within the <HEAD> tags, after the <HEAD> tags and before and after the <BODY> tags.

I have left it now after </HEAD> and before <BODY>

tb_show( "September Tuesday 23 2009", "http://lizatlancaster.co.za/blog?EC_view=day&EC_month=09&EC_day=23&EC_year=2009&TB_iframe=true&width=220&height=250", false);

Uncaught ReferenceError: tb_show is not defined
[Exception] ReferenceError: tb_show is not defined

6:42 am
February 26, 2010


Dylls

New Member

posts 2

— Pt-BR —
Consegui resolver meu problema (clique aqui para mais informações = não funcionando) da seguinte maneira: Simplesmente adicionei no arquivo footer.php do meu tema o código <?php wp_footer(); ?> logo após o início da primeira div no meu caso ficou assim:

    <!– RODAPÉ–>
    <div id="rodape">
    
    <!– Para funcionar o Events Calendar –>
    
<?php wp_footer(); ?>

    <!– Calendar funcionando –>
    
        <div id="parceiros">
            <ul> ………….
            ………………
            ………………

** Detalhes aqui: http://www.wpdesigner.com/2007…..&nbsp;          
            
Para resolver uma outra questão que foi a das imagens (a barra de carragar e o "X" do fechar) não aparecerem, fiz mais ou menos como "vangrog" (http://wordpress.org/support/t…..&nbsp; mostra ácima. Adicinoei um trecho de código dentro da função que realiza o evento do clicar para ver mais informações no arquivo ec_js.class.php que fica na pasta do plugin Events Calendar:  
tb_pathToImage = "http://www. nome do seu site/blog aqui /wp-includes/js/thickbox/loadingAnimation.gif";
tb_closeImage = "http://www. nome do seu site/blog aqui /wp-includes/js/thickbox/tb-close.png";
No meu ficou assim:

// For tests
// <script type="text/javascript">
// // <![CDATA[
// jQuery.noConflict();
// (function($) {
// ecd.jq(document).ready(function() {
?>
      ecd.jq('#events-calendar-<?php echo $d;?>').attr('title', '<?php echo $output;?>');
      ecd.jq('#events-calendar-<?php echo $d;?>').attr('style', '<?php echo $dayHasEventCSS;?>');
      ecd.jq('#events-calendar-<?php echo $d;?>').mouseover(function() {
        ecd.jq(this).css('cursor', 'pointer');
      });
      
      <!–Para aparecer às imagens (barra e "x" do fechar)–>
      
          tb_pathToImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/loadingAnimation.gif";
        tb_closeImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/tb-close.png";
        
      <!–Para aparecer às imagens (barra e "x" do fechar)–>
      
      ecd.jq('#events-calendar-<?php echo $d;?>').click(function() {
        tb_show("<?php echo $date_show; ?>", "<?php bloginfo('siteurl');?>?EC_view=day&EC_month=<?php echo $m;?>&EC_day=<?php echo $d;?>&EC_year=<?php echo $y;?>&TB_iframe=true&width=220&height=250", false);
      });
      ecd.jq('#events-calendar-<?php echo $d;?>').tooltip({
      
Acho que tem uma forma de deixar que o próprio wp saiba o endereço do site sozinho só bastando colocar mais ou menos assim: tb_pathToImage = " código do wordpress /wp-includes/js/thickbox/loadingAnimation.gif"; mais não sei como fazer ainda sou novo neste negócio. Fica aí a idéia, por favor se alguém poder melhorar a tradução fique avontade até para outros idiomas se possível, pois apesar de ser um problema simples e fácil de resolver muita gente se esquece por pensar que é algo muito sério…

— Traduzido do Pt-BR para o Eng pelo Google tradutor —
— Translated from Pt-BR to the Google translator Eng —

I managed to solve my problem (click here for more information = not working) as follows: Just added the footer.php file of my theme code <?php wp_footer ();?> Just after the start of the first div in my case was thus:

<!– Footer –>
<div ID=" footer ">

    <!– To run the Events Calendar –>

    <?php wp_footer ();?>

    <!– Calendar running –>

<div ID=" partners ">
<ul> ………….
………………
………………

** Details here: http://www.wpdesigner.com/2007…..wp_footer/

To address another issue that was the images (the bar carrager and "X" to close) do not appear, did more or less as "Vangrog" (http://wordpress.org/support/t…..replies=27) shows up. Adicinoei a snippet of code inside the function that performs the event click to see more information in the ec_js.class.php which is in the plugin's Events Calendar:
tb_pathToImage = "http://www. name of your site / blog here / wp-includes/js/thickbox/loadingAnimation.gif";
tb_closeImage = "http://www. name of your site / blog here / wp-includes/js/thickbox/tb-close.png";
In my was this:

// For tests
// <script type="text/javascript">
// // <![CDATA[
// jQuery.noConflict();
// (function($) {
// ecd.jq(document).ready(function() {
?>
      ecd.jq('#events-calendar-<?php echo $d;?>').attr('title', '<?php echo $output;?>');
      ecd.jq('#events-calendar-<?php echo $d;?>').attr('style', '<?php echo $dayHasEventCSS;?>');
      ecd.jq('#events-calendar-<?php echo $d;?>').mouseover(function() {
        ecd.jq(this).css('cursor', 'pointer');
      });

      <!– To show the images (bar and "x" to close) –>

      tb_pathToImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/loadingAnimation.gif";
      tb_closeImage = "http://www.cipoproducoes.org.br/ccdc/wp-includes/js/thickbox/tb-close.png";

      <!– To show the images (bar and "x" to close) –>

      ecd.jq('#events-calendar-<?php echo $d;?>').click(function() {
        tb_show("<?php echo $date_show; ?>", "<?php bloginfo('siteurl');?>?EC_view=day&EC_month=<?php echo $m;?>&EC_day=<?php echo $d;?>&EC_year=<?php echo $y;?>&TB_iframe=true&width=220&height=250", false);
      });
      ecd.jq('#events-calendar-<?php echo $d;?>').tooltip({
      

I think there's a way to let himself wp know the address of the site alone is sufficient only to put something like this: tb_pathToImage = "code wordpress / wp-includes/js/thickbox/loadingAnimation.gif", most do not know how to do I'm still new in this business. It is the idea, please if someone can improve the translation to be avontade for other languages if possible, because despite being a simple problem and easy to solve a lot of people forget because they think it is something very serious …


About the WP Events Calendar forum

Most Users Ever Online: 50

Currently Online:
5 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 4
Forums: 9
Topics: 519
Posts: 1450

Membership:

There are 877 Members

There are 5 Admins

Top Posters:

rosko – 60
Stewart – 36
bitkahuna – 20
wombat1 – 14
vickilh2 – 11
cmldesigns – 11

Recent New Members: jmccann, ntarantino, mpurcell, sparkie, zell1987, Jane

Administrators: laplix (170 Posts), Luke (48 Posts), heirem (13 Posts), Brad (10 Posts), coe (0 Posts)