Oneness - True Faith
wizanda
Smarty Code Problem Posted on: 2008/6/3 10:55
Helper
Joined:
2004/3/26 7:04
From Nottingham, UK
Posts: 2819
Sure this isn't that complicated, yet it's baffling me...

Mylinks_link.tpl/.html

This was borrowed from Article to begin with and adapted to use Star rating instead of basic numbers..

Now on adding it to MyLinks and MyDownloads and ran from any theme from the class; it caused a massive collection of W3C errors, as on one copy of this per page, it only has 1 ID per rating..

Yet on downloads or links where you can have large quantities, it has the same ids for each, though this still works it's not W3C compliant and so would like to add the $link.id to the start of the rating ids..
Quote:
42rating1, 42rating2, 42rating3, etc


Yet even though I've tried globals, I'm still not sure how to feed the information from Smarty template into the <{php}>..



Any ideas

N B with U
Transfer Print PDF Bookmark Top
wizanda
Re: Smarty Code Problem Posted on: 2008/6/7 16:00
Helper
Joined:
2004/3/26 7:04
From Nottingham, UK
Posts: 2819

This was fixed by Dave L
With Minor changes needed....

N B with U
Transfer Print PDF Bookmark Top
Top Previous Topic Next Topic
Register To Post