Portal Commerce Templates in WLP 8.1?

Hi;
Just having a first look around the new WebLogic Platform 8.1, I wanted to
understand the strategy for developing and deploying e-Commerce websites.
It seems clear that it should be possible to host an existing WebLogic Portal
7 SP2 e-Commerce templates based web-site in a new WebLogic Portal 8.1 compatibility
domain.
The WLP 7 commerce templates are based on deprecated WebFlow and Pipeline technology
which is being superseded by PageFlow.
Will BEA or a partner will be supplying a WLP 7 SP2 Commerce templates style functionality
based on PageFlow technology for new developments?

You can use the <wl:cache> tag
(http://e-docs.bea.com/wls/docs81/jsp/customtags.html#56944) in jsps to
cache dynamically generated JSP content.
In other, java-based code you can use the com.bea.p13n.cache.Caches,
which supports TTLs and external-flushing. See the WLP javadoc.
Greg
Manjit wrote:
I'm looking to cache content in the portlet itself, something like:
-The banner is cached indefinitely.
-The headlines are cached for an hour.
-The weather forecast is cached for six hours.
-The weather map is cached for a day.
-The highly-personalized section with the reader's name doesn't get cached at
all.
When a visitor requests a page, construct only those portlets that are not cached.
Then, portal builds the complete page out of the newly constructed portlets and
the cached portlets. On many complex sites, well over 90% of the page can be cached,
leading to vastly superior performance over sites that have to reconstruct the
entire page each time a visitor requests it.
We are looking at a competing product that can do all this.
Manjit
"manjit" <[email protected]> wrote:
Is it possible to cache contents displayed by Portlets? Pages? Books?
especially
in the web server from where they are served?

Similar Messages

  • Error while accessing System created by  SAP Portal system template

    Hello all,
    I have created one system from SAP Portal system template in .net PDK application. This system have number of properties created in the .cs file of the System using the following code.
    [PortalComponentFieldProperty(PlainDescription = HOSTNAME, PropertyType = PropertyValueType.String, LongDescription = "Host Name", AdminPersonalization = PersonalizationType.Dialog, Category = "Application Settings")]
    [DefaultValue(EMPTYSTRING)]
    public string HostName
    get
    return (string)this.GetValue(HOSTNAME);
    When i created a system in EP from par file, It don't get any error but when i export this   system and again import it gives me the "Null reference exception error" at the line
    return (string)this.GetValue(HOSTNAME);
    Can anybody know the resion of this? Should i set permissions to the system or should i assign roles to the system?
    Please reply soon.
    Thanks in advance,
    Prashant

    Hi everyone
    I have got the solution
    Thanks
    Mumtaz

  • Where can I find a Travel e-commerce template?

    Can someone tell me where to find a ready made e-commerce template for a tour operator or travel agency? I have found some but all very expensive... Thanks a bunch...

    Since this is basically a duplicate of a later post, I'm going to lock this one.

  • I'm using OXO e-commerce template, and trying to auto advance slides on home page; In jquery.main.js

    I'm using OXO e-commerce template, and trying to auto advance slides on home page; In jquery.main.js option autoslide is set to true, how do I make slides change besides clicking on switcher? ..pls help

    I'm using OXO e-commerce template, and trying to auto advance slides on home page; In jquery.main.js option autoslide is set to true, how do I make slides change besides clicking on switcher? ..pls help

  • Portal new templates

    is there any community websites where we can get free nice looking templates or style? the existing default templates that come with oracle is too simple and limited

    Brian,
    First - this is not supported, so if you get into a mess, don't call
    support. ;-)
    The domain templates are here:
    C:\bea70\weblogic700\common\templates\domains
    The portal domain template is called portal.jar.
    If you unjar this file and take a look at the contents you will see it is
    very much just a compressed domain directory. In addition there are some
    variables that are replaced by the domain wizard. Look at config.xml for
    example:
    <!-- Configuration Wizard Cluster and Admin/Managed Node support -->
    <!-- Note: if these are configured, don't forget to add them as
    StagedTargets on Application -->
    <!--***BEGIN***[ID=MANAGED TYPE=MULTIPLE]***BEGIN***
    <Server Name="@MANAGED_SERVER_NAME"
    NativeIOEnabled="true"
    ListenPort="@MANAGED_SERVER_PORT"
    ListenAddress="@MANAGED_SERVER_IP">
    <SSL Name="@MANAGED_SERVER_NAME" />
    </Server>
    ***END***[ID=MANAGED TYPE=MULTIPLE]***END***-->
    I don't know all the details of this syntax, so I can't help you further,
    but I wouldn't expect it to be too hard to figure out. There is no guarantee
    that this syntac will not change in future versions.
    Sincerely,
    Daniel Selman
    "Brian Russell" <[email protected]> wrote in message
    news:[email protected]..
    >
    Is there any way to create our own templates for use when creating newportals,
    like the baseportal that comes prepackaged? This would be very useful insituations
    where I may need to replicate the portal on another user's machine fordevelopment
    purposes, but they can not be identical portals (duplicate IDs in the DB).I have
    not been able to find where the baseportal Template is defined and held.
    Thank you

  • Problem of Query in Portal (web template)

    Hi BWs experts,
    I have a problem with a query.
    I'm working on BI7 (BI java patch 12 and BI  abap pacth 14).
    The query is good working in BEx Analyzer.
    Bus when  I execute it in a portal like a web template, it doesn't work. The following error occurs :
    Begin of message error
    ABEND RSBOLAP (000): Program Error in class SAPMSSY1 method  : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent
    ABEND RSBOLAP (000): Program Error in class SAPMSSY1 method  : UNCAUGHT_EXCEPTION
      MSGV1: SAPMSSY1
      MSGV3: UNCAUGHT_EXCEPTION
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:148)
    at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:113)
    ABEND: Error program in class SAPMSSY1
    method  : UNCAUGHT_EXCEPTION
    ABEND: System error in progr. CL_RSMD_RS_SPECIAL and form. GETSID-01
    End of message error
    In the default values (= filter) I'm using a variable for a characteristic C. If I delete this default value in query designer, the query works in portal. If i put a filter (constant or variable) to this characteristic C, the query bugs in portal.
    So I don't know why it doesn't work.
    I hope you can help me to resolve this problem.
    Points will be assigned.
    Best cheers,
    Vince.

    hi,
    we're now getting the same message although that is after applying the java patch 12.
    what exactly was the problem with the info-object? and what did you do to fix it?

  • Edit an OS Commerce template in dreamweaver

    Hi
    I downloaded an os commerece template for my first e commerce store and everything is set up ok, just need to edit the whole template to my products and colours. I am trying to remove the stamp at the bottom that says designed by monstertemplate, with their website links at the bottom but not having any luck. I can see the the links code when I turn on the live code view in dreamweaver but cant see it when I go to codes to try and edit it. Maybe I am missing something and would appricate any help. This is the website:
    http://creativeinky.com/site/index.php - The links I want to remove are at the footer of the website. This has not been edited yet and the store is not functional.
    This is what I see in codes:( I have tried to remove oscommerce at the top but that does not help). Which code is for the stamp at the bottom links as I cannot see it in this code view where I can edit it. Please help.
    <?php
      $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
      Copyright (c) 2003 osCommerce
      Released under the GNU General Public License
      require('includes/application_top.php');
    // the following cPath references come from application_top.php
      $category_depth = 'top';
      if (isset($cPath) && tep_not_null($cPath)) {
        $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");
        $cateqories_products = tep_db_fetch_array($categories_products_query);
        if ($cateqories_products['total'] > 0) {
          $category_depth = 'products'; // display products
        } else {
          $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'");
          $category_parent = tep_db_fetch_array($category_parent_query);
          if ($category_parent['total'] > 0) {
            $category_depth = 'nested'; // navigate through the categories
          } else {
            $category_depth = 'products'; // category has no products, but display the 'no products' message
      require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <?php require(DIR_WS_INCLUDES . 'header_includes.php'); ?>
    </head>
    <?php
      if ($category_depth == 'nested') {
        $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");
        $category = tep_db_fetch_array($category_query);
    ?>
    <body>
    <!-- header //-->
    <?php $tab_sel = 2; ?>
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    <!-- body //-->
    <table border="0" class="<?php echo MAIN_TABLE; ?>" cellspacing="0" cellpadding="0">
    <tr>
        <td class="<?php echo BOX_WIDTH_TD_LEFT; ?>"><table border="0" class="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
        </table></td>
    <!-- body_text //-->
        <td class="<?php echo CONTENT_WIDTH_TD; ?>"><?php include(DIR_WS_BOXES . 'panel_top.php');?>
    <?php echo tep_draw_top();?>
                                            <?php new contentBoxHeading_ProdNew($info_box_contents);?>
    <?php echo tep_draw3_top();?>
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" class="main sub_category">
                  <tr>
    <?php
        if (isset($cPath) && strpos('_', $cPath)) {
    // check to see if there are deeper categories within the current category
          $category_links = array_reverse($cPath_array);
          for($i=0, $n=sizeof($category_links); $i<$n; $i++) {
            $categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'");
            $categories = tep_db_fetch_array($categories_query);
            if ($categories['total'] < 1) {
              // do nothing, go through the loop
            } else {
              $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name");
              break; // we've found the deepest category the customer is in
        } else {
          $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name");
        $number_of_categories = tep_db_num_rows($categories_query);
        $rows = 0;
        while ($categories = tep_db_fetch_array($categories_query)) {
          $rows++;
          $cPath_new = tep_get_path($categories['categories_id']);
    $p_pic_sub = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>';
    $p_name_sub = '<b><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories['categories_name'] . '</a></b>';
                $width = (int)(100 / (MAX_DISPLAY_CATEGORIES_PER_ROW-0)) . '%';
                echo '<td align="center" width="' . $width . '">'.tep_draw_prod2_top().'
                                            <table cellpadding="0" cellspacing="0" border="0" class="wrapper_box">
                                                      <tr><td class="pic4_padd">'.tep_draw_prod_pic_top().''.$p_pic_sub.''.tep_draw_prod_pic_bottom().' </td></tr>
                                                      <tr><td class="name name4_padd">'.$p_name_sub.'</td></tr>
                                            </table>'.tep_draw_prod2_bottom().'
                                  </td>'."\n";
                          if ($col!=(MAX_DISPLAY_CATEGORIES_PER_ROW-1)){
                          echo '
                                            <td>'.tep_draw_separator('spacer.gif', '1', '1').'</td>
                          }else{
                          if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {
                                  echo '             
                        </tr><tr><td class="prod_line_x" colspan="'.(MAX_DISPLAY_CATEGORIES_PER_ROW + MAX_DISPLAY_CATEGORIES_PER_ROW -1).'">'.tep_draw_separator('spacer.gif', '1', '18').'</td></tr>' . "\n";
                                  echo '<tr>' . "\n";
              if ($col==MAX_DISPLAY_CATEGORIES_PER_ROW-1){
              $col=0;
              }else{
              $col++;
    // needed for the new products module shown below
        $new_products_category_id = $current_category_id;
    ?>
                  </tr>
                </table>
    <?php echo tep_draw3_bottom();?>
    <?php echo tep_draw_bottom();?>
    <?php echo tep_draw_top();?>
                                            <?php new contentBoxHeading_WHATS_NEW($info_box_contents, true, false);?>
    <?php echo tep_draw3_top();?>
                                            <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
    <?php echo tep_draw3_bottom();?>
    <?php echo tep_draw_bottom();?>
              </td>
    <!-- body_text_eof //-->
              <td class="<?php echo BOX_WIDTH_TD_RIGHT; ?>"><table border="0" class="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
        </table></td>
      </tr>
    </table>
    <!-- body_eof //-->
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    </body>
    <?php
      } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) {
    // create column list
        $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
                             'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,
                             'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,
                             'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,
                             'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,
                             'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,
                             'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE,
                             'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);
        asort($define_list);
        $column_list = array();
        reset($define_list);
        while (list($key, $value) = each($define_list)) {
          if ($value > 0) $column_list[] = $key;
        $select_column_list = '';
        for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
          switch ($column_list[$i]) {
            case 'PRODUCT_LIST_MODEL':
              $select_column_list .= 'p.products_model, ';
              break;
            case 'PRODUCT_LIST_NAME':
              $select_column_list .= 'pd.products_name, ';
              break;
            case 'PRODUCT_LIST_MANUFACTURER':
              $select_column_list .= 'm.manufacturers_name, ';
              break;
            case 'PRODUCT_LIST_QUANTITY':
              $select_column_list .= 'p.products_quantity, ';
              break;
            case 'PRODUCT_LIST_IMAGE':
              $select_column_list .= 'p.products_image, ';
              break;
            case 'PRODUCT_LIST_WEIGHT':
              $select_column_list .= 'p.products_weight, ';
              break;
    // show the products of a specified manufacturer
        if (isset($HTTP_GET_VARS['manufacturers_id'])) {
          if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only a specific category
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";
          } else {
    // We show them all
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";
        } else {
    // show the products in a given categorie
          if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only specific catgeory
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
          } else {
    // We show them all
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
        if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('^[1-8][ad]$', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) {
          for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
            if ($column_list[$i] == 'PRODUCT_LIST_NAME') {
              $HTTP_GET_VARS['sort'] = $i+1 . 'a';
              $listing_sql .= " order by pd.products_name";
              break;
        } else {
          $sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1);
          $sort_order = substr($HTTP_GET_VARS['sort'], 1);
          switch ($column_list[$sort_col-1]) {
            case 'PRODUCT_LIST_MODEL':
              $listing_sql .= " order by p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_NAME':
              $listing_sql .= " order by pd.products_name " . ($sort_order == 'd' ? 'desc' : '');
              break;
            case 'PRODUCT_LIST_MANUFACTURER':
              $listing_sql .= " order by m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_QUANTITY':
              $listing_sql .= " order by p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_IMAGE':
              $listing_sql .= " order by pd.products_name";
              break;
            case 'PRODUCT_LIST_WEIGHT':
              $listing_sql .= " order by p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_PRICE':
              $listing_sql .= " order by final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
    ?>
    <body>
    <!-- header //-->
    <?php $tab_sel = 2; ?>
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    <!-- body //-->
    <table border="0" class="<?php echo MAIN_TABLE; ?>" cellspacing="0" cellpadding="0">
    <tr>
        <td class="<?php echo BOX_WIDTH_TD_LEFT; ?>"><table border="0" class="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
        </table></td>
    <!-- body_text //-->
        <td class="<?php echo CONTENT_WIDTH_TD; ?>"><?php include(DIR_WS_BOXES . 'panel_top.php');?>
    <?php echo tep_draw_top();?>
    <?php
    // optional Product List Filter
              if (PRODUCT_LIST_FILTER > 0) {
          if (isset($HTTP_GET_VARS['manufacturers_id'])) {
            $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";
          } else {
            $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name";
          $filterlist_query = tep_db_query($filterlist_sql);
          if (tep_db_num_rows($filterlist_query) > 1) {
                          echo tep_draw_side_top();
            echo '
                        <table cellpadding="0" cellspacing="0" border="0" class="select2">
                                  <tr><td align="right" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . '<b>'.TEXT_SHOW . '</b>  ';
            if (isset($HTTP_GET_VARS['manufacturers_id'])) {
              echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);
              $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));
            } else {
              echo tep_draw_hidden_field('cPath', $cPath);
              $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));
            echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']);
            while ($filterlist = tep_db_fetch_array($filterlist_query)) {
              $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);
            echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');
            echo tep_hide_session_id() . '</form></td></tr>
                        </table>' . "\n";
                        echo tep_draw_side_bottom();
    // Get the right image for the top-right
        $image = DIR_WS_IMAGES . 'table_background_list.gif';
        if (isset($HTTP_GET_VARS['manufacturers_id'])) {
          $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'");
          $image = tep_db_fetch_array($image);
          $image = $image['manufacturers_image'];
        } elseif ($current_category_id) {
          $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");
          $image = tep_db_fetch_array($image);
          $image = $image['categories_image'];
    ?>
                                            <?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?>
    <?php echo tep_draw_bottom();?>
              </td>
    <!-- body_text_eof //-->
              <td class="<?php echo BOX_WIDTH_TD_RIGHT; ?>"><table border="0" class="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
        </table></td>
      </tr>
    </table>
    <!-- body_eof //-->
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    </body>
    <?php
      } else { // default page
    ?>
    <body>
    <!-- header //-->
    <?php $tab_sel = 222; ?>
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    <!-- body //-->
    <table border="0" class="<?php echo MAIN_TABLE; ?>" cellspacing="0" cellpadding="0">
    <tr>
    <?php
              if           ($tab_sel == 222)          {
    ?>
       <td class="<?php echo BOX_WIDTH_TD_LEFT; ?>"><table border="0" class="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
                                            <tr><td><?php require(DIR_WS_INCLUDES . 'column_left.php'); ?></td></tr>
    <!-- right_navigation_eof //-->
                            </table></td>
    <?php
    ?>
    <!-- body_text //-->
        <td class="<?php echo CONTENT_WIDTH_TD; ?>"><?php include(DIR_WS_BOXES . 'panel_top.php');?>
    <?php echo tep_draw_top();?>
    <!-- Welcome_box_start -->
    <?php /*  tep_draw_heading_top();  */?>
    <?php /*  tep_draw_heading_top_3();  */?>
    <?php   /*  echo tep_draw_prod_top();  */  ?>
         <!--   <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr><td class="main"><?php /*  echo tep_customer_greeting();  */    ?></td></tr>
              <tr><td><?php    /*  echo tep_draw_separator('pixel_trans.gif', '100%', '10');  */   ?></td></tr>
              <tr><td class="main"><?php    /*   echo TEXT_MAIN;  */    ?></td></tr>
            </table>  -->
    <?php   /*  echo tep_draw_prod_bottom();  */   ?>
    <?php /*  tep_draw_heading_bottom_3();  */?>
    <?php  /*   echo tep_draw_separate();    */   ?>
    <!-- Welcome_box_end -->
                                            <?php  new contentBoxHeading_ProdNew($info_box_contents);?>
    <?php  echo tep_draw3_top();
              $sum2 = 4;
    ?>
                                            <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);?>
    <?php  echo tep_draw3_bottom();?>
                                            <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?>
    <?php echo tep_draw_bottom();?>
              </td>
    <!-- body_text_eof //-->
              <td class="<?php echo BOX_WIDTH_TD_RIGHT; ?>"><table border="0" class="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
        </table></td>
      </tr>
    </table>
    <!-- body_eof //-->
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <?php
    ?>
    </body>
    <?php require(DIR_WS_INCLUDES . 'footer_includes.php'); ?>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

    Obviousy this is not as plain saliling as I thought. Being as though its OScommerce you probably have to jump through hiops to get to what you need.
    Try:
    includes/configure.php
    or
    admin/includes/configure.php

  • Adding an e-Commerce template to existing BC online web site?

    Has anyone out there started with a Muse design, and after completeing it, then did add an ecommerce template?
    There are many ways to get to the mountian... I don't see a path yet.
    Conern is for menu integration with the existing client content/web site (created in Muse) and eCommerce Template.
    Is this integration possible? Key question. 
    If so though what interface: BC, Muse, Dreamweaver, Other?
    In other words:
    Q: How does one join an active client muse site to a BC eComerce Template: what is the best process GIVEN initial client design is in MUSE?
    >>>I am going around and around missing the best practice or process to accomlish taking a MUSE on line web site, and ADDING and eCommerce Template so the store is there too.
    IS THERE A SIMPLE WAY TO LINK A MUSE SITE THAT IS ACTIVE, TO A BC ECOMMERCE TEMPLATE AND HAVE THE MENUS AUTOMATICALLY ADJUST?
    OR  DO i have to do something different?
    It appears to me that going from a Muse Content created site on BC, to having that same BC site augmented with e-commerce, needs to be done in the BC on line interface versus Dreamweaver or Muse.
    Perhaps it is a matter of order.... template first but then how to use MUSE to do the front end...
    ????? I must be missing some simple concept here....
    Getting ready to experiment and hoping for some pointers as I start the challenge of the process. After looking on line and asking questions of BC and others... i have a couple of man days into this scenario.  Hoping for insight from the BC universe! lol... thanks y'all.
    Cheers!

    Sorry . i am a bit lost and under pressure to perform on this project...
    just attempting to find help. I am new to asking for help in this system,
    but desperate to move ahead...  BC is the product that is most important
    here: Muse is great ... however...  I can do without muse... but can not
    accomplish this project without the functions of BC.

  • Portal page template

    If I got a rendered portal page and I want to change just the template saving the content, how can I do it???
    My question come from the necessary of creating a print template;
    from portal rendered page with all my portlets, I need to display just the content and non the applications, so my idea is to change the template of the page and in the new one create only a region for the content and his items too.
    Anyone has got a better idea????
    Thanks

    Hi Praveen,
    do you know any internal differences between Web Dynpro Proxy Page and Default Page Template? Because I am using EP 7.0 and it is possible to add web dynpros also to the page created with Default Page Template and they seem to work fine.. The only differences I can see is the slightly different background color of embedded web dynpros and the fact that with Web Dynpro Proxy Page it is not possible for me to set the iView height type to FULL_PAGE (well, it is possible but it does not work)
    Regards,
    Tomas

  • Portal Application Templates

    In the new version of Portal (oracle9ias release 2), how do I add templates that I've created to Portal so that I can add these templates to a portal application (such as a form, report, or chart). In other words, I've created my own template and want this template to appear in the list of choices when I select a template for my form, report, etc....

    Hi,
    It is the same as in 309 or release 2. You should create templates in the shared components and it will be available to all components.
    Thanks,
    Sharmila

  • Oracle portal HTML template - session, context or user identification

    I have an HTML template in a page group. Users come to this through SSO authentication. I have put a link in this HTML template to another page group. Problem is, user loses session in second page group. It always shows a public user in second page group. Please see my code snippet below.
    *<body>*
         *<oracle>*
              declare
              v_buf VARCHAR2(4000);
              l_http_language varchar2(30);
              l_logged_on number;
              BEGIN
                   l_http_language := portal.wwctx_api.get_http_language;
                   IF l_http_language='en-gb'
                   THEN
                        mydb.RenderPortletXMLContent('header_EN.xml', 'sspheader.xslt');
                   ELSE
                        mydb.RenderPortletXMLContent('header_CY.xml', 'sspheader.xslt');
                   END IF;
                   l_logged_on := portal.wwctx_api.logged_on;
                   HTP.P(l_logged_on);
                   IF l_logged_on > 0 THEN
                        mydb.RenderPortletXMLContent('header_EN_withLogout.xml', 'sspheader_withLogout.xslt');
                   END IF;
                   HTP.P(v_buf);
              END;
         *</oracle>*
    *</body>*
    xml and xslt files produce HTML code which has a link to second page group. (The link is a plain static link whithout any parameters).
    "l_logged_on" variable gives me a value of 1 in first page group after authentication but it returns 0 in the second page group.
    If I use "Don't chache" option then it works fine. But I can not use this option because of performance problem.
    Many thanks in advance for your kind replies.
    Edited by: user2543792 on 14-Jul-2010 02:52
    Edited by: user2543792 on 14-Jul-2010 03:06

    Hmmm - not a good idea to do user related stuff on page which is set to system level caching. In general, your Portal landing page should not do any customization to aid performance as you can cache content at system level for an X number of minutes, by far the best approach for fast portals.
    But you could also use owa_util.get_cgi_env('ORACLE_SSO_USER') :
    1. Create a function ssouserid in an application schema
    create or replace function ssouserid
    return number
    is
      l_ssouser varchar2(200) := owa_util.get_cgi_env('ORACLE_SSO_USER');
      i number(1) := 1;
    begin
      if l_ssouser = 'PUBLIC'
      then
        i := 0 ; 
      end if ;
      return i;
    end ;
    /2. Create a HTML page skin with the following code between the oracle tags :
    <oracle>
    declare
    p number(1) := portal.ssouserid;
    BEGIN
    IF p>0 THEN
    HTP.P('Logged on');
    ELSE
    HTP.P('Not logged on');
    END IF;
    END;
    </oracle>3. Associate your page with the page skin created in step 2. You should now see the message 'Logged on' when you view the page while being logged on.
    Hope this helps,
    EJ

  • Portal Unstructured Template Question About Edit Links

    Hi, I have an unstructured template that I'm making. If I want to use an image for my edit link instead of using this #PAGE.EDITPAGE.LABEL#
    How would I block someone who is not allowed from editing a page from seeing the image?

    Hi Lorenzo,
    you can create a new ivew based on the component com.sap.km.cm.navigation or just copy the iView <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/e8/e1401acdfd11d5994200508b5d5211/frameset.htm">Link List</a> located under "Portal Content / Content Provided by SAP / End User Content / Standard Portal Users / iViews / com.sap.km.iviews" and add it to your portal page.
    Here you find more information about <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/b6/29892e91601940bb7a2cd673a1dff5/content.htm">KM Navigation iViews</a> in general.
    After that you go to "Organize Entries" and create some links via Links(Context menu) -> New -> External Link (Internal Links are lins to documents or folders inside KM).
    The last thing you have to do is to set the correct permissions. For that you go to "Content Administration -> KM Content -> documents / Links" where you should see your created links and use the context menu to go "Details" -> "Settings" - "Permissions". Remove the group everyone and add the group of users who should be the only ones to see the link.
    Do this proccess for every link and you should be done.
    Hope this helps,
    Robert
    PS: Feel free to use the colored stars as another way of saying thanks.

  • How to disable GLOBAL query variants in Portal (ANALYSIS Template)

    Hello Experts,
    Does anybody know how to disable the saving of global query variants on the selection screen?
    Currently if anybody goes in and saves the variant with Description and puts something in the Technical Name, it saves that variant as global, so that everybody can see it. If they put something in the description only and leave the technical name blank, then it saves the variant as local. Therefore, how would I go about disabling the saving of global query variants?
    Thank you,
    Andrei
    Message was edited by:
            AG

    This object S_ALV_LAYOgoverns the way ALV layouts are saved.
    For more info see the OSS Note 601803.
    Hope This Helps
    Anand Raj

  • Error while executing the BW  template from Enterprise portal.

    HI all,
    i need a help in resolving the  issue. when i am trying  to run the template(WAD) from Enterprise portal i am facing an error.
    the error message is as follows
    cannot load query ''query name'' (data provider "DP_1":)
    Notification Number RSBOLAP 013 
    please help me out in resolving the issue.

    Hi Ganesh,
    actually it the scenario is some this like this i have created an WAD with email as an button up on click on the button it will execute the BI Broad Casting Functionality
    He have published the template on to portal, the template is executing fine in Enterprise portal but upon button click we are perfectly invoking the broadcasting functionality but i am unable to send mail when i am click on Execute button.
    The functionality is working fine from BW system .please help me out in resolving the issue.
    regards,
    santosh

  • How to create custom template for webcenter portal application

    Hi,
    I created webcenter portal application in my jdev using the webcenter portal application template provided by the webcenter framework.
    I tried to create custom template for my application by following steps:
    1. Created new application using webcenter portal application template with all default package structure.
    2. Right click pagetemplates folder under webcontent package and select new option.
    3. New gallery opens up.
    4. Selected JSF under webtier and JSF Page Template under items in the right hand side and clicked Ok button.
    5. New wizard opens up for creating new JSF page template.
    6. Gave template name(file name) and Page Template Name(template def name).
    7. Selected checkbox staing start a Quick Start Layout and selected three column layout and selected Ok.
    8. Selected checkbox for Create Associated ADFm Page Defination(so that page templates can be changes at run time).
    9. Created some Facet Definations (header, footer, content1, content2, LHN, RHN).
    10. Clicked Ok button which will create custom template.
    11. Added some Panel Group Layout component from Component Palette.
    12. Created new page (.jspx) with this template.
    Now when I try to add producer portlets created using Producer Portlet application template and connected to the above application using WSRP2.0, I'm facing problem.
    The prolem is that I'm not able to add more than one portlet in one single page?
    Kindly let me know whether the steps followed by me is wrong some where and needs to corrected and let me know how I can add more than one portlet to page?
    Basically I cant see more than one placeholders in my page to add portlets.

    Thanks Yannick.
    In the step 9 I had mentioned that I created various facet definations (header, footer, content, content1 RHN and LHN).
    Is this is not facet you are talking about or should I drop facet ref from the resource palette?
    Can't I add moer than one portlet to my page at design time itself?
    Annoying since in weblogic portal we do this at design time(.portal).

Maybe you are looking for

  • My quick start icons will not work why?

    The quick start icons have always worked but yesterday they stopped working. Why?

  • How to enforce index

    Hi Guys, How to enforce index ? Say for example, select max(dt) from emp emp table has an index called 'id1'. I want to enforce this index for the above query. How ? Inputs are welcome !

  • ARD and changing IP addresses

    I am running ARD on a wifi network at my school to manage new laptop carts and my design lab. I am having the issue where a computer connects and recieves a different IP address from the one saved in ARD, and then the computer registers as Offline or

  • View connected users

    hi in server admin for OSX snow leopard server  it says that i have 10 connected users now there is only 2 actual users how to i find out who those connected users are ?? please help

  • Ripping dvds then putting them on ipod

    I ripped a dvd i bought for my own personal use. I ripped it using mac the the ripper and my objective is to put the movie on my ipod, when i ripped the dvd it created 2 folders one for audio and one for video, and each folder had a bunch of files, w