Hi,

I do not yet how to get it done, but may be the reptags module will help me.
As is with the mail-example: http://www.profix898.de/files/drupal/reptag/reptag_page.png the same values can be used to output to many emails. I would like to use the same system for content.
So I would like to make sidewide tags with different values and output them to different pages related to the values.
Say use the http://drupal.org/project/tokennodetokens module, and use the nodes with specific vocabulary to use as a table of variables. Is this possible with reptags please?

greetings,
Martijn

Comments

profix898’s picture

No, thats not supported by reptags out of the box ... but it would be almost trivial to write a small module (or .tags extension) to get this functionality.

summit’s picture

Hi, I am thinking along the line of $args now.. Like views can handle arguments by argument handling code.
Would it be possible for a short term solution to have the url pieces /$args[0]/$args[1] etc.. being ported to reptags, so they can be use within the node-title, node-body etc.. to use?

greetings,
Martijn

profix898’s picture

Are we talking about site/user-tags or .tags extensions? In .tags files you can - of course - use arg(x) to get a url component. You can also use a switch statement or something to return different replacement patterns based on the argument. For side/user-tags I'm not sure how this should work. For me this is mainly a UI problem (I mean we cant provide one tags table for each path or node, or?). Could you please explain what EXACTLY you want to achieve and how you think this should be handled in the long term? I dont think I really got your point ...

summit’s picture

Hi Profix,

LONGRUN:
What I really would like is to be able to output content in the node with different reptags inside.
Say like you make a letter for your wedding.

Dear [reptag1],

Thank you for coming to our wedding.
We will celebrate it with you in [reptag2]
And would very much like you to join us
You are invited for [reptag3]

reptag1 is then the whole adreslist, reptag2 could be church, receptionroom etc.. reptag3 could be whole day, reception, party ..
So when you have these reptags and possibilities, then from one template node, there will be many instances related to the variables which comply.
This is what I like to achieve with lots of content connected to reptag combinantions.
Then all these combinations needs to lead to nodes with these reptags as title and url.
This is the basic idea, do you get to point please?

SHORTTERM
use arg(x) to get a url component. You can also use a switch statement or something to return different replacement patterns based on the argument.

Could you explain how to get this remark above working please?

Thanks a lot in advance for again your reply!

greetings,
Martijn

duaelfr’s picture

Status: Active » Closed (won't fix)

This version of Rep[lacement]Tags is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.