musashi9 |
|
---|---|
How do I get the number of new private msgs to show up on my site like it does here? |
Kingsley |
|
---|---|
{PHP.usr.messages} this will display the number of messages |
musashi9 |
|
---|---|
Excelent, thanks Added 6 hours later: Is there a way to add images to my tag results for my Page list I added this to get the corresponding image to show <a href="{LIST_ROW_URL}"><img src="images/{LIST_ROW_ID}.jpg"> but it doesn't work when I add it to the tags.tpl |
|
This post was edited by musashi9 (2012-09-27 06:31, 12 years ago) |
foxhound |
|
---|---|
Cause those tags are not valid tags in the tags.tpl. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
musashi9 |
|
---|---|
I don't want just one image, for instance my site has an image for every page I make and my 'page.list.tpl' can display each image for each page using the code I pasted above. I need a way to get tags to do the same. Example: I make a page and the page ID is 199 and tag it as "example1". I have an image for this page in my images folder (199.jpg) When I click on "example1" tag it brings up all the pages I have tagged "example1". I need this page that lists all the "example1" pages to show the image for each page and not just a link, like what my 'page.list.tpl' does.
|
Twiebie |
|
---|---|
Check out the Page Avatar plugin: http://www.cotonti.com/extensions/files-media/pageavatar-siena |
musashi9 |
|
---|---|
Great plug in I wish I had this years ago before I manually uploaded files for my 1000 pages :P However this just puts me back to square one (I could already do this with page.list) I want to be able to do this with the TAGS plugin and the TAGS.TPL so that the tags list shows my images too. |
foxhound |
|
---|---|
Again, that plugin (although it is great) does not work with the tags. When installed and if you check the debug page you will see no "{TAG}" are created for the "{TAGS}"available with this plugin. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
|
This post was edited by foxhound (2012-09-28 10:05, 12 years ago) |
musashi9 |
|
---|---|
Yeah I agree, I had a peek at the tags.list file and I think I only need the "pageID" which is stated in this file as ON r.tag_item = p.page_id but I am not a php coder and I have no idea how to fetch this. |
Trustmaster |
|
---|---|
{TAGS_RESULT_ROW_ID} it is. May the Source be with you!
|
musashi9 |
|
---|---|
Excelent!! it works now :D Is there a page that lists all of these useful tags? |
Trustmaster |
|
---|---|
Yes, foxhound has already pointed to it in this topic earlier: http://www.cotonti.com/docs/ext/themes/cotemplate_debug_mode May the Source be with you!
|
musashi9 |
|
---|---|
Great thanks |