OSCLASS: Unterschied zwischen den Versionen

Aus Zovis Wikili
Wechseln zu: Navigation, Suche
(Republish Button)
(Republish Button)
Zeile 8: Zeile 8:
 
                   <?php if(function_exists('republish_link_raw') && republish_link_raw(osc_item_id())) { ?>
 
                   <?php if(function_exists('republish_link_raw') && republish_link_raw(osc_item_id())) { ?>
 
                     <a class="republish round2 tr1" href="<?php echo republish_link_raw(osc_item_id()); ?>" rel="nofollow"><?php _e('Republish', 'stela'); ?></a>
 
                     <a class="republish round2 tr1" href="<?php echo republish_link_raw(osc_item_id()); ?>" rel="nofollow"><?php _e('Republish', 'stela'); ?></a>
  <?php } ?>
+
  <?php } ?>
+
+
<!--  republish  by zovi -->
 
<!--  republish  by zovi -->
 
 
<a class="republish round2 tr1" href="<?php echo osc_base_url(true); ?>?page=custom&route=osp-cart-update&product=601x1x<?php echo osc_item_id(); ?>x8760x1" rel="nofollow"><i class="fa fa-refresh"></i> <?php _e('Republish', 'stela'); ?></a>
 
<a class="republish round2 tr1" href="<?php echo osc_base_url(true); ?>?page=custom&route=osp-cart-update&product=601x1x<?php echo osc_item_id(); ?>x8760x1" rel="nofollow"><i class="fa fa-refresh"></i> <?php _e('Republish', 'stela'); ?></a>
 
   
 
   
<!--  end  by zovi -->
+
<!--  end  by zovi -->
 
   
 
   
 
   
 
   

Version vom 25. Januar 2018, 12:42 Uhr

FAQ

Stella Theme

Republish Button

Um einen Republish (Wiederveröffentlichen) Button im Menü Expired (Abgelaufen) einzufügen folgendes im .p. einfügen:

                 <?php if(function_exists('republish_link_raw') && republish_link_raw(osc_item_id())) { ?>
                   <a class="republish round2 tr1" href="<?php echo republish_link_raw(osc_item_id()); ?>" rel="nofollow"><?php _e('Republish', 'stela'); ?></a>
				  <?php } ?>

<a class="republish round2 tr1" href="<?php echo osc_base_url(true); ?>?page=custom&route=osp-cart-update&product=601x1x<?php echo osc_item_id(); ?>x8760x1" rel="nofollow"> <?php _e('Republish', 'stela'); ?></a>


Schprachumschaltung der Kategorien Fehler

Bei mehrsprachigen Osclass Seiten werden die kategorien nicht übersetzt.


Hier die Lösung:

This is a pretty serious Osclass bug that I studied and solved a while ago (but the solution involves changing a core file, so I pulled an official request, no answer so far... :()

You need to backup your oc-includes/osclass/model/Category.php file (just in case) and replace its contents with this:

https://raw.githubusercontent.com/teseo-2014/Osclass-develop/develop/oc-includes/osclass/model/Category.php

Now, being a core file, remember that you need to redo this modification every time you upgrade Osclass (unless they solve this once and for all).

Regards


Source https://forums.osclass.org/themes/how-to-translate-osclass-themes/msg125953/#msg125953

Fehler im GUM Theme

Die Seite "payment-pro-user-menu" wird im Useraccount nicht angezeigt

In der Datei /oc-content/themes/gum/class/payments_pro/user/menu.php auf der linie 91 ist ein (') am falschen Ort.

ändere

printf('<li><a class="searchPaginationSelected" href="%s">%d</a>'</li>,

nach

printf('<li><a class="searchPaginationSelected" href="%s">%d</a></li>',

und schon klappts wieder.



Debug einschalten

/**
  * Copy this code to config.php file
  * This will log all error notices and warnings to a file called debug.log in oc-content
  */
 define('OSC_DEBUG', true) ;
 define('OSC_DEBUG_LOG', true) ;

Wörter in Sprachen ändern

https://forums.osclass.org/repurpose/help-with-free-classifieds-osclass-script-35679/msg149455/#msg149455

Tip:
Es gibt Übersetzungen im Standard Verzeichnis
/oc-content/languages


In den meisten Fällen gibt es sie auch noch in den Themes:
/oc-content/themes/[themenname]/languages/

z.B.:
/oc-content/themes/osclasswizards/languages/


Plugins


Themes