Jump to content

Flash file inside a product description?


Guest fozz

Recommended Posts

Hi,

I am looking into CubeCart and have been playing around with it for a couple hours and was wondering if there was a way to have a flash file inside a products description.

I am trying to have a Flash file playing that will show a short video of the product. When I add the code into the product description and preview it in my cart, it just shows a white box, no flash.

I did find someone who had a flash as product image, but I am wanting it in the description and a regular image too.

Also I have another question, about changing the look of the different boxes. In the location where it says "Shop by Category", I would like to instead replace that with an image topper to the category box, so there is no text just an image. I have tried changing the CSS and even adding a new CSS rule to display an image but it doesn't seem to be working. In the end I would like to have a graphic instead of text on top of all the main content boxes.

Thanks in advance for the help.

Link to comment
Share on other sites

Roban:

Thanks for the link, but that thread does not answer the question on how to get flash into the product description. I think I read somewhere that you need to disable the FCKeditor? Has anyone tried this?

burgensteen:

I tried just placing an <img src> tag in the categories.tpl but that does not work for me. I don't know why? So after some experimenting, I found that if I created a CSS rule like this:

.boxCategoriesTopper {

	height: 35px;

	background-image: url(../styleImages/toppers/categoriesTop.gif);

}


and then in the categories.tpl file I commented out this:


<div class="boxTitleLeft">{LANG_CATEGORY_TITLE}</div>


and replaced it with this:


<div class="boxCategoriesTopper"</div>

And now I have my nice litte graphic toppers!! I am slowly learning this thing :rolly:

I hope to share what I learn, thanks for sharing.

PS: I still need help getting Flash into the product description.

Link to comment
Share on other sites

Guest sound

If you're seeing a white space you might have the links wrong.

Yes i had nothing but problems trying to view flash code in product's discriptions,

If you add that modification to disable the fckeditor, your flash code won't be removed and your swf will work.

Link to comment
Share on other sites

OK I think I found the reason I couldn't add flash or images.....

If I use relative URLs it does not work, but absolute URLs do work?

any ideas why?

Link to comment
Share on other sites

Guest sound

The older version of the editor strips out your embed tags right?

It'll do the same to other code like hyperlinks and what have ya,

From what i've been told 20 years after windging about it,

The newest editor works properly6, but i just removed it.

Save yourelf the heasdaches and upgrade or delete the thing :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...