We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Problem invoking weblog/mod.weblog twice in one plugin

Development and Programming

Adam Khan's avatar
Adam Khan
319 posts
16 years ago
Adam Khan's avatar Adam Khan

For a plugin I’m working on, the weblog module needs to be run twice. But when I run it the second time, it ignores any value in the entry_id parameter. I’m setting that parameter using

$TMPL->tagparams['entry_id']

syntax. Is there perhaps another way to set it?

Update: As often happens, as soon as I post here, I find the solution that had stumped me up to then. Before the second second invocation:

$TMPL->tagparams="";

Rather simple…

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.