Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By allen074 on
Hi all - i don't get why it does this on my home page...
it pulls back snippets for everything EXCEPT when I classify the content as php in the node.
http://www.centernetworks.com/
the dogster interview shows the whole thing... any ideas how to fix this so just a snippet shows?
thank you,
allen
Comments
anyone bitte?
anyone bitte?
When you submit a node
When you submit a node Drupal creates a teaser. It's this teaser that's normally displayed (I think that's what you are calling a snippet??) in a list view.
Anyway, when you use the PHP filter, there's no way for Drupal to create the teaser as it assumes the node body is PHP code and not normal text/html.
So, you'll have to hand craft the display with PHP code in that case.
See this thread...
See this: Getting --break-- and php to work?.
-------
http://www.funnymonkey.com
Tools for Teachers
thanks everyone!
thanks everyone!