Just came across a problem with the auto-loading or access of classes
with components.
The situation is a I have a Comment module, with a component called
Add which is just a component with a form to add comments. So
naturally I added the form class for this component to
/apps/public/modules/comment/lib/form/AddForm.class.php
Now I'm going to use this component and I simple drop into my video/
view action's template
# /apps/public/modules/video/templates/viewSuccess.php
<?php include_component('comment', 'add', array('video' => $video) ?>
The problem is this is creating an error that it can't find the form
class. In order to get this to work I have to move the
AddForm.class.php from
/apps/public/modules/comment/lib/form/
to
/apps/public/lib/form/
I believe since the component is actually the one calling for the form
class that this should work and might be a bug in symfony.
I'm running symfony 1.2.4-dev
Any feedback would be great or do you think I should put a ticket in
for this?
--
Stephen Ostrow <[email protected]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---