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
Similar Messages
-
Editing and changing a template in Dreamweaver
Hi,
I'm using Dreamweaver, v.11.0 in Windows 7. I have a template with a bunch of web pages that use it. When I edit and save the template, it resaves all of the pages that use it (as it should). However, when someone who has used my site before opens one of those page, they get the page that has been previously cached, and they don't see the updated page or template. Is there a way to save the pages so that users will always see the up-to-date template and content?
Thanks,
BobThanks Subhadeep and Murray,
This was very helpful in that I know there is nothing that can be done - except that for the most part, people will have restarted their browser and cleared the cache since the last time they visited this website. And then it should not be a problem.
Bob -
How to edit joomla templates in dreamweaver
hi all.
I am working with flex,when i crossed joomla its attracted me lot,they are providing so many templates i want to edit that templates (php)using
dreamweaver and also want to create new templates using dreamweaver.
can any one help to lead me..
please help any suggession...
cheers,
B.venkatesan.Work in Code View only.
Install a local testing server for your system:
WAMP for Windows
http://www.wampserver.com/en/
XAMPP for Windows
http://www.apachefriends.org/en/xampp-windows.html
XAMPP for Mac
http://www.apachefriends.org/en/xampp-macosx.html
MAMP for Mac
http://www.mamp.info/en/downloads/index.html
Setting up a PHP environment in Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
Joomla! Tutorials
http://www.lynda.com/Joomla-1-5-tutorials/creating-and-editing-custom-templates/666-2.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
DW 8 Templates in Dreamweaver CS3
Greetings,
I am currently working with a Dreamweaver template (Version
8) and I have recently installed Dreamweaver CS3 to check it out. I
wanted to update several pages with the updated template in CS3,
but when I tried, I got an error related to nested editable
regions. I checked out my code, and cleaned it up (it is strict
xhtml 1.0) and tried again. I didn't get the error, but none of the
pages are updated. Does somebody know why this could happen?If you have made changes to a template page and those changes
are not
propagated to the respective child pages then only one of two
possibilities
exist:
1. Your changes were made to EDITABLE regions in the template
files, or
2. The site cache is corrupted, and can be fixed by using
SITE | Advanced >
Recreate Site Cache
Might one of those be the cause?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Melissa_Serrano" <[email protected]> wrote
in message
news:f7gk2r$k45$[email protected]..
> Greetings,
>
> I am currently working with a Dreamweaver template
(Version 8) and I have
> recently installed Dreamweaver CS3 to check it out. I
wanted to update
> several
> pages with the updated template in CS3, but when I
tried, I got an error
> related to nested editable regions. I checked out my
code, and cleaned it
> up
> (it is strict xhtml 1.0) and tried again. I didn't get
the error, but none
> of
> the pages are updated. Does somebody know why this could
happen?
> -
Error about Template in dreamweaver mx 8
Hello every 1
This is dinesh from S Naidu Online, i m getting problem while
doing template in dreamweaver, i have done 2 part in my website
1-> top,left [ menus ], bottom , 2-> right side part
for editing page or matter, my template height is 500px , when i m
trying to do single page with template then the size of that page
is going above 700px so i m getting white patch on left side, how
to overcome this problem. ?
pls help,,,
Thanx in Advance n Regards !!!
Dinesh
S Naidu Online.Templates do no control page layout. They only control page
content. If
you have layout problems, it's not due to the template, it's
due to you
method of building the page. Can you show me the page,
please?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Snaidu Design" <[email protected]> wrote in
message
news:e7g37b$5oh$[email protected]..
> Hello every 1
>
> This is dinesh from S Naidu Online, i m getting problem
while doing
> template
> in dreamweaver, i have done 2 part in my website
> 1-> top,left [ menus ], bottom , 2-> right side
part for editing page or
> matter, my template height is 500px , when i m trying to
do single page
> with
> template then the size of that page is going above 700px
so i m getting
> white
> patch on left side, how to overcome this problem. ?
>
> pls help,,,
>
> Thanx in Advance n Regards !!!
> Dinesh
> S Naidu Online.
> -
Viewing new template in dreamweaver cs3 reverst to front page ??
When i save a new template in Dreamweaver CS3 and then try to preview in IExploer it asks me "do you wnat to open or save this file? when i select either it reverst to my old MS Front Page editor
From their website:
" Adobe Flash (version 8 or higher) is required to edit the
FLA file.
- Use the source codes at your own risk after downloading and
flashmo.com is
not responsible for any bugs or errors caused by
ActionScripts."
Do you own Flash? Are you familliar with action scripts? If
not, then you
probably want to start with a plain html template and learn
how to code html
and CSS. Flash sites look nice but they are not friendly for
Search Engines
or users who don't have flash player installed on their
system.
Here are some on-line tutorials to help you get started with
html and CSS
code:
www.w3schools.com (free)
www.Lynda.com (pay videos)
Adobe help - "Getting Started"
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"jdbcmcbride" <[email protected]> wrote in
message
news:ftr2vf$i4q$[email protected]..
> I am a first-time user of DreamWeaver and am currently
learning how to
build a
> website with the Adobe HTML article that they have.
However, I found a
flash
> template that I downloaded as it is exactly what I want
to use for my
website.
> My problem is, I don't know how to make it work.
>
> The template is located at
http://www.flashmo.com/home
and it is the one
on
> page 5 called "037 Wooden". If anyone can tell me what
to do to get this
to be
> my website, I would really appreciate it.
> -
I have been trying to make the body id tag attribute editable
in a template I am working on. I have followed the steps listed the
help page "Specify editable tag attributes in a template", and have
read threads on this forum, and yet the recommended technique does
not seem to work.
Upon selecting the <body id="home"> tag, and choosing
'Modify/Templates/Make Attribute Editable...', I have selected the
'Make attribute editable' checkbox, set the label to 'id' (I have
tried numerous names here to see if that may have caused the
problem), left the type as 'Text' and set the Default to 'home'
(also tried other text here).
Once I make these selections and choose 'OK', the only
changes to the source code are that the body id, changes from
<body id="home"> to <body id="@@(id)@@">, and the
following code is inserted in the <head> section: <!--
TemplateParam name="id" type="text" value="home" -->
All seems well, however, when creating a new page from this
template, my choices in 'Modify/Templates' do not contain the 'id',
only 'head' and 'Content' (an editable region of the template).
As a test, I tried the same process with a <DIV> tag,
setting the ID as editable, and it did not work, either.
As a side note, I am using DW CS3, in Mac OS X 10.5, if this
has any bearing.
Any help here would be greatly appreciated!
Thank you in advance,
-RobNO NO NO! That will not work.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"E Michael Brandt" <[email protected]> wrote
in message
news:[email protected]...
>I do not use this feature, and could not find the
menuitem for it either,
>however, all you have to do is edit in Code View on each
Child page:
>
> <!-- TemplateParam name="id" type="text" value="home"
-->
>
> to, for example:
>
> <!-- TemplateParam name="id" type="text"
value="anotherpageid" -->
>
> emichael
>
>
> rnordvik wrote:
>> I have been trying to make the body id tag attribute
editable in a
>> template I am working on. I have followed the steps
listed the help page
>> "Specify editable tag attributes in a template", and
have read threads on
>> this forum, and yet the recommended technique does
not seem to work.
>>
>> Upon selecting the <body id="home"> tag, and
choosing
>> 'Modify/Templates/Make Attribute Editable...', I
have selected the 'Make
>> attribute editable' checkbox, set the label to 'id'
(I have tried
>> numerous names here to see if that may have caused
the problem), left the
>> type as 'Text' and set the Default to 'home' (also
tried other text
>> here).
>>
>> Once I make these selections and choose 'OK', the
only changes to the
>> source code are that the body id, changes from
<body id="home"> to <body
>> id="@@(id)@@">, and the following code is
inserted in the <head> section:
>> <!--
>> TemplateParam name="id" type="text" value="home"
-->
>>
>> All seems well, however, when creating a new page
from this template, my
>> choices in 'Modify/Templates' do not contain the
'id', only 'head' and
>> 'Content' (an editable region of the template).
>>
>> As a test, I tried the same process with a
<DIV> tag, setting the ID as
>> editable, and it did not work, either.
>>
>> As a side note, I am using DW CS3, in Mac OS X 10.5,
if this has any
>> bearing.
>>
>> Any help here would be greatly appreciated!
>>
>> Thank you in advance,
>> -Rob
>>
>
>
> --
>
>
> E. Michael Brandt
>
> www.divahtml.com
>
www.divahtml.com/products/scripts_dreamweaver_extensions.php
> Standards-compliant scripts and Dreamweaver Extensions
>
> www.valleywebdesigns.com/vwd_Vdw.asp
> JustSo PictureWindow
> JustSo PhotoAlbum, et alia
>
> -- -
Downloading and editing an existing WordPress site in Dreamweaver CS5.
Hello! New to the forums, here.
I'll try to be brief. I've got a WordPress site in-place at metalmeter.com that is hosted through HostGator. Basically, what I'm looking to do is get the site from the remote server and edit it in Dreamweaver CS5, previewing all changes on a local testing server before putting the updated contents back on the remote server.
Now, let me be clear: I've tried plenty of the tutorials. I've watched hours of videos. I still can't get it configured properly. I've got the FTP connection to the remote server running smoothly. I've got XAMPP installed. I'm having difficulties (and I apologize for being vague), and I just don't know where the problem is located. In my htdocs folder for XAMPP, I've got two subfolders 'metalmeter' for the remote server's downloaded contents, and 'wordpress' for the wordpress installation that every page seems to be pointing me toward. What confuses me is that when I try and open the uppermost index.php file on the remote server, the dynamically discovered content is not being displayed in the live view with my local testing server. I want to be viewing my existing WordPress site in its entirety exactly as I see it online while I'm editing it, and then pushing back updated files to the /public_html/ root directory of the remote server so that I can edit the site from my local client. I'm extremely new to Dreamweaver, so any help you could offer would be greatly appreciated.
If you know how to do exactly what I'm trying to do and have been successfully viewing and editing your existing WordPress site in Dreamweaver for upload, please take some time to explain the set-up. I'd be forever in your debt!Nancy O. wrote:
I've been following this discussion for a while now and I don't understand why you hope to edit articles from DW. That's what the WP Admin panel is specifically designed for. Besides, you won't find your articles in any of the site files because they don't exist there.
I agree I don't see any reason to want to edit a Wordpress site in Dreamweaver. If you are using Wordpress then you may as well put Dreamweaver in the bin. Although people do actually want to edit and manipulate the design in Dreamweaver (including myself) and from what I've read its possible but I've never found a source which explains fully how to achieve this and those that I have it seems too much effort to even bother about.
I guess the Dreamweaver environment feels more like home and is more user friendly.
To put it another way, a typical WordPress installation contains around 800 files in some 80 folders. Those files don't contain any content, just a whole lot of PHP code. In fact, the only page most people ever see on your site is the index.php page which is dynamically created over & over by the server with content from the MySql and various include files.
For sure and that's why people who use Dreamweaver and feel the need to manipulate a Wordpress site in Dreamweaver because Wordpress is 'in vogue' get lost. Wordpress just containes a lot of pages with nothing to see apart from some php, many of who will not understand one jot.
Unless you're a coding guru, you should definitely NOT touch any of the core WP files as this could cripple your site. If you want to customize your Theme, look at the CSS and include files in your Themes folder. See Anatomy of a WordPress Theme:http://yoast.com/wordpress-theme-anatomy/
lol your not wrong there!
For a quick tip on Theming, open your remote site in Firefox equipped with the 'Web Developer Toolbar'. Edit CSS on screen. Save changes to your local site and upload it to the remote server. No testing server required.
Wordpress is Wordpress and Dreamweaver is Dreameaver. As far as I can make out the two don't mix.
Ideally you would just choose a Wordpress theme which most relates to the nice site you have designed in Fireworks of which you won't find any however goodthe themes are. Then manipulate the themes css that's if you can understand it. Even for a seasoned css expert its heavy going because everyone produces css differently to achieve the same results.
Leave Wordpress well anlone unles you're going to use it out of the box so to speak or as a web-developer don't mind a bit of reverse engineering. -
Motion quits unexpectedly during text edit on 3D text template
Motion quits unexpectedly during text edit on 3D text template. When I was trying to select 'live font' instead of 'system font'... I recently updated to snow leopard and I'm having trouble using FCP, motion... very simple procedures, it quits... what's wrong? help me out. OS 10.6.3... Motion 3.0.2
Process: Motion [4779]
Path: /Applications/Motion.app/Contents/MacOS/Motion
Identifier: com.apple.motion
Version: 3.0.2 (3.0.2)
Build Info: Motion-2025000~2
Code Type: X86 (Native)
Parent Process: launchd [146]
Date/Time: 2010-03-29 22:37:02.960 -0400
OS Version: Mac OS X 10.6.3 (10D573)
Report Version: 6
Interval Since Last Report: 16640 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 1082 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: F81B548F-07A4-4001-BC62-C46947ACDA76
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000004
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.apple.LiveType.framework 0x0183defb LTContextSyncGlyph + 72
1 com.apple.LiveType.framework 0x0183e0f6 LTContextGetGlyphMetrics + 36
2 com.apple.motion.TextFramework 0x08a9f3be TXLiveFontGlyph::getLTGlyphMetrics(double, float) + 336
3 com.apple.motion.TextFramework 0x08a9f400 TXLiveFontGlyph::getLTGlyphMetrics(TXGlyphRequest const&) + 58
4 com.apple.motion.TextFramework 0x08a9f510 TXLiveFontGlyph::getPivot(double*, double*, TXGlyphRequest const&) + 32
5 com.apple.motion.TextFramework 0x08a5bf56 TXTextObject::getPivot(double*, double*, PCTimeValue const&) + 136
6 com.apple.motion.TextFramework 0x08a62bd6 TXTextObject::getTransform(OZRenderParams&, bool) const + 912
7 com.apple.motion.TextFramework 0x08a637a6 TXTextObject::getTransformedCorners(PCRect<double> const&, OZRenderParams&, OZQuad3D&) + 66
8 com.apple.motion.TextFramework 0x08a639e9 TXTextObject::getTransformedTypographicCorners(OZRenderParams&, OZQuad3D&) + 41
9 com.apple.motion.TextFramework 0x08a580a4 TXTextLayout::getRangeRegions(TXSelectionRange const&, OZRenderParams&, std::vector<OZQuad3D, std::allocator<OZQuad3D> >&, bool) + 264
10 com.apple.motion.TextFramework 0x08a5836d TXTextLayout::getHighlightRegions(OZRenderParams&, std::vector<OZQuad3D, std::allocator<OZQuad3D> >&) + 49
11 com.apple.motion.TextFramework 0x089fbca7 -[TXTextTool draw:viewTransformation:] + 649
12 Ozone 0x0052008b -[OZOnScreenControl render:viewTransformation:] + 287
13 Ozone 0x008ab566 -[OZGLViewerOSC drawTool] + 450
14 Ozone 0x00476eec -[OZGLViewer drawRect:] + 3654
15 com.apple.AppKit 0x937c00f9 -[NSView _drawRect:clip:] + 3510
16 com.apple.AppKit 0x937bed97 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1600
17 com.apple.AppKit 0x937bf0cc -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2421
18 com.apple.AppKit 0x937bd2b6 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 711
19 com.apple.AppKit 0x937be22b -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4668
20 com.apple.AppKit 0x937be22b -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4668
21 com.apple.AppKit 0x937be22b -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4668
22 com.apple.AppKit 0x937be22b -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4668
23 com.apple.AppKit 0x937be22b -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4668
24 com.apple.AppKit 0x937be22b -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4668
25 com.apple.AppKit 0x937bce2b -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 265
26 com.apple.prokit 0x0005aa50 -[NSProWindowFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 105
27 com.apple.AppKit 0x937b9771 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3309
28 com.apple.AppKit 0x9371a3ee -[NSView displayIfNeeded] + 818
29 com.apple.AppKit 0x936e36ec -[NSWindow displayIfNeeded] + 204
30 Ozone 0x00721da5 -[OZDocumentWindow displayIfNeeded] + 71
31 com.apple.AppKit 0x93714c26 _handleWindowNeedsDisplay + 696
32 com.apple.CoreFoundation 0x929a02e2 __CFRunLoopDoObservers + 1186
33 com.apple.CoreFoundation 0x9295ca1d __CFRunLoopRun + 557
34 com.apple.CoreFoundation 0x9295c0f4 CFRunLoopRunSpecific + 452
35 com.apple.CoreFoundation 0x9295bf21 CFRunLoopRunInMode + 97
36 com.apple.HIToolbox 0x912f40fc RunCurrentEventLoopInMode + 392
37 com.apple.HIToolbox 0x912f3eb1 ReceiveNextEventCommon + 354
38 com.apple.HIToolbox 0x912f3d36 BlockUntilNextEventMatchingListInMode + 81
39 com.apple.AppKit 0x936eb135 _DPSNextEvent + 847
40 com.apple.AppKit 0x936ea976 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
41 com.apple.AppKit 0x936acbef -[NSApplication run] + 821
42 com.apple.prokit 0x00036ab1 NSProApplicationMain + 326
43 com.apple.motion 0x00005bb4 0x1000 + 19380
44 com.apple.motion 0x0000325a 0x1000 + 8794
45 com.apple.motion 0x00003181 0x1000 + 8577
------------ Skipping other threads and binary images ------------
Model: MacPro3,1, BootROM MP31.006C.B05, 8 processors, Quad-Core Intel Xeon, 3 GHz, 8 GB, SMC 1.25f4
Graphics: ATI Radeon HD 2600 XT, ATI Radeon HD 2600, PCIe, 256 MB
Memory Module: global_name
Bluetooth: Version 2.3.1f4, 2 service, 19 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, Ethernet, en0
PCI Card: ATI Radeon HD 2600, Display, Slot-1
Serial ATA Device: WDC WD3200AAJS-41VWA0, 298.09 GB
Serial ATA Device: ST3750640NS, 698.64 GB
Serial ATA Device: ST3750640NS, 698.64 GB
Parallel ATA Device: PIONEER DVD-RW DVR-112D
USB Device: Hub, 0x05ac (Apple Inc.), 0x9120, 0xfd400000
USB Device: Apple Cinema HD Display, 0x05ac (Apple Inc.), 0x9220, 0xfd430000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8206, 0x5d200000
USB Device: Hub in Apple Pro Keyboard, 0x05ac (Apple Inc.), 0x1003, 0x5d100000
USB Device: Apple Optical USB Mouse, 0x05ac (Apple Inc.), 0x0304, 0x5d110000
USB Device: Apple Pro Keyboard, 0x05ac (Apple Inc.), 0x020b, 0x5d130000
FireWire Device: built-in_hub, Up to 800 Mb/sec
FireWire Device: unknown_device, Unknownhi,
I also have had many many problems with SL and the latest Final Cut Studio, many of them with fonts. I have been through all my fonts with Font Book and disabled a whole bunch of them. For me Motion 4 had problems with non standard fonts. It might even have been a problem with double byte fonts, who knows? I've just installed 10.6.3 and the fcs updates. I havent done anything major with it yet, but a very quick test showed that the usual lag when using motion projects on an fcp timeline have been fixed. Yaaayyyy! So not much help to you, but i think some of the issues can't be fixed without a full wipe clean and resore of the whole system, or hopefully a well targeted update.
adam -
CSS Template in Dreamweaver, cannot make flash(swf) show ???
Hi all,
I'm quite new at using dreamweaver, have been using GoLive
some before and I have got a time consuming problem:
To try to get a hang of CSS page designs I've used the Page
Design (CSS) Halo Right nav that comes with DW8.
I've learnt pretty much how it works BUT, I cannot make a
flash file visible when inserted to the page design ????
It does not show if I insert it to an existing div tag or if
I insert it in a new layer. What am I doing wrong ?
(same goes for images)
Need help quickly.
Thanks!This is one of the several weird problems with the HALO
layout.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Pasay" <[email protected]> wrote in message
news:eve7b0$s6g$[email protected]..
> OK!,
> will look into that, as I said I'm all new to this,
grateful for all tips.
> I've posted a new Topic : CSS Template in Dreamweaver,
Submeny
> dissapears?
> may be related to the javascript error ?
> //Bosse
> -
How Do I Import A Photoshop CS4 Template into Dreamweaver CS4
Ok. Here's the deal, my friend and I spent alot of time working in Photoshop to come up with a nice template. He's even done all the coding to animate the buttons for standard, hover over, and click and all that. It's really cool, the buttons slide back and "lock" into place dependent upon which page you're on. However, I want to take all of that information and plug it into my website without loosing the button functionality. Unfortunately, every time I try to put the photoshop web template into Dreamweaver, it always converts it into an image. So, how do I add my complete photoshop web template and all it's functionality into Dreamweaver?
I'm afraid Photoshop is a graphics program ill suited for generating good HTML and CSS code. Use Photoshop to create your images only. Use DW to build your HTML, CSS and menus.
Have a look at this tutorial:
Taking a Fireworks (or Photoshop) comp to a CSS based layout in DW
Part 1 --
http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
Part 2 --
http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt2.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
I have an Editable Region in a template and want to remove it
When I have an Editable Region in a template and want to
remove it, and from all child-pages, what to do[mx 2004] ? The
below code if is in logout.php how is get included in a file ?
I use:
<!--#include file="../customeradmin/logout_links.php"
-->
but isset($_SESSION["email"] does not working .... well ?
[code]<?php
if (isset($_SESSION["email"])) {
?>
<link href="/css-styles.css" rel="stylesheet"
type="text/css"><body class="text_normal">
<span class="text_normal">LOGGED IN(<a
class="text_normal"
href="/php_files/logout.php">Customer-LogOut</a>)</span>
<?php
?><br />
<?php
if (isset($_SESSION["email-affiliates"])) {
?>
LOGGED IN(<a class="text_normal"
href="/php_files/affout.php">Affiliate-LogOut</a>)
<?php
?>
[/code]Click in the editable region in the Template file. Right
click on the
mmeditable tag you see on the tag selection and choose Remove
Tag from the
menu. Save the Template.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"123polis123" <[email protected]> wrote in
message
news:gf7pu8$p69$[email protected]..
> When I have an Editable Region in a template and want to
remove it, and
> from
> all child-pages, what to do[mx 2004] ? The below code if
is in logout.php
> how
> is get included in a file ?
>
> I use:
> <!--#include file="../customeradmin/logout_links.php"
-->
> but isset($_SESSION["email"] does not working .... well
>
> [code]<?php
> if (isset($_SESSION["email"])) {
> ?>
> <link href="/css-styles.css" rel="stylesheet"
type="text/css"><body
> class="text_normal">
> <span class="text_normal">LOGGED IN(<a
class="text_normal"
>
href="/php_files/logout.php">Customer-LogOut</a>)</span>
> <?php
> }
> ?><br />
> <?php
> if (isset($_SESSION["email-affiliates"])) {
> ?>
> LOGGED IN(<a class="text_normal"
>
href="/php_files/affout.php">Affiliate-LogOut</a>)
> <?php
> }
> ?>
> [/code]
>
>
> -
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? -
Missing templates in Dreamweaver CC
I am in classes for Web Page Design, which comes with the Dreamweaver software. I have not received the software from my school yet, so I began using the Adobe Creative Cloud. My problem is, in Dreamweaver CC, I am missing a template I need. I need the 2 column fixed, left sidebar template that does not show up in my template list.
How can I get the Dreamweaver templates into Dreamweaver CC?When you go through the document you will see <header> and <footer>. Remove the whole element between the opening and the closing tags as in
<header>
<a href="#"><img src="" alt="Insert Logo Here" width="180" height="90" id="Insert_logo" style="background-color: #C6D580; display:block;" /></a>
</header>
and
<footer>
<p>This footer contains the declaration position:relative; to give Internet Explorer 6 hasLayout for the footer and cause it to clear correctly. If you're not required to support IE6, you may remove it.</p>
<address>
Address Content
</address>
</footer>
After having done that, view the result in a browser and you will notice that you have lost the background colour of the article classed as content. To fix that, add a background to content (near line 67) as in
.content {
padding: 10px 0;
width: 780px;
float: right;
background: #FFFFFF; -
Problems when Creating Pages from Templates in Dreamweaver 8
When creating new pages from templates in Dreamweaver 8(Ver
8.0.2). The full path for images is not created
i.e. in template the code is <img src="main_page_logo.png"
width="814" height="172" longdesc="Main Page Logo" />
In the new file the code should be :-
<img src="../../Templates/main_page_logo.png" width="814"
height="172" longdesc="Main Page Logo" />
but only :-
<img src="main_page_logo.png" width="814" height="172"
longdesc="Main Page Logo" /> is in the code.
but this does work in Version 8.0.
Does anyone know of a setting or fix for this problem> Does anyone know of a setting or fix for this problem
It was regarded as a bug in previous versions, and was fixed
in the 8.0.2
release. In normal circumstances, ALL links in a template
file must be
relative to the template document, not relative to where you
intend to save
the child pages. Thus, there would be no way to have a link
in your
template document like the first one you show, e.g.,
<img src="whatever.png"....
*unless* the file was actually in the Templates folder (a bad
idea).
In 8.0.2, you can set your PREFERENCES for the Templates
category to NOT
MANAGE relative links. Be aware that this may have unintended
consequences
for you - specifically regarding other relative links in your
site.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"pgs_it" <[email protected]> wrote in
message
news:eivj88$361$[email protected]..
> When creating new pages from templates in Dreamweaver
8(Ver 8.0.2). The
> full
> path for images is not created
> i.e. in template the code is <img
src="main_page_logo.png" width="814"
> height="172" longdesc="Main Page Logo" />
> In the new file the code should be :-
> <img src="../../Templates/main_page_logo.png"
width="814" height="172"
> longdesc="Main Page Logo" />
> but only :-
> <img src="main_page_logo.png" width="814"
height="172" longdesc="Main Page
> Logo" /> is in the code.
> but this does work in Version 8.0.
> Does anyone know of a setting or fix for this problem
>
>
>
Maybe you are looking for
-
Pb with X200, NEC based USB 3.0 PCI card and external USB 3.0 HD
Hello, I ordered a USB 3.0 Express Card based on the NEC chipset. I am using a Lenovo X200 under XP SP3 and I have an external Buffalo Ministation USB3.0 HD. No problem to install the Express Card driver, the card is recognized but the HD won't mount
-
well Eircom alan..try this...I am stuck out in Leitrim beside Keshcarrigan and have limited or No connectivity. I have only got the line in 3 weeks and get readings of less than 1mb constantly on my speed. Eircom told me I was guanteed at least 60% o
-
Overhead Cost in Process Order
Hi All I need your expert inputs / suggestions to apply the correct method of calculating overheads in process order. Requirement: To calculate a. Labor cost b. Overhead Cost c. Depreciation Cost of Machine in a process order. Also .b. and .c. are d
-
Barcode Reading at the time of MIGO
Hi all, My requirenment is to read the serial no's from a text file genarated by Barcode reader and pass it to screen field in MIGO at the time of Goods receipt. Is there any Exit/BADI for this. The text file contians Material no and serial no of th
-
Deleting an account on macbook pro
I am deleting an account and chose to save the files - it's been around 12 hours and the account is still deleting. Anyone know why?