Hi there, I'm not a coder and I was hoping someone could help me figure out if the following is possible.
I want a token which extracts the first x words of the body text. It that even possible? If so, is this the right place to ask for help? I have no idea where to start. Thanks a lot.
Comments
Comment #1
gaspaio commentedYou can surelly do it through a custom token, if the default node related tokens aren't enough (install the Token module to see the list). You'll have to create a php snippet to compute the value (from $data['node']).
A node must be available in the context where you plan to use the custom token.
Comment #2
remkovdz commentedThanks! Is it apprioriate if I ask for an example..? I'm not a developer.. Thanks anyway!
Comment #3
anybodyDrupal 7 is now EOL.