I seem to remember a discussion from late 2008 about the proper location to call the getstatusmsg (or pngetstatusmsg) plugin, but cannot find it now. Does anybody remember that?
I think this plugin used to be placed into each theme's master and home templates above the maincontent, but the discussion I'm remembering was urging it to be included in the module templates instead.
I believe I can see the logic in requiring the module developer to show the messages where most appropriate.
--
Chris Stevens, CEO
OpenTaxi Systems LLC
866.OPENTAXI
www.opentaxi.com
On-Demand Air Taxi Reservations Platform, Flight Reservations, Consulting.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Proper location for pngetstatusmsg call
-
- Rank: Registered User
- Registered: Dec 19, 2006
- Last visit: Jun 01, 2009
- Posts: 33
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Yes
and currently the way it works is in the module templates...
anyways, if you use it in the theme templates, you may disable the module call (i'm almost sure that the theme templates are compiled before the module ones) and when the module call the <--[insert name='getstatusmsg']--> it will not find anyone, because the theme already displayed (and delete) them...
So, depends on your taste
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Registered User
- Registered: Dec 19, 2006
- Last visit: Jun 01, 2009
- Posts: 33
Thanks Neo!
That all makes sense. I just didn't want to go clean up a bunch of themes and then find out they were correct in the first place.
--
Chris Stevens, CEO
OpenTaxi Systems LLC
866.OPENTAXI
www.opentaxi.com
On-Demand Air Taxi Reservations Platform, Flight Reservations, Consulting. -
- Rank: Registered User
- Registered: Jun 13, 2004
- Last visit: Feb 27, 2010
- Posts: 45
I recently moved the 'getstatusmsg' call to reside in the theme templates and haven't noticed anything different. The messages seem to display just fine.
Am I missing something?
Thanks,
matt
--
The Peripheral Vision
Creative Culture : Business : Technology
www.theperipheralvision.com
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
