categories and tags
Posted: 15 September 2007 10:53 PM   [ Ignore ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2005-09-13

It would appear that the exp:tag:entries doesn’t recognize category views nor the category="” parameter.

Is it just me?

Profile
 
 
Posted: 18 September 2007 12:45 PM   [ Ignore ]   [ # 1 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2005-09-13

Alright, I’ll try to clarify.

{exp:tag:entries weblog="photos" category="{segment_4}" tag="{segment_5}" inclusive="yes" orderby="entry_date" sort="desc" limit="20" paginate="bottom" rdf="off"}

<div id="photocell" style="float:left;width:155px;height: 200px;padding:2px;margin:5px;text-align:center;">
<
a id="photo" href="{path=views/details}{entry_id}" style="display:block;background:url(/phpthumb/phpThumb.php?src={related_entries id="pic"}{image_url}{/related_entries}&w;=150);height:150px;width:150px;background-position:center middle;">&nbsp;</a>

<
div id="list" style="padding:2px;width:150px;text-align:center;">{embed="tag/list" the_id="{entry_id}" writeable="no"}</div>
</
div>
 

{/exp:tag:entries}

The above code doesn’t seem to work to pick up both categories and tags. In fact the tag:entries just doesn’t take the category parameter (from what I can tell). Is it a small oversight that can be fixed?

If you’d like to point me in the right direction in the module I may be able to work on it…

Thanks guys. Otherwise this module is kicking some serious ass.

Profile
 
 
Posted: 18 September 2007 01:00 PM   [ Ignore ]   [ # 2 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2005-09-13

Okay, I tried adding

$TMPL->tagparams['category'$this->category;

to line 713 in mod.tag.php and while it now allows the category parameter to be there, it’s not modifying the output by category, plus giving me an error:

Notice: Undefined property: category in /home/stylasti/public_html/bunker/modules/tag/mod.tag.php on line 713

Profile