geoff2
Forum Replies Created
-
Forum: Plugins
In reply to: cforms II, $_SESSION, and passing variables to new pagesOK, I always make progress after I post.
Apparently, when the function is being called, the session hasn’t been started. So if I modify the function as so, the session data is saved:
function my_cforms_action($cformsdata) { session_start(); $_SESSION['mbcdata'] = $cformsdata; @mail('xxxxx@example.com', 'cforms my_action test', print_r($_SESSION,1), 'From: webmaster@xxxxxx.org'); }The next time I visit a page, my session variables are nicely preserved. However, now that leads to another problem. With the addition of “session_start()”, the php script which processeses the data basically hangs and doesn’t redirect to the alternative success page that I set in the cforms preferences. I’m trying to puzzle it out, but no luck so far.
Forum: Themes and Templates
In reply to: New page template: “more” quicktag – does it work?Has anyone yet figured this out? I also have a Page (this one has three loops, each retrieving a separate category of posts), and the loop in question retrieves multiple posts, but I get the entire content of the post instead of the first part and the “more” tag. The portion of the loop displaying the post content is identical to the portion of the loop displaying the post content in my index page, where the “more” tag does appear. TIA for help.
– geoff