Jump to content

Smarty Template Engine and JQuery


Eds100503

Recommended Posts

OK guys please bear with me as this is going to be a little long post.

 

Thanks in advanced for all the help i can get. Ed

I am sorry i am a noob on all this.

 

Now on to the problem.

I have on my server the aMember script installed and as some of you guys know it works with CSS and Smarty Template Engine.

the Signup page is been constructed by three files .. Signup.php which in turn displays the signup.html page in my templates folder. Signup.html load or includes header.html from the same folder.

Now on the header.html i put the code of the <head> tag like always <script src ...> loading all the JS libraries.

But the libraries actually do not get loaded.

 

I am uploading the three files here in a ZIP file so you guys can have a look at them and try to tell me what am i doing wrong and you guys can point me in the right direction.

 

On the server side i am using Centos 5.5 with apache and php 5 and mySQL server.

The html folder is owned not by apache but by another group.

Inside the html folder the normal folders including the SMARTY folder templates and templates_c (for temporary cache files)

The signup.php page is on the root folder calling the signup.html from templates and this one includes the header at the same time.

All the page are CHMOD 644 and the JS are residing in a root folder named JS where all the .js files are.

All the .js files are CHMOD 644 as well.

Please help me ASAP.

Thanks

Ed

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/210497-smarty-template-engine-and-jquery/
Share on other sites

I didn't download your code, too lazy. So your using Smarty, I take it you have something like this in your signup.html page?

 

{include file="header.html"}

 

Make sure you header is actually being included, just put some simple markup in there that will be displayed on your signup page.

Hi projectfear and thanks for your response..

 

As a matter of fact it is been loaded yes...

And I even tried loading myself the head and script src on the local signup.html file and Jquery still not been loaded ..

 

I do not know why ..

Thanks

Ed

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.