En cours

Fix PHP forms on x-cart software using their smarty template system

We recently upgraded our x-cart software and are having an issue with reading our php forms that are assigned to a static html page. We originally wrapped the form codes in a php tag inside of the content tpl and they worked fine. We need the forms to show up again. Samples of the old code and forms are attached. This should be a quick fix according to x-carts support message also attached.

Our problem:

In our old site we had custom code to use php pages rather than static pages when we needed to run php forms. We had the code in the [url removed, login to view] file and it worked fine. Now when we implement the code we get a white screen. Is there something different with this cart for using PHP? Please see the code snippet below:

...

Is there an easier way to use PHP on a static page?

x-cart support operator with solution: The smarty engine in the x-cart v4.7.3 doesn't allow to use the "{php}" smarty tags in the templates due the security settings.

Please see their code sample attached and the snippets of code we are using.

Compétences : Javascript, jQuery / Prototype, MySQL, PHP, Smarty PHP

Voir plus : x cart template, security site template html, sample system using php, quick fix engine, smarty template pinnacle cart, upload image using smarty template engine, website using smarty template engine, using cookies temporary store cart php, software smarty template, display mysql tables using smarty php, php using smarty templates creating web catalog, uploading files godaddy server using php forms, php smarty template, using smarty website template creation

Concernant l'employeur :
( 87 commentaires ) Tiverton, United States

N° du projet : #8538822

Décerné à :

webdevt

This is easy job for me. I can fix it quick if you choose me for the project. I require milestone placed on start and released after everything works and tested.

35 $ USD en 1 jour
(42 Commentaires)
5.2

2 freelance ont fait une offre moyenne de 30 $ pour ce travail

eduardoassis

Tenho muita experiência em Smarty e projetos em php. Trabalho Há mais de 10 anos com esse tipo de framework e utilizo programação orientada a objetos

25 $ USD en 3 jours
(0 Commentaires)
0.0