Hi dardo,
Yes, i did as juan instructed i did $helpers with javascript and all
those required in the controller. And i checked in the source code
and i found this quite odd. <script type="text/javascript"
rel="project directory/js/images.js"></script>, i made it so that it
would generate in the head section. But can u tell me why it's
pointing to projectdirectory/js/images.js?? i thought cake had enough
js folders already. After I discovered this, I copied a js folder to
match that directory yet it still does not work. I'll keep trying
stuff but this is getting strange.
On Feb 5, 3:29 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Juan (in his first post) is suggesting that you put in the controller:
>
> var $helpers = array('Html', 'Form', 'Javascript');
>
> Also check the html rendered to the browser ('view source' in your
> browser) for the presence of your javascript, and check that it is
> accessible via the linked url.
>
> On Feb 5, 2008 6:09 PM, Ithaka <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Quick update: Juan, i understand where u are coming from with your
> > message. The reason why i said i don't have anything on my app is
> > because i'm just doing the layout right now and i'm trying to load
> > javascript onto the layout. So i a quick app close to teh blog
> > tutorial to test something and i load the javascript helper into the
> > controller. I almost have the solution...the java loads, i believe,
> > but it still doesn't do anything. And if your wondering, the java for
> > the layout is for my graphic buttons that are in the "header" part of
> > the layout.
>
> > On Feb 5, 2:36 pm, Ithaka <[EMAIL PROTECTED]> wrote:
> > > I've already done that.... so i'm missing something here.
>
> > > On Feb 5, 3:23 pm, "Juan F. Gimenez Silva" <[EMAIL PROTECTED]> wrote:
>
> > > > El mar, 05-02-2008 a las 11:12 -0800, Ithaka escribió:
>
> > > > > No... i don't have any anything on my site yet except a default
> > > > > layout, how would i make a controller for the layout?
>
> > > > I suggest you start reading the manual (http://manual.cakephp.org/), and
> > > > try to complete the tutorial
> > > > (http://manual.cakephp.org/appendix/blog_tutorial) to get used with the
> > > > framework.- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---