Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1757 closed Neues Feature (fixed)

Kategorie Vorschaubutton

Reported by: Karsta Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.5.1
Component: Admin Version: 2.0.5.0
Keywords: Cc:
Blocked By: Blocking:

Description

Wäre es möglich wie in der admin/includes/modules/new_product.php auch in der admin/includes/modules/new_category.php einen Vorschaubutton zu integrieren?

Wäre eigenlich ganz einfach umzusetzen:
suchen:

if (isset($_GET['cID']) && $_GET['cID'] > 0) {
          echo '<input type="submit" class="button" name="cat_update" value="'.BUTTON_UPDATE.'" style="cursor:pointer" '.$confirm_save_entry.'/>&nbsp;&nbsp';
        }

ersetzen:

if (isset($_GET['cID']) && $_GET['cID'] > 0) {
          echo '<input type="submit" class="button" name="cat_update" value="'.BUTTON_UPDATE.'" style="cursor:pointer" '.$confirm_save_entry.'/>&nbsp;&nbsp';
	  echo '<a class="button" href="' . xtc_catalog_href_link('index.php', 'cPath=' . $cPath . '_' . (int)$_GET['cID']) . '" target="_blank">' . BUTTON_VIEW_CAT . '</a>&nbsp;&nbsp;';
        }

Dann braucht man das nicht immer wieder in der Datei nachrüsten.

Attachments (0)

Change History (3)

comment:1 by Gerhard Waldemair, 6 years ago

Resolution: fixed
Status: newclosed

In 12557:

fix #1757 - add category preview button

comment:2 by Torsten Riemer, 6 years ago

Version: 2.0.5.12.0.5.0

comment:3 by Torsten Riemer, 6 years ago

In 12561:

format code on r12557 (fix #1757 - add category preview button)

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.