Welcome, Guest. Please login or register.
September 07, 2008, 03:35:08 AM
Home Help Search Login Register
News: iJoomla SideBars for Joomla 1.5 is here!

+  iJoomla Forum
|-+  iJoomla Digistore
| |-+  Pre-Sales Questions
| | |-+  php in product description
« previous next »
Pages: [1] Print
Author Topic: php in product description  (Read 726 times)
godrifle
Newbie
*
Posts: 6


View Profile Email
« on: June 20, 2008, 08:52:07 PM »

I'd like to write a function that will output a list of songs with links to 30 second mp3 clips for each album in my store. First step is to determine whether Digistore allows me to enter PHP into the description....?
Logged
RicardoCorai
customers
Hero Member
*
Posts: 1856


View Profile WWW
« Reply #1 on: June 23, 2008, 11:57:59 AM »

Hi,
I suggest you to use this extension: OnePixelOut Player.
On your product description you only need to add this tag:
Code:
{audio}media/audio.mp3{/audio}
Best regards,
« Last Edit: June 23, 2008, 11:59:49 AM by RicardoCorai » Logged

Ricardo Corai
Moderator
www.planetacms.com
godrifle
Newbie
*
Posts: 6


View Profile Email
« Reply #2 on: June 23, 2008, 03:14:54 PM »

Sounds great. Tedious with a thousand tracks though, which is why I'm hoping that I can inject PHP into product descriptions.
Logged
RicardoCorai
customers
Hero Member
*
Posts: 1856


View Profile WWW
« Reply #3 on: June 24, 2008, 09:05:47 AM »

I think that you can“t add PHP code there. Anyway you can try it using a simple PHP code.
Code:
<?php print("Hello World!"); ?>
Best regards,
Logged

Ricardo Corai
Moderator
www.planetacms.com
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Theme Globe by Eponnox