Search found 30 matches

by NimNim
Thu Mar 15, 2007 4:59 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Yay!!!!! That's all it was!! I have absolutely no idea why ... don't have a clue about anything PHP at all ... but that worked, and you're a genius.

I'll try and bribe my husband into donating to you this evening (coz I'm penniless).

Thank you so much for all of your help :)

Nim
by NimNim
Thu Mar 15, 2007 4:03 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Oooooh ... I hate to tell you this ... but having just added an entry to the category of Mother ... the icon in the category list for that category is now not working.

I've done something completely screwey somewhere haven't I!

Nim
by NimNim
Thu Mar 15, 2007 4:01 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Yes they're gone! That's only half of the goal though; the other half is to have my own icons there.

I don't know what an IF statement is. The code I've used is below ... they all look the same to me ... so I don't understand why the Mother ones icon is showing.


{if $plugin_category.category ...
by NimNim
Tue Mar 13, 2007 4:56 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

How come the icon for my mothers category keeps working whilst the others don't?

The only difference I can think of is that there are no entries for it.

Gimme a wall .. I need to bang my head against it!

Nim
by NimNim
Tue Mar 13, 2007 4:54 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

I think I've killed it lol.

I could see quite a lot of differences between the two files.

However, in uploading it, the only difference it seems to have made is to get rid of the tick boxes :| I guess I don't need them, but that wasn't the idea was it lol.

You're giving me so much help, and I'm ...
by NimNim
Tue Mar 13, 2007 4:00 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Hi,

I know I'm being really useless and thick. I wasn't quite sure what you meant by:

"simply adapt the plugin_categories.tpl file so that your "custom image" code is NOT within the "IF {....}" check that only is executed when you have not disabled xml category icons."

No idea at all!!!!
1) How ...
by NimNim
Mon Mar 12, 2007 5:40 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

How's this for an idea:

- I create a transparent gif that is one pixel by one pixel, save it as xml.gif, and ftp that up to replace the current stupid stinky xml.gif ( http://www.sylviathornhill.co.uk/Serendipity/templates/competition/img/xml.gif )

- Then I re-ftp my file up there that links to my ...
by NimNim
Mon Mar 12, 2007 5:38 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

And in restoring it .. I've lost my own images completely :roll:



Scuse me a sec ..... Aaaaaarrrrrrrrrrrrrrrrghhhhhh!!!!!

Better now.

Nim
by NimNim
Mon Mar 12, 2007 5:37 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Erm .. well it took away the annoying xml.gif image ... but it also took away my own images :(

Nim
by NimNim
Mon Mar 12, 2007 3:05 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Oh of course .. I keep forgetting to check in the admin to see if I can do things.

My hoster seems to be down today though, so will have to wait to see if I succeed.

Cheers :)

Nim

p.s
Yes, I'd linked the icons to the wrong places lol, so they do work now.
by NimNim
Sun Mar 11, 2007 9:31 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Ah. Thanks ... NOW my husband says 'Oh yeah .. that makes sense!!!!' :roll:

Can you have a quick look please: http://www.sylviathornhill.co.uk/Serendipity/index.php

The pictures are coming up as red squares, which obviously means I have the path wrong (they're in my template images folder); I'm ...
by NimNim
Fri Mar 09, 2007 6:40 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Hi again,

I've edited the code you gave me, to this:

{if $plugin_category.category_name == 'Books'}
<img src="/Serendipity/templates/competition/img/Books.gif" alt="Books" style="border: 0px" />
{else if $plugin_category.category_name == 'CFS'}
<img src="/Serendipity/templates/competition/img ...
by NimNim
Thu Mar 08, 2007 4:36 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Ok, I've done that.

Edit away heheheh ... I don't know PHP, so reading it that file I'm guessing it what it all means.

Would I be right that this is the bit that calls the image to the category menu:

{if !empty($category_image)}
<a class="serendipity_xml_icon" href="{$plugin_category ...
by NimNim
Thu Mar 08, 2007 2:29 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Ok, I request babysteps for the NimNim (ie me).

I'm looking here: G:\My Webs\1&1\Blog\Serendipity\serendipity\plugins ... is that the wrong folder in which to find the categories plugin config?

I'm going to try that to see what it does, before I try anything with plugin_categories.tpl.

Sorry to ...
by NimNim
Thu Mar 08, 2007 2:19 pm
Forum: General discussions
Topic: Category Icons / Images
Replies: 30
Views: 11820

Ooo, thank you, that worked!!!! :shock:

Now I'll try the icons in the list :)

Nim