Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
lazdim
tagDiv Member

Hi Simion,
I am glad that you are in charge of this thread.
Well, because I can’t deactivate all plugins to the live website, as it is a news portal, I made a clone here.
I deactivated all plugins except tagDiv Composer and tagDiv Social Counter.
Flashed my cache. Same error.
Here is a short video.
Simion, I really need your help with this…

lazdim
tagDiv Member

Hi,
I have already changed the footer background URL image with HTTPS.
Unfortunately, this doesn’t change the protocol of the background image URL in .td-menu-background:before, .td-search-background:before and .white-popup-block:before classes. It is generated by the theme, in td_css_generator.php file ans, as a result, we get an none-found image:
.td-menu-background:before,
.td-search-background:before {
background: @mobile_gradient_one_mob;
background: -moz-linear-gradient(top, @mobile_gradient_one_mob 0%, @mobile_gradient_two_mob 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, @mobile_gradient_one_mob), color-stop(100%, @mobile_gradient_two_mob));
background: -webkit-linear-gradient(top, @mobile_gradient_one_mob 0%, @mobile_gradient_two_mob 100%);
background: -o-linear-gradient(top, @mobile_gradient_one_mob 0%, @mobileu_gradient_two_mob 100%);
background: -ms-linear-gradient(top, @mobile_gradient_one_mob 0%, @mobile_gradient_two_mob 100%);
background: linear-gradient(to bottom, @mobile_gradient_one_mob 0%, @mobile_gradient_two_mob 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’@mobile_gradient_one_mob’, endColorstr=’@mobile_gradient_two_mob’, GradientType=0 );
}

/* @login_background_image */
.white-popup-block:before {
background-image: url(‘@login_background_image’);
}

/* @login_background_repeat */
.white-popup-block:before {
background-repeat: @login_background_repeat;
}

/* @login_background_size */
.white-popup-block:before {
background-size: @login_background_size;
}

/* @login_background_position */
.white-popup-block:before {
background-position: @login_background_position;
}

/* @login_background_opacity */
.white-popup-block:before {
opacity: @login_background_opacity;
}

  • This reply was modified 8 years by lazdim.
lazdim
tagDiv Member

Hi Simion,
We think this is not what we exactly need.
What if, instead of placing the code in head section, we paste it to each location an ad we want to appear through Theme Panel?

lazdim
tagDiv Member

Hi Simion,
Actually, we have created 3 custom ads for AdSense with auto dimensions in the home page.
These positions should be able to accept any AdSense ad banner from other websites so they are empty, no code in them.
Indeed, it works just fine but we want to remove the position above the top bar.

To be honest, we are not sure how we can do that, meaning what kind of ad code to ebter in the ads positions so we would be grateful if you could inspect our website.

Thank you in advance.

lazdim
tagDiv Member

Hi Simion,
Thank you for your immediate response.

Just a little detail: should I deactivate and delete the plugins or can I overwrite them by uploading the updated ones via FTP?

Thank you in advance.

lazdim
tagDiv Member

Sorry for the post. We figured out the problem. It was a SSL problem on the links of the pages. Problem solved!

lazdim
tagDiv Member

P.S. The problem shows up on Firefox too…

lazdim
tagDiv Member

Hi Simion,
I created a new demo and everything works good.
No need to waste any more time on this.

Thank you for everything.

lazdim
tagDiv Member

Hi Simion,
I checked the parameters and i think that, since the composer works fine for domain.com, everything described in the system status page should be OK.
Let me remind you that I made a copy of the main site to a subdomain on the same server, meaning that the system status is the same.

I deactivated, deleted and re-installed the composer plugin.
Unfortunately, exact same thing.

Is it possible to give you the credentials of an admin account to have a look?
Thank you in advance.

lazdim
tagDiv Member

Hi Simion,
First of all, thank you for your immediate reply.

Unfortunately, although your solution seems to be the best, my client wasn’t happy. Actually, he didn’t wanted to change the layout.
So, I made some changes to td_main.php and I got the results he wanted.

Yes, I have some problems with the responsive layout but I will fix them.
Tomorrow, you may see the results here.

If you want me to post the changes I made, please let me know.

Thank you again for your support.

lazdim
tagDiv Member

Dear Simion,
I apologize for my stupid question… Honestly, I didn’t see the translation section in the theme panel.

Thank you very much for your immediate reply.

  • This reply was modified 8 years by lazdim.
lazdim
tagDiv Member

OK, Simion. I will do as you say.
Thank you for your efforts and your time.

lazdim
tagDiv Member

Hi Simion,
Thank you very much for you immediate response but, I think there is a misunderstanding here.

The tagDiv Composer was working fine for the administrator before the changes I made to the tdc_main.php.

I asked a way to give access to the editor to use the tagDiv Composer.
You recommended me a code change to tdc_main.php file which I made and, after that, neither the administrator nor the editor had access to the Composer.

