| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
integrating voting poll, almost working but.... | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
integrating voting poll, almost working but....
ok i installed a voting poll and it works fine when you hard link to the poll. What i want to do is have the poll show up under the newletter right where the "powered by" is. This is the script i'm supposed to insert somewhere to make the poll show up on the page:
<?php require '/xxx/x/xxxxx/htdocs/polls/booth.php'; display_booth(1); ?> I tried inserting this into the poweredby.tpl but i just get the smarty errors, even tried the old {literal}{/literal} trick with no luck, this seems to be a fairly easy poll to integrate but how do i do this? what do i need to change/modify to get this poll to show up in place of the powered by ? |
|||||||
#3
|
|||||||
|
|||||||
a step closer
thanks BOOMER, i'm one step closer, now i get the unexpected parse error but at least i learned the php smarty thing, i'll keep plugging away
|
|||||||
#5
|
|||||||
|
|||||||
that worked
that worked, Thanks BOOMER, helps to know smarty, i think i'll go over to php.net and study up on it a bit
|
|||||||
#6
|
|||||||
|
|||||||
an update and a plug
heres an update on my poll i integrated into xcart it works great, BOOMER i had to change the script to look like this for it to work though:
{php} include("http://www.yoursite.com/path/to/phpQ/fillsurvey.php?sid=blah"); {/php} i also i got fed up with the pethetic cheap free polls that you download from places, i just bought phpQ from http://www.chumpsoft.com and with the above code it works great and phpQ has templates so you can make it fit right in with your sites layout, i recommend phpQ to anyone, well worth it !!! PS - they don't have an affiliate link yet but if you buy it mention "snorocket" thanks. |
|||||||
|
|||
X-Cart forums © 2001-2020
|