Categories: everyday life

About SearchMaxResults.

   I uploaded “Rakushō no Goku No.21″on May 30. And it gave me a trouble. Why? I had made a link for searching on my English blog’s right sidebar and the top page. It is the link which gives you all posts of “Rakushō no Goku” in ascending order, when you click it. But its limit is 20 posts.

   Though I changed 20 into 40 to remedy in the link, it didn’t work because default set value of “SearchMaxResults” was very strong.
   I made a question at Movable Type Forums and had an answer from Nick. By his advice, I wrote “SearchMaxResults 40” in my mt-config.cgi file. It worked, but I had another problem. This change reflected to all of the results by mt-search.cgi. What I want is only to work when I use the link as an external one.

   So, yesterday I searched for the tag <$mt:SearchMaxResults$> in my template files. I found them in two places, at Search and Syndication Widgets. I rewrote <$mt:SearchMaxResults$> => 20. Finally, the link has functioned as expected. 🙂

o6asan

Recent Posts

About [ssl_stapling_init_cert: no OCSP URI in certificate and no SSLStaplingForceURL set]

I thought I'd done it, but actualy I hadn't. I talk about what.It was "Removing…

5 months ago

How to enable Hyper-V and run Windows 7 on Amazon’s cheap laptop.

The laptop mentioned previous article successfully became 24H2. The touchpad was risen because the battery…

10 months ago

Upgrade Amazon’s cheap laptop to Windows 11 PRO 24H2.

I had a cheap laptop from Amazon and had used it to watch streaming programs…

11 months ago

Very easy, sweet potato yōkan recipe.

The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…

3 years ago

On my home network, I’ve built an FTP server that I left for long time.

After a long time, when I checked broken links and fixed them, I got an…

4 years ago

Moving “o6asan’s BBS”.-#2

I made a box, so I prepare the contents. Theme and Plugins. The theme is…

4 years ago

This website uses cookies.