To solve this, I uploaded the original file (tdc_main.php), meaning that the changes you recommended were gone, and everything got back to normal.
THE ADMINISTRATOR CAN HAVE ACCESS TO TAGDIV COMPOSER.
So there is no problem with my PHP, my hosting etc

My question remains the same: is there a way for a user with “editor” role to have access to tagDiv Composer?

If not, no problem. Just let me know so I can give a clear answer to my client.

Thank you in advance.

lazdim
tagDiv Member

Problem with administrator solved after uploading the original tdc_main.php file.

lazdim
tagDiv Member

I just realized that the same problem (white screen, no composer) happens while I am logged in as Administrator too.
I have to change again the tdc_main.php to its initial state.

lazdim
tagDiv Member

Hi Simion,

Thank you for your immediate reply.
I did the customization you proposed to tdc_main.php
Here is a screenshot of the file: http://marketpost.gr/docs/tdc_main.png

Indeed, when I log in as an editor and go to home page, I see the tagDiv Composer link.
However, when I click, it seems like it loads and then I get a white screen. No composer loaded.
You can see that in this short video: http://marketpost.gr/docs/editor-td-composer.mp4

My client really pushes me on this and i would appreciate it if you could give a hand and make it work.

Thank you in advance.

  • This reply was modified 8 years by lazdim.
lazdim
tagDiv Member

Hi Chris,
I use tagDiv Composer, not Visual Composer.

lazdim
tagDiv Member

Dear Simion,
I managed to fix most of my requests. Here are my solutions for your record and for anyone who may need them:

1.I need to show the post’s published time in module 8, prior to the post’s title.
Open file -> Newspaper/includes/modules/td_module_8.php.
Replace the code with the following:

<?php

class td_module_8 extends td_module {

    function __construct($post) {
        //run the parrent constructor
        parent::__construct($post);
    }

    function render() {
        ob_start();
        ?>

        <div class="<?php echo $this->get_module_classes();?>">

            <div class="item-details td-module-meta-info">
                <span class="show-the-time"><?php echo get_the_time('H:i | ', $this->post->ID);?></span>
                <span><?php echo $this->get_title();?></span>

                <div class="td-module-meta-info">
                    <?php if (td_util::get_option('tds_category_module_8') == 'yes') { echo $this->get_category(); }?>
                    <?php echo $this->get_author();?>
                  <!--<?php //echo $this->get_date();?>-->
                    <?php echo $this->get_comments();?>
                </div>
            </div>

            <?php echo $this->get_quotes_on_blocks();?>

        </div>

        <?php return ob_get_clean();
    }
}

2.I would like to change the categories tabs on hover, not on click.
Open files -> themes/Newspaper/js/tag_div.js and tag_div_min.js
Find this line of code: jQuery('.td-subcat-item a').click( function(event) { and change it to jQuery('.td-subcat-item a').hover( function(event) {

Now, the categories will change on hover and not on click event.

Thank you for your support and don’t hesitate to ask for further information if needed.

  • This reply was modified 8 years by lazdim.
  • This reply was modified 8 years by lazdim.
  • This reply was modified 8 years by lazdim.
lazdim
tagDiv Member

Hi Simion,
Thank you very much for your fully informative reply.
I will try your suggestions and I will post the results.

Thank you again.

lazdim
tagDiv Member

P.S I solved This one “Also, I would like the posts to be preloaded and don’t load at the time I choose another category tab.” I chose Optimized Preload at “Ajax dropdown – content preloading”.
Thank you!

lazdim
tagDiv Member

Dear Simion,
Thank you so much for your immediate and informative reply.

I managed to fix everything, following your clear instructions, but the time.
I need to show the post’s published time in module 8, prior to the post’s title.
So, I opened the file td_module_8 and I tried the following:

1.

<div class="item-details">
<?php echo get_the_time( '', $post->ID ); ?> 
   <?php echo $this->get_title();?>

2.

<div class="item-details">
<?php echo the_time('g:i a'); ?> 
   <?php echo $this->get_title();?>

3.

<div class="item-details">
<?php echo this->get_the_time(); ?> 
   <?php echo $this->get_title();?>

For 1 and 2, I get this result (I don’t even know where this time stamp comes from):
http://marketpost.gr/docs/result1and2.png

For 3, the website crashes and I get nothing below the header and the main menu (apparently, it doesn’t recognizes what $this-> refers to).

I would appreciate it very much if you could help me with this issue and, maybe, give me a hint or an example.

Since we are discussing about module 8, I have another question (may be more easy).
I would like to change the categories tabs on hover, not on click.
Also, I would like the posts to be preloaded and don’t load at the time I choose another category tab.
If I don’t ask for too much, could you help me with the jQuery to fix that?
Here is a very short video of what I am trying to achieve:
[video src="http://marketpost.gr/docs/module-8tabs-hover.mp4" /]

Thank you for everything in advance.

  • This reply was modified 8 years by lazdim. Reason: correct typo
lazdim
tagDiv Member

Emmmm… Links are not working.

Viewing 22 posts - 26 through 47 (of 47 total)