chrometweaks.org

Is there a free video iPage hosting service with video player to embed in website?

Click Here To View All Answers...


Got a question, hope someone can answer... Is there a free video iPage hosting service with video player to embed in website? Many thanks for any answer or 2. Second question of mine... Where do I put in pics for the links in the categories box? Thanks!..

Comments (8)

The answer is Yes, but... you might want to make sure and wait for someone else here to confirm my answer as I am on the fence. Better yet, why don't you email the iPage guys because they can help better...

Comment #1

Catalog/includes/boxes/categories.php.

// display category name.

$categories_string .= tep_image(DIR_WS_IMAGES'checkout_bullet.gif', '')tep_draw_separator('pixel_trans.gif', '5', '1')$foo[$counter]['name'];.

Or If you want the image to be part of the link.

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new);.

$categories_string .= '">'tep_image(DIR_WS_IMAGES'checkout_bullet.gif', '')tep_draw_separator('pixel_trans.gif', '5', '1');.

This post has been edited by.

241.

: 18 August 2004, 19:21..

Comment #2

I just tried it and none of those worked...

Comment #3

Well those codes were taken directly from my working file, maybe you put the codes in the wrong place..

Post the code you use..

Comment #4

<?php.

/*.

 $Id: categories.php,v 1.17 2002/03/07 20:53:58 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2001 osCommerce.

 Released under the GNU General Public License.

*/.

// Categories_tree written by Gideon Romm from Symbio Technologies, LLC.

Function tep_show_category($cid, $cpath, $COLLAPSABLE) {.

 global $categories_string, $languages_id, $HTTP_GET_VARS;.

 global $level;.

 $selectedPath = array();.

 .

// Get all of the categories on this level.

 $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from "TABLE_CATEGORIES" c, "TABLE_CATEGORIES_DESCRIPTION" cd where c.parent_id = "$cid" and c.categories_id = cd.categories_id and cd.language_id='"$languages_id ."' order by sort_order, cd.categories_name");.

 while ($categories = tep_db_fetch_array($categories_query))  {.

   if ($level{$categories['parent_id']} == "") { $level{$categories['parent_id']} = 0; }.

   $level{$categories['categories_id']} = $level{$categories['parent_id']} + 1;.

// Add category link to $categories_string.

   for ($a=1; $a<$level{$categories['categories_id']}; $a++) {.

     $categories_string .= "&nbsp;&nbsp;";.

   }.

   $categories_string .= '<a href="';.

   $cPath_new = $cpath;.

   if ($level{$categories['parent_id']} > 0) {.

     $cPath_new .= "_";.

   }.

   $cPath_new .= $categories['categories_id'];.

   $cPath_new_text = "cPath="$cPath_new;.

   .

   .

  $categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new);.

  $categories_string .= '">'tep_image(DIR_WS_IMAGES'blankbutton.gif', '')tep_draw_separator('pixel_trans.gif', '5', '1');.

     if ($HTTP_GET_VARS['cPath']) {.

     $selectedPath = split("_", $HTTP_GET_VARS['cPath']);.

   }.

   if (in_array($categories['categories_id'], $selectedPath)) { $categories_string .= '<b>'; }.

   if ($level{$categories['categories_id']} == 1) { $categories_string .= '<u>'; }.

   $categories_string .= $categories['categories_name'];.

   if ($COLLAPSABLE && tep_has_category_subcategories($categories['categories_id'])) { $categories_string .= ' ->'; }.

   if ($level{$categories['categories_id']} == 1) { $categories_string .= '</u>'; }.

   if (in_array($categories['categories_id'], $selectedPath)) { $categories_string .= '</b>'; }.

   $categories_string .= '</a>';.

  if (SHOW_COUNTS == 'false') {.

      if ($products_in_category > 0) {.

       $categories_string .= '&nbsp;('$products_in_category')';.

     }.

   }.

   .

$categories_string .= '<br>';.

// If I have subcategories, get them and show them.

   if (tep_has_category_subcategories($categories['categories_id'])) {.

     if ($COLLAPSABLE) {.

       if (in_array($categories['categories_id'], $selectedPath)) {.

         tep_show_category($categories['categories_id'], $cPath_new, $COLLAPSABLE);.

       }.

     }.

     else { tep_show_category($categories['categories_id'], $cPath_new, $COLLAPSABLE); }.

   }.

 }.

}.

?>.

<! categories //>.

         <tr>.

           <td>.

<?php.

 .

 //new infoBoxHeading($info_box_contents, true, false);.

 $categories_string = '';.

// tep_show_category(<top category_id>, <top cpath>, <1=Collapsable tree, 0=staticshow all>).

 tep_show_category(0,'',1);.

 $info_box_contents = array();.

 $info_box_contents[] = array('align' => 'left',.

                              'text'  => $categories_string.

                             );.

 new infoBox($info_box_contents);.

?>.

           </td>.

         </tr>.

<! categories_eof //>.

I cant get the text to get in the box. Please help me out,.

Http://www.importwerks.com..

Comment #5

Ok so you actually want the image as a background with the text over the image..

So the codes I gave you do actually work as the image is where it would be...

Comment #6

Yes, thats exactly what I want!.

How would that work? I would have the same text on every single one!..

Comment #7

The codes that I initially gave was in response to your post and it is to this that I refer that the codes work, which they do..

It is how you have worded what you are after that was initially missleading and therefore the codes do not do what you were after, it is not that the codes do not work..

It needs an entirely different approach to have the background image with the text on top as this would normally be done using a <td> which has the image as a background and then the text as the fill..

Do you have the same text beside each image at present, no, the text is different..

Are you wanting to have different images for each category or do you want the layout that you have but with the text moved from the side to be over the image...

Comment #8

My initial plan was to have the text move over onto the image but I think it would be a LOT nicer if I can have a different image for each one which will allow me more customization..

Thanks!..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.