The basic ideas are there. Just modify your template file to output the teaser and the full text. Keep the full text hidden (css display: none). Then use the jQuery show/hide effects to hide the teaser and show the full text.
Hello,
can you please show me the node.tpl.php code? I don't know how to print node teaser (in full node) and node body (only text, it always print everything - cck fields etc..)
Thank you
I use this site alot and open tabs of interesting modules. Then in order to read about it I have to click [more...] link too. I already read the teaser in the search results.
A few lines of jQuery
John - April 8, 2009 - 18:00
It's just simple jQuery. Anyone could write it in a few minutes if they know what they're doing. :)
a shame that "they" dont
mokkashock - April 12, 2009 - 17:42
a shame that "they" dont know... :)
anyone can post me a few lines or a link to a tutorial how i can achieve this effect?
thanks 1000x
Example code.
John - April 12, 2009 - 18:47
http://docs.jquery.com/Tutorials:Live_Ex...
http://www.learningjquery.com/2006/09/sl...
http://www.mredesign.com/demos/jquery-ef...
The basic ideas are there. Just modify your template file to output the teaser and the full text. Keep the full text hidden (css display: none). Then use the jQuery show/hide effects to hide the teaser and show the full text.
thanks john! good tutorials.
mokkashock - April 17, 2009 - 16:28
thanks john! good tutorials. i think i can handle this! :)
a shame that "they" dont....
cyaneo - October 26, 2009 - 14:08
...yes, but I am one of "them".
But there was a time, I didn't know much about Drupal and ubercart... :-)
Thank you, I'll try to implement this.
Hello, can you please show
ankerek - February 15, 2010 - 13:52
Hello,
can you please show me the node.tpl.php code? I don't know how to print node teaser (in full node) and node body (only text, it always print everything - cck fields etc..)
Thank you
Suggestion: Show the Full
tomhung - August 10, 2010 - 11:51
Suggestion: Show the Full node as a default.
I use this site alot and open tabs of interesting modules. Then in order to read about it I have to click [more...] link too. I already read the teaser in the search results.
Maybe put it as a User Option in my profile.
What module does DrupalModules.com use for the search?
kblackman - March 16, 2011 - 12:14
Just wondering what module is used for the search functionality on this site.
Thanks!
It's a custom search engine
John - March 16, 2011 - 14:34
It's a custom search engine I wrote from scratch specifically for this site.