Posts

Showing posts with the label blog

Fixing Read More link appear on Blogger Fullpost

Image
Thanks to Paul Escolar who really use my code on 'How to create expandable post summaries in Blogger' and spot a bug on that tutorial. Hence my code for this blog is already changed for other additional stuff. Sorry for that silly mistakes . As I went to debug my tutorial, I found that whoever follow that tutorial properly will get the same result as Paul's blog. So, here is the explanation and how to fix it. Please check at the last chunk of code on 'Step #1 - Edit your template code' . The old code should look like this: <b:if cond='data:post.labels'> <b:loop values='data:post.labels' var='label'> <b:if cond='data:label.name == &quot;more&quot;'> <a expr:href='data:post.url'>...<b>Read more</b></a> </b:if> </b:loop> </b:if> where the previous screenshot is this: What this code do is checking the 'more' label and put that ...

How to create expandable post summaries in Blogger

Image
I've been tweaking my blog template because I've already bored with my old default template that I use previously. While working on this template, I'm thinking that it may be cool to have my long post to be truncated and have the "read more" link . I found the code from Blogger Help to do this. However, there is one issue with their code where the "read more" link will appear regardless of whether a post has been truncated or not. You can check it out at help.blogger.com on How can I create expandable post summaries? . If you have already read them, you should notice the disadvantages under the Note list which says: Disadvantages: Requires changes to the posts themselves, rather than to the template only. However, the "read more" link is in the template, so it will appear regardless of whether a post has been truncated or not. (Modifying this feature is left as an exercise for the reader.) Do you think it is a good exercise? So, how many of...

Malicious Content on my new wordpress blog... WTF?

Image
Duh... I'm playing around with my 000webhost.com cpanel and my wordpress ... then I got some problem where I tried to point my sub domain of other domain I have to this blog. I got error page for a while and then manage to get it fixed... Lol, I changed the wordpress URL to my other subdomain and then redirect the subdomain to the wordpress blog... the blog goes crazy for a while. I can't reset the domain until I log on to cpanel and modify the database. All is OK then... but after a while, I end up getting redirect page which says, the admin is checking my website for malicious content.... WTF? here's what you can read on the blog now... Demmit!... better go home and sleep coz I can't do nothing now... Anyway, instead of this broken heart story, thank god I managed to get my PPTP on my debian TS-ARM running ... heheh... Look at the ps aux output It's up and connected... I can ssh my gprs board now... hohohoho...

My Wordpress Blog is up and running...

Image
Yes, I've made it... since I told you about the superb free hosting site as my PHP testing ground, I download wordpress and install it within minutes... Now I have made my wordpress blog up and running on this free host. Hope the host will last long. Here's the screenshot of my new wordpress blog. Nothing much to code yet, I just install it by following the installation steps on wordpress.com. Feel free to visit the blog and add your comments at my ApOgEE 890m Blog