Re: Addons / modules not visable in admin
@Wilpak
Well actually, I think that is a bit unfair. You do not get to thousands of posts on any forum by being a forum vampire. Diva has put in a lot of time helping people. And is working on several mods for upgrade to 1.5 that will be released when they are ready.
The thing is that this particular thread is about mods not being visible in admin. If you are having problems with that issue then this is a really good place to post your questions and people will do their best to help. If your question is a more general 'Why doesn't this module work with 1.5?' then this thread is not the right place for that kind of specific advice because to answer it people need to have specific knowledge of the module as well as knowledge about the changes in Zen 1.5.
There just is not a simple answer to the 'why doesn't this work with 1.5?' however much people want there to be one and at times have suggested that there is an answer that is somehow being hidden from them. It depends entirely on the module.
Re: Addons / modules not visable in admin
Quote:
Originally Posted by
WilpackPackaging
DivaVocals obviously wants you to pay her/him to do these things rather than allow others to learn how to write the code or allow others in these forums to teach each other how to write the code. :no:
OBVIOUSLY??? Really.. It's OBVIOUS that this is my M.O.???? Wow.. I thought I was being transparent.. :laugh::laugh::laugh:
Re: Addons / modules not visable in admin
Thanks Nick.. and I'd like to add to this what I ACTUALLY mean when I suggest paying someone to upgrade mods to work in 1.5... (Since Wilpak seems to not fully understand the TRUE intent of my message -- especially since he dragged a quote of mine from a DIFFERENT topic over here to quote me in his post..)
If you are upgrading to Zen Cart v1.5 NOW and the mods you use have not been upgraded to be v1.5 compatible, and it's IMPORTANT TO YOUR BUSINESS, then as a BUSINESS PERSON, you need to INVEST in paying a qualified developer to upgrade the add-ons you need to be v1.5 compatible.
I am in NO WAY angling to upgrade mods for people and the fact that Wilpak ASSumed this is nonsense.. I have ENOUGH work upgrading the free mods I've been maintaining, along with upgrading my client's website, PLUS a demanding day job (in software development). I don't NEED to troll this forum looking for free-mod upgrade work.. (and for the record Wilpak, this is an activity I've NEVER engaged in on this forum thank you very much..)
Now could I spend my time writing detailed posts about the step by step instructions for HOW to upgrade Ty Package Tracker, hideCategories, Edit Orders, Super Orders, and Image Handler to be Zen Cart v1.5 compatible so I can TEACH others how to do this themselves?? I sure could.. but as you pointed out Nick the requirements to upgrade each of these mods is very different, and since I'm upgrading these mods already along with all the afore mentioned other stuff on my plate, I just don't have time to do this TOO!!!!!
It's a volunteer effort for goodness sakes!!! It's as if people forget that part because all they know is they need to update THEIR store.. So their need to upgrade is supposed to be a priority for anyone who contributes to the community too?? :censored::no:
So this is why I say.. If you are in business and you are a business person, your business plan cannot fully rely on FREE contributions. You may actually have to INVEST in some development work to get the updates you need if you are not capable of making the changes yourself
OR
you can wait until the folks who volunteer here make the changes and submit them to the free downloads section.
I will continue to suggest this, and for the record, I am NOT the only person who has made this suggestion.. If Wilpak CHOOSE to believe I have some other meaning to this suggestion he is free to think what he wants..
**now where is that ignore button when you need it??**:laugh:
Quote:
Originally Posted by
niccol
@Wilpak
Well actually, I think that is a bit unfair. You do not get to thousands of posts on any forum by being a forum vampire. Diva has put in a lot of time helping people. And is working on several mods for upgrade to 1.5 that will be released when they are ready.
The thing is that this particular thread is about mods not being visible in admin. If you are having problems with that issue then this is a really good place to post your questions and people will do their best to help. If your question is a more general 'Why doesn't this module work with 1.5?' then this thread is not the right place for that kind of specific advice because to answer it people need to have specific knowledge of the module as well as knowledge about the changes in Zen 1.5.
There just is not a simple answer to the 'why doesn't this work with 1.5?' however much people want there to be one and at times have suggested that there is an answer that is somehow being hidden from them. It depends entirely on the module.
Re: Addons / modules not visable in admin
what if a mod has several menu items?
I tried this, does work but needed 4 files, now I get little errors like
Cannot send session cache limiter - headers already sent by some file
or
PHP Warning: Cannot modify header information - headers already sent by some file
and of course a blank page now and then but the mod does work if you go back to look any changes you made are there
Quote:
Originally Posted by
purpleskybv
For those who want an answer.
Add in admin -> includes -> functions -> extra_functions a file named init_[addonname].php
PHP Code:
<?php
if (!defined('IS_ADMIN_FLAG')) {
die('Illegal Access');
}
if (function_exists('zen_register_admin_page')) {
if (!zen_page_key_exists('Addonname')) {
zen_register_admin_page('Addonname', 'BOX_ADDON',
'FILENAME_ADDON','' , 'configuration', 'Y', 20);
}
}
?>
Get the right values for BOX_ADDON and FILENAME_ADDON out of admin -> includes -> boxes -> extra_boxes -> addon_dhtml.php
Between the '' you can place page params if needed
You can change configuration to any menu item you want your addon to appear under.
The Y is to say it must be visable in the menu
The 20 can be every number and is to define the position in the menu
Re: Addons / modules not visable in admin
Quote:
Originally Posted by
AndyIII
now I get little errors like
Cannot send session cache limiter - headers already sent by some file
or
PHP Warning: Cannot modify header information - headers already sent by some file
and of course a blank page
Those are caused by PHP errors, which are logged in the /logs/ folder as explained here: http://www.zen-cart.com/content.php?124-blank-page
Read the logs, see the errors, look up the error messages and fix their causes. The FAQs area on this site are a good starting point. Sounds like you're outputting data prematurely, even if it's only blank spaces.