April 08, 2007

Template Questions

Need help with a template?  Looking for the documentation on a particular tag?  Ask here.

Posted by: Pixy Misa at 10:46 AM | Comments (22) | Add Comment
Post contains 17 words, total size 1 kb.

1 Actually, I'd like documentation on all the tags and each of their properties.  Dunno if anybody else is using them that mutch; I've been changing my layout and using conditionals, so I'm giving them a pretty good workout.

Posted by: McGurk at April 11, 2007 04:59 PM (Ri74D)

2 Cool.  I need to check on a couple of the conditionals; I think there may be a bug under some conditions.  Thanks for giving them a workout.

I will have the [posts] / [post.tag] documentation up today (my today, which might be your tomorrow), and with any luck also the [comments] / [comment.tag] info.  The only caveat there is that there are lots of fields that you can't get to right now, because the editor screens are lagging behind what the template engine supports.  So you will see some cool features that you won't be able to use.

Posted by: Pixy Misa at April 11, 2007 05:49 PM (PiXy!)

3 Agh!  My upload failed halfway through and now I lost my post template!  1) can you put the default templates somewhere that we can get to them and 2) can you help me out???

Posted by: McGurk at April 12, 2007 03:12 AM (8GzzQ)

4
1) can you put the default templates somewhere that we can get to them
Done!
2) can you help me out???
And done!  Hope you didn't lose too much work there.

I should really do an automatic backup for template changes.  I'll add that to my to-do list.

Posted by: Pixy Misa at April 12, 2007 03:50 AM (PiXy!)

5 Don't know whether this is a "file and folder" problem or a "post" problem, but whatever...
go to this post and scroll down to the sample link at the bottom. It's a 27-second MP3, filesize reported at 369kb by Windows.
I've uploaded it twice, and the file directory shows the right size. When I go to download/play it the download progress bar shows the right size, but it gets to about 239k and then jumps to 100%. Windows reports the downloaded file at 240k, and indeed the end is cut off.
FWIW, it was encoded with LAME.

Posted by: Old Grouch at April 13, 2007 04:12 AM (+E8+c)

6 Gah.  My MeeLocals template is doing funky things when I edit it, and its killing my links.  If I don't include the href:// in the link, it appends the link to the end of my URL.  If I include the href://, whenever I edit it again it adds another href:// to my URL; it ends up being href://href://blog.mee.nu. 

Posted by: McGurk at April 13, 2007 04:04 PM (Ri74D)

7 Hang on, it's changing your template?  That shouldn't ever happen.

Posted by: Pixy Misa at April 13, 2007 05:14 PM (PiXy!)

8 Something freaky is happening when I edit and save the template.  When I get some time later I'll do some tests to see if I can repro it...

Posted by: McGurk at April 13, 2007 05:47 PM (Ri74D)

9 Thanks!

Posted by: Pixy Misa at April 13, 2007 05:48 PM (PiXy!)

10 While trying to get those leetle comment icons to appear, I'm seeing the title or alt for the gif, but not the actual image.  Right-click/view image give me a 404:

The path '/icons/folder_Content.gif' was not found.

The path exists, the folders and such are correct (I think), and I've tried modifying the Post template to use both the entire URL (http://...) and just the original version (/icons/folder_...).  No joy either way.

Posted by: RocketJones at April 15, 2007 10:03 PM (+OVgL)

11 RocketJones, you may be having the same problem I am. It may have something to do with case-sensitivity of filenames. Thread starts here.

Posted by: Old Grouch at April 15, 2007 11:38 PM (hK1Mz)

12 Sounds like it.  Fix for that goes in today.

Posted by: Pixy Misa at April 16, 2007 02:04 AM (PiXy!)

13 I am absolutely positively a newbie to mee.nu thanks to the gracious invited I received from Ted/Rocket Jones.  I'm not sure if this is the right place to ask this question, but here goes.

