Forums / Cotonti / Support / Showing Icons

12>>>

gamer24.7
#1 2009-05-04 20:08
I want to add icons in front of my lists:


Which Skin file do i edit to do this?

I already went to the admin panel and changed the Icon(url) for these pages, but they don't show up.
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
Lombi
#2 2009-05-04 20:11
list.tpl
<a href="http://www.domenlo.com">Surreal Art</a>
gamer24.7
#3 2009-05-04 20:44
And then what do i add?

p.s.the images are stored on the site file space.
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
Lombi
#4 2009-05-04 20:47
Instead of giving you a fish, I'll try to have you learn how to fish.

Here is a list to the TPL repository where you see a list of all the tags for a specific file, in your case the list.tpl: http://www.cotonti.com/plug.php?e=tpltags&file_tpl=list.tpl

It's one of the rowcats since you're dealing with subcategories.
<a href="http://www.domenlo.com">Surreal Art</a>
gamer24.7
#5 2009-05-04 20:54
{LIST_ROW_FILEICON}?
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
Lombi
#6 2009-05-04 20:55
Why dont you actually try some of them? As I said, it's one of the rowcats.
<a href="http://www.domenlo.com">Surreal Art</a>
This post was edited by Lombi (2009-05-04 21:25, 15 years ago)
gamer24.7
#7 2009-05-04 21:33
Does it go after?:
<!-- BEGIN: LIST_ROWCAT -->

I am not sure where to put the tags...
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
Lombi
#8 2009-05-04 21:36
Yes, it does. All the rowcat tags go into rowcat, all the row tags go into row. All the otherll the other tags go around and also in those two groups.
<a href="http://www.domenlo.com">Surreal Art</a>
gamer24.7
#9 2009-05-04 22:36
I've had all the Rowcats since the beginning...
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
Lombi
#10 2009-05-04 22:41
I find this on your site which is completely different code from what you just pasted.

<li style="margin-top:8px;padding:0;">
<strong><a href="list.php?c=PaintDotNet">Paint.Net tutorials</a> (0)</strong><br />
<span class="desc">Find tutorials here for paint.net</span>
</li>

In any case, {LIST_ROWCAT_ICON} should be the correct tag for the icon location of one specific subcategory icon URL.
<a href="http://www.domenlo.com">Surreal Art</a>
This post was edited by Lombi (2009-05-04 22:44, 15 years ago)
gamer24.7
#11 2009-05-04 22:56
# Lombi : I find this on your site which is completely different code from what you just pasted.

<li style="margin-top:8px;padding:0;">
<strong><a href="list.php?c=PaintDotNet">Paint.Net tutorials</a> (0)</strong><br />
<span class="desc">Find tutorials here for paint.net</span>
</li>

In any case, {LIST_ROWCAT_ICON} should be the correct tag for the icon location of one specific subcategory icon URL.

On my actual list.tpl file i have got that code i pasted.
[b][color=#000000]Click [/color][url=http://www.design-studio.netau.net][color=#EF2929][u]Here[/u][/color][/url] [color=#F57900]For All You Design [/color][color=#756745]Related Needs.[/color][/b]
SunChase
#12 2009-07-13 23:27
# Lombi : Instead of giving you a fish, I'll try to have you learn how to fish.

Here is a list to the TPL repository where you see a list of all the tags for a specific file, in your case the list.tpl: http://www.cotonti.com/plug.php?e=tpltags&file_tpl=list.tpl

It's one of the rowcats since you're dealing with subcategories.

I agree with Lombi.If you want to see all the supported tags for a specific page like list.php go to the system/core and there you will see a List folder,which contains the list.inc.php. There you will find all the tags,which you can put in the list.tpl
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
pieter
#13 2009-07-13 23:45
# minoation : Where is this at?

TPL are normally in your skin-folder. For you /skins/sed-dark/
Sometimes they are located in the plugin folder. But only the TPLs used for that plugin.
... can we help you ...
minoation
#14 2009-07-13 23:49
# gamer24.7 : On my actual list.tpl file i have got that code i pasted.
Me too.Do I leave it there and add some stuff to it so my icons will be displayed?If so,please tell how.
Awesome!
pieter
#15 2009-07-13 23:51
No minoation.

You posted it in your description:
{LIST ROWCAT ICON}">Game Reviews ...
Here you can talk submit a page on what you think about a game.
{LIST ROWCAT ICON}">Instructions ...
Here you can submit a page with instructions on how to do something in a game.
{LIST ROWCAT ICON}">General Pages ...
Pages that you submit in general.
{LIST ROWCAT ICON}">User Bios ...

You need to put this into you tpl.
Edit list.group.tpl

search for:
<strong><a href="{LIST_ROWCAT_URL}">{LIST_ROWCAT_TITLE}</a> ({LIST_ROWCAT_COUNT})</strong><br />
change it to:
<strong>{LIST_ROWCAT_ICON}<a href="{LIST_ROWCAT_URL}">{LIST_ROWCAT_TITLE}</a> ({LIST_ROWCAT_COUNT})</strong><br />

You are using list.tpl

Search for
<strong><a href="{LIST_ROWCAT_URL}">{LIST_ROWCAT_TITLE} ...</a></strong><br />
change it to:
<strong>{LIST_ROWCAT_ICON}<a href="{LIST_ROWCAT_URL}">{LIST_ROWCAT_TITLE} ...</a></strong><br />
... can we help you ...

12>>>