Displaying the first photo from the photoset on the index page - tumblr

I am trying to modify this theme, http://kcwork.tumblr.com/, I want just the first picture from the photoset to appear on the index page. can't seem to figure it out. if anyone could help, I would be very grateful. thank you. I know you have already answered similar question. but in my case I can't figure it out at all. I have already spent 8-10 hours since yesterday trying to figure it out.

Related

Is there any way to break up a PDFTable onto a different page?

First time poster here...but been using StackOverflow for solutions whenever I get stuck.. ton of great information here! I will try to describe the question as thoroughly as I can and hope someone can help me out with it. I need to generate a PDF in Swift and present it on an iPad, so i decided to use TPPDF for the PDF generation and then Apple's PDFKit to present it.
TPPDF has been working great for me, however, I ran into an issue where if I create a PDFTable with an enough amount of rows, it overflows into the next page without creating a new table. The last row gets cut off about 1/3 way and the other 2/3 is generated on the next page. This creates a weird visual effect which i'd rather not have if it's possible.
I've been reading through the documentation as well as sifting through the source code to try and figure out if there's a way but I can't find a decent workaround. The only workaround I can think of is splitting up the content and creating multiple PDFTables on new pages (using the createNewPage() method). This would take a good amount of rework in my code so I wanted to post it here to see if anyone has come across this and come up with a solution.
I appreciate any help!!
-George
thanks for asking, this is actually an on-going issue which occured after adding the merge-cell feature. This is discussed in issue #243, so you take a closer look at what's going on there.

How do i track clicks using facebook pixels?

I've been re-reading this page and it just seems so vague on how to help me. I have a newsletter button I am trying to track clicks on through facebook pixels but facebooks documentation and lack of proper testing is frustrating me.
Here is the documentation I am reading
https://developers.facebook.com/docs/facebook-pixel/events-advanced-use-cases/v2.8
If I read this correctly, to track a single button I have to install code in three different sections? They don't specify the sections either, so I'm assuming they go in the order they displayed it (viewContent goes in the header, button id goes in the body of the page, and the final fbq tracking goes in the footer).
If anyone has a more simple approach to this or can explain this in a better way I would greatly appreciate it. Adding code in three different sections and creating multiple heads just to track different things on different pages seems like a lot more work than I need to be doing.
Thanks in advance

Page pagination issue in Drupal website

I have an issue in drupal website ( http://www.perfectchoice.ae/properties-browse/ ) when I go to click on 2nd page number then no property comes there.
I don't have knowledge about Drupal. Looking for someone to help me please.
Page parameter is working:
http://www.perfectchoice.ae/properties-browse/?page=3
So some other is causing the problem. When you move to some page and it doesn't show anything try removing URL parameters one by one until you figure out which one is causing the problem. But in any case you will need some Drupal knowledge to solve this.
With the very less information provided in the description, it is difficult to figure out the issue/fix.
One probable reason would be your views is not getting displayed on the URLs other than 'properties-browse'. You need to make the visibility settings of the main block to 'properties-browse*'
Good Luck!!!

comment box won't refresh

We've been wrestling with the facebook comment box for a few months now. For some reason we aren't able to see comments without refreshing the page. I'd love to hear any suggestions. The site is http://yourquantumlife.com/livvideo/ if anyone could spare a few moments to see what we've got. We stream a video from livestream on each Tuesday evening; and we want our viewers to have the ability to 'chat', so to speak. We thought the facebook comment box would be the most logical (and simple) but we're open to ideas on how we can achieve having our members converse.
Any help would be greatly appreciated. Thank you!

Facebook image issue. Could it be cache?

Our website was recently redesigned and since then I have been unable to get the correct image to appear when I choose link.
For instance:
If I post this link:
http://www.horrormovienews.net/article1184.html
It does not show the image of Ethan Hawke as one of the choices for me to post along with this story. I have asked a few other people (co-workers) and some friends who live around the USA, PA, NC, etc. and they can not get that pic as a choice either. One person who lives in MA can see it when he posts a link.
(This happens to every news story in our network of sites since the theme was changed on the sites)
Another bizarre thing is it WILL show the image for this story:
http://www.horrormovienews.net/article1160.html
but not the one at the top of this post.
I have even used the Facebook lint tool about a week ago to try to refresh the cache.
I have tried to many different things to try to fix thing. I changed the image path, the size of the images, etc. Nothing seems to work.
Does anyone have any idea what could be causing it? Any help would be much appreciated.
You need to specify og:image tag. See your results here: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.horrormovienews.net%2Farticle1184.html
Fix up those warnings and then you should be able to share the link much more consistent.