In the past I've created a blog using Movable Type (see http://dustingmybrain.com) and more recently another using Blogspot, which I despise.  Regardless, I want to duplicate what I did at Blogspot (see http://thefeatheredones.blogspot.com) for my blog here at mee.nu.  Though I noted that an import feature from other blogs will be available in the future, rather than wait for that feature, I want to go ahead and fiddle on my own.  If at all possible, I'd like to see a layout page with the CSS info labeled for each area.  I ask this because I find the CSS templates (MT, Blogspot, etc.) are coded with different names; i.e., some label the post body as 'post' or 'content' or 'blog body' etc.

Having gone through everything here, I am rendered completely and utterly confused and hope I've explained clearly what I'm looking for.  Does such a page exist here?  Thanks in advance for any assistance/help/guidance!

Posted by: CindyC at April 26, 2007 02:30 PM (PlD0p)

14 Hi Cindy.  No, we don't have such a page yet, but that's an excellent idea and I'll get right on it.

Posted by: Pixy Misa at April 26, 2007 06:29 PM (PiXy!)

15 Hi and thanks so much!

Posted by: CindyC at April 26, 2007 10:59 PM (PlD0p)

16 Is there an upper limit to the number of categories that will appear in the sidebar?
Right now I have 11. I added the most recent about 10 days ago, but didn't notice until today that only the first 10 appear in the category list. Checked the folder list: They're all still there, and they're all marked "public," except "Example," which I marked "private" but still appears(!). The one that doesn't show up is the 11th in the folder list: "The Press." It isn't a two-word category name problem, because other categories "Dear Diary" and "In Passing" are still visible. It also doesn't seem to be related to whether posts in a particular category are visible on the first page.
I believe that I'm still using the default category code in the sidebar template. Here 'tis:
<h2>Categories</h2>
<ul>
[categories]
<li><a href="&047;&091#;category.path&093;">#091;category.name&093;</a></li>
&091;&047;categories&091;
</ul>
Thanks and have a good weekend!

Posted by: Old Grouch at May 26, 2007 05:25 PM (IcH0W)

17 Trying again, fixing escapes:
<h2>Categories</h2>
<ul>
[categories]
<:li><a href="/[category.path]">[category.name]</a></li>
[/categories[
</ul>
(Can you tell I don't do HTML for a living?)

Posted by: Old Grouch at May 26, 2007 05:30 PM (IcH0W)

18 There's a display limit, but no fixed limit.

Try this: [categories count=100]  That should prevent the limit kicking in, at least until you have 101 categories.

Posted by: Pixy Misa at May 27, 2007 02:26 AM (PiXy!)

19 Hiya Pixy,
I'm tinkering with a template and trying to get it set up so only the first post displays the actual text.

Then the next 4 posts will display the excerpt and the last 6 will display the blurb.

I'd started out with a conditional:

[if.eq post.number 1] which I thought would display handle setting up things for the first post. But as we all know I'm a knucklehead and am doing something wrong, 'cause the [if.eq post.number 1] section is being displayed, instead of evaluated.

Help me, Pixy Wan Kenobi, you're my only hope.

Posted by: phineasg at June 20, 2007 03:11 AM (YgMQV)

20 Hmm.  You have to match the [if.eq ...] with a [/if.eq], otherwise it will display it. The same goes for all the [if] variants - you have to have an exact matching [/if], though without the parameters.

Let me know if that helps.

Posted by: Pixy Misa at June 20, 2007 08:40 AM (PiXy!)

21 Yep, that does it.

I'd forgot to put the .eq on the end of the if statement.
Which is why you're the man and I'm not.

Thanks!

Posted by: phineasg at June 20, 2007 12:11 PM (CQcil)

22 I would like to put a sitemeter in and tried with no results.  Any guidance would be appreciated.

Posted by: Stashiu3 at February 26, 2008 06:39 PM (tarqT)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
20kb generated in CPU 0.02, elapsed 0.0245 seconds.
32 queries taking 0.0093 seconds, 74 records returned.
Powered by Minx 1.1.6c-pink.