Closed (fixed)
Project:
Rep[lacement]Tags
Version:
5.x-1.8
Component:
Contributed .tags module
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2007 at 20:16 UTC
Updated:
31 Aug 2008 at 18:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
profix898 commentedSorry! What's the question? What are you talking about? Any problems?
Comment #2
amitaibuSorry...
My question - Is the RepTag working in blocks. i.e.:
* Add Block
* In the Block body enter {USERNAME}
* Place the block on the left navigation bar - currently I see it is not replaced.
Comment #3
profix898 commentedNo, thats not supported directly (through the UI). But its quite easy to add manually. You will need to modify the 'block.tpl.php' template of your theme (e.g. themes/garland/block.tpl.php). Replace
<?php print $block->content ?>with a call toreptag_replace()as follows<?php print reptag_replace($block->content) ?>or<?php print reptag_replace($block->content, TRUE) ?>. The second option is better suited for your purpose, I guess.Comment #4
amitaibuThanks for the quick replies!
Comment #5
grray commentedI did so, it works for registered users, but it not works for unregistered users, text is shown "as is"
Comment #6
farinspace commentedLet me know if you've found a solution ... try setting "authenticated user" checkbox in the RepTag Roles/Permissions tab ... let me know if that works ... I have a similar kinda related issue, where Ive setup block tags, so i can insert blocks in node content, however when i select permissions for anonymous users it doesnt show (when a user comes to the site an is anonymous), however if i check authenticated users, then it does show ....
Comment #7
chasz commentedis this how you use with the CCK blocks ??
how do i know what variable from CCK block is passed onto the rep[]tags ??
Comment #8
chasz commenteddont use for version 6 LOL