Search Results for 'block'

Results from the Forum
Marius
tagDiv Staff

Hi,
Is possible using offset feature.

You have to set your homepage like:

Edit your homepage:

Big slider: to read latest post
Don’t Miss section(block 2) edit it, set it to latest post and set and offset of 4
Latest article is from template, set the offset to 7 like here: http://screencast.com/t/8w5sY7iwmqU

Thanks!

Marius
tagDiv Staff

Hi,
Do you want that on a post or on your homepage blocks? Should work: http://screencast.com/t/EsbtALtNCwQ

ocbln
tagDiv Member

Hi Mirko,
da habe ich mal eine ganz dumme Frage: wie bist du zu Block 9 gekommen?? Genau das brauchte ich aber bekam hier keine passende Antwort. Meine noch nicht “gefinishte” Seite heisst übrigens opencitii; du hattest mich mal danach gefragt. Anfang April gehe ich damit sozusagen “in Produktion”. PS: Alle Bilder und Content-Texte sind Dummys. Bitte nicht wundern. Was die Seite bietet steht aber über dem bg-slider…

  • This reply was modified 12 years by ocbln.
mbasche
tagDiv Member

You’re right, in a seemless module it does work properly, but I want to use it in the “Homepage – blank Template”.
I use “Block 9” which includes “module 8” and that doesn’t work. Hmmm….

http://www.directupload.net/file/d/3557/g7pb88dr_jpg.htm

Marius
tagDiv Staff

Hi,
Yes, i found it,
this is the correct code:

            case 'upcoming':
                $wp_query_args['meta_key'] = '_event_start_date';
                $wp_query_args['orderby'] = 'meta_value';
                $wp_query_args['order'] = 'ASC';
                $wp_query_args['meta_query'] = array(
                    array(
                        'key' => '_start_ts',
                        'value' => current_time('timestamp'),
                        'compare' => '>=',
                        'type'=>'numeric'
                    )
                );
                break;

http://screencast.com/t/hcJ3Bw7EcR

Now sort by start event date and remove the expired event. If you want to show expired event to remove this from code: http://screencast.com/t/j3aaAsKDwWm

Thanks! 🙂

Radu A
tagDiv Member

hi,

the theme structure is like this
a couple of modules create a block.
http://import.tagdiv.com/newspaper/doc/#blocks

to create a page using blocks:
http://screencast.com/t/kHkaUyF6
http://screencast.com/t/7qv6onCF
http://screencast.com/t/XepKwTCA
http://screencast.com/t/1TKDWfMl5exZ
http://screencast.com/t/I1oEuN9Ptk
http://screencast.com/t/xNKiQIcZhc

http://screencast.com/t/Lb70DhPy8OdP

you can add as many blocks you want on a page.
be careful with the filters, change the filters for each block or yuo might get the same post on the page multiple time.

if you want to use template :
http://screencast.com/t/LemXbe1Nf

when everything is done press the blue update button:
http://screencast.com/t/GKnWqYlrVy

hope this help.

Thanks for you message.
Radu A.

  • This reply was modified 12 years by Radu A.
Marius
tagDiv Staff

Hi,
You can use the Page builder to build you homepage like you want. You can use blocks to show different categories on you homepage and also to have a list with latest article with pagination at the bottom.

Here is the theme documentation if you want to take a look: https://forum.tagdiv.com/newspaper-documentation/

Thanks for your message!

Marius
tagDiv Staff

Hi,
1. Add this code: <div class="meta-info-date"> and </div> like here: http://screencast.com/t/1d7TJrCBNGhv

2. Add this CSS in Theme panel -> Custom CSS

ul.td-category {
    display: inline-block;
    float: none;
}
.post .meta-info {
    max-width: 100%;
}

Thanks!

John.tackett
Participant
#0

Hi,

I’m new to using this template and honestly, I’m quickly growing to hate the damn thing.

I’d like to request a quick Youtube video tutorial on building out a homepage and maybe a page or 2 with subcategories.

The modules and blocks instructions are not very clear and if you’re unfamiliar with the template they honestly don’t help much.

I’m trying to build a homepage and I keep having to reload the demo as a starting point to figure out how to build. I don’t have time for that as my site is launching live soon.

This seems like a really good product, but I’m getting off to a rough start with it.

Thanks,

John

Balders
tagDiv Member

Hi Marius,

your are right, it sorts the asc und desc order of the events. The Problem is that it sorts via post date. let me explain:

It works when you post events in chronological order. But when you insert an event inbetween two already existing events (for example you have an event on the 1st of April and on the 4th of April and then later post an event on the 2nd of April it will be put at the back of the list and not between the existing dates). It’s running into problems.

Please change your post dates in Events Manager (the date the event was created). And you’ll see what I mean.

Any ideas?

Marius
tagDiv Staff

Hi,
The block are built using modules or combination of modules. The Block 6 use Module 9.
Please set the excerpt for module 9.

Thanks for your message!

Marius
tagDiv Staff

Hi,
If you have version from 3.2 the post file now is loop-single.php http://screencast.com/t/tjnE0lwmiIIY

Add your code there without buffy.

Try this

<h4 class=”block-title”><span>Commenti:</span></h4>
<div class="fb-comments" data-href="<?php get_permalink(); ?>" data-colorscheme="light" data-numposts="5" data-mobile="false" data-width="700"></div>

Thanks!

Marius
tagDiv Staff

Hi,
I mean you can display the date of the event instead of the post date like here: http://screencast.com/t/itXPBdFPV

To do that replace code like here: http://screencast.com/t/TM3Sx1AKK

            if ( 'event' == get_post_type($this->post->ID) ) {
                $EM_Event = em_get_event($this->post->ID, 'post_id');

                $buffy .= '<time  itemprop="dateCreated" class="entry-date updated' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . $EM_Event->output('#_EVENTDATES') . '</time>';
                $buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
            } else {
                $buffy .= '<time  itemprop="dateCreated" class="entry-date updated' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . get_the_time(get_option('date_format'), $this->post->ID) . '</time>';
                $buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
            }

And yes, the code above should work

see here all the screenshot:
http://screencast.com/t/2STtSmDmr
http://screencast.com/t/nEDmVsGBh

Result:

no sorting: http://screencast.com/t/oV07D1ERa
sorting by date(upcoming event): http://screencast.com/t/itXPBdFPV

Thanks!

Gillbergh
Participant
#0

I have a block 6 on my home page and I have all excerpts set to display 250 words but it only shows between 14-26 words… Any suggestions?

webmaster808
tagDiv Member

I am using 3.3 and I can confirm that shortcodes do not work for me in the visual editor if I use a Raw HTML Element. They do work if I use a Text Block.

zelatech
Participant
#0

before v3 update i used on td_module_1.pho this code to put facebook comments:

$buffy .= ‘<h4 class=”block-title”><span>Commenti:</span></h4>’;
$buffy .= ‘<div class=”fb-comments” data-href=”‘ . get_permalink() . ‘” data-colorscheme=”light” data-numposts=”5″ data-mobile=”false” data-width=”700″></div>’;

but now, on v3 update $buffy doesn’t work.. hot to modify with

<?php echo $this->

please help me.

Ulmi
Participant
#0

Since I’ve updated to v.3.4 the AjaxLoader is missing on the Template „Homepage – bg – no article list“ with „Block 3“ an the „Pagination“-Mode „Load More button. When I click on the „Load More button“ on the frontend it loads the next posts but the AjaxLoader overlay won’t show up.

gekonstudio
tagDiv Member

Thanks for the information.

Regards.
Michal.

Balders
tagDiv Member

Hi Marius,

what do you mean by that: “Also for the date can be modified to read the event date instead of the post date, but i’m not sure.”?

Did you sort on your local machine by post date or by event date? I double checked. The sorting with your code goes via post date.

Would you mind double check your settings on your local machine?

Thanks for your time.

Marius
tagDiv Staff

Hi,
We have all the stuff 99% 🙂 on a github list https://github.com/opradu/newspaper/issues?milestone=none&page=1&state=open


@mbasche
probably your request are there, but as you can see on that list was fulfilled by kind of stuff, one people request, small bugs, etc and effectively we are working full time and the list is more and more bigger. We analyze that list periodically and take from there items that we consider it should be done.

We want to make this much better of course, but we are effectively blocked. Also we want a new site for the support but of course we don’t have time to improve that 😐

Thanks all for supporting us

Marius
tagDiv Staff

Hi,
You can use it without title and use this HTML that is the exact same header with link

<h4 class="block-title">
<a href="#">your title</a>
</h4>

Thanks!

Marius
tagDiv Staff

Hi,
I’ve tested and works fine. What you must have is the slider is limited for 2 post minim to be displayed.

Test:
Post 1 – A category
Post 2 – A + Featured
Post 3 – A + Featured

Page configuration:
Slider – A + Featured
Block – A latest
Unique – Enabled

Result
On slide: Post 2 + Post 3 (because that posts are featured)
On block: Post 1 (just Post 1 because 2 and 3 was eliminated by Unique featured, that post are on slide)

Thanks!

Radu A
tagDiv Member

hi,
use this css

div.td-header-menu-wrap {
  display: block !important;
}

here: http://screencast.com/t/OTdjLw8aIZ

but if yoi have stuff on that bar will squeeze all together.

Thanks for you message.
Radu A.

Marius
tagDiv Staff

Hi,
I’ve tested locally when I’ve implemented the code for you and work fine for me.
Please can you double check if you make all the steps correctly.

Also for the date can be modified to read the event date instead of the post date, but i’m not sure.

Thanks for your message!

Marius
tagDiv Staff

Hi,
If you don’t use the footer you can hide it with this CSS

.td-footer-wrap {
    display: none;
}

Add it in Theme panel -> Custom CSS

About social sharing, we had replaced the like system the new one is for sharing, is more useful.
To get that you have to update to latest version.

Also I tried to move the post title to below the first image and comment out the category button but no luck?
Can you show me exactly where you want to do that.

would be cool if instead of the category block it illuminated it on the menu
I don’t understand your question, please can you show me in a screenshot.

Thanks!

Viewing 25 results - 39,301 through 39,325 (of 39,816 total)