helpers in packages
PermalinkWhen i call Loader::Helper('<helpername>'), it cannot find the helper class.
What's wrong?

Next one:
Trying to use the zend Gdata fromework for doing some google stuf within this package...
I dit copy the zend library in place en call for example Loader::library('Zend/Gdata/YouTube', 'packagehandle');
It can find the YouTube library ofcource but it start calling for all the other libraries to load....
Is there a possibility to just make them load.
I can't really answer your second question, because I have not dug into the Zend framework. Please provide a few more details, such as an example of what libraries are trying to load. Hopefully, someone will be able to give you advice.
the path is
Zend/Gdata/App/something.php
Zend/Gdata/YouTube/....php
Zend/Gdata/YouTube.php
and a lot more..
When i load Loader::library('Zend/Gdata/YouTube', 'packagehandle');
the YouTube.php does a lot of require_once...
For example Zend/Gdata/App.php but it can't find it because it's looking in the wrong context (core libraries and libraries directory ), not in the libraries directory within the package where i want them to live.
Does this make sense?
Includes a file found in the block's directory.
$block->getBlockPath()
Returns a path to where the block type's files are located.
Problem is that i want it to be part of an installable package.
So if i have to extend the include_path with the path to <packagehandle>/libraries in de site.php I'm not able to.
Any smart suggestions?
Or.. am i able to let the package install add them to the libraries directory in the root?
Thnx....
Means trouble with upgrades.
Is there no possibility extending the include_path from code?
set_include_path(get_include_path() . PATH_SEPARATOR . $new_path);
It then tries to load Gdata/Validate/Hostname/Com which isn't in the core but validate is..
It should work if you ignore the Loader and simply load all required libraries manually.