[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4185: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4186: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4187: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
MNews fórum • Zobrazenie témy - Cislovanie kategorii

Cislovanie kategorii

Obecná diskusia o MNews a funkciách

Cislovanie kategorii

Poslaťod newmi » 02 Apr 2011, 20:43

Da sa nejak ovplyvnit cislo kategorie? Pretoze ked pridam kategoriu a zistim, ze ju nepotrebujem alebo sa pomylim a zmazem ju, tak dalsia kategoria ma uz nove cislo. Da sa nejak spravit aby novovytvorena mala cislo to zmazanej? Napr aby som nemal cisla 1,2,4,5,.. ale aby sa to dalo po rade 1,2,3,4,5,... Proste da sa zmenit cislo kategorie?

EDIT: aaaa uz som na to prisiel. Ze ma to skor nenapadlo. Da sa to zeditovat v subore categories.php :)
EDIT2: Ech, len potom treba pomenit kategorie aj clankom ak nejake boli v kategorii ktorej sa menilo cislo.
newmi
 
Príspevky: 62
Registrovaný: 10 Feb 2010, 15:18
Bydlisko: Trnava

Re: Cislovanie kategorii

Poslaťod mylan » 03 Apr 2011, 12:37

Je to tak nastavené účelovo - ak zmažš kategóriu, jej číslo je unikátne, nemalo by sa opakovať. Potom by sa mohlo stať, že články, čo boli v zmazanej kategórii budú teraz v novej kategórii automaticky a to nechceme. Prečo je dôležité čílo kategórie pre teba? Je to len číslo s ktorým sa pracuje interne v MNews a na webe ho vidno len url adrese kategórie, nikde inde.
|
Obrázok užívateľa
mylan
Site Admin
 
Príspevky: 422
Registrovaný: 28 Dec 2008, 23:00
Bydlisko: Prešov / Praha

Re: Cislovanie kategorii

Poslaťod newmi » 03 Apr 2011, 19:41

lebo som si predpripravil par suborov, kde som dal cisla kategorii, ktore mali nasledovat ale medzitym som spravil este jednu, ktoru som zmazal a ta potom narobila neplechu a musel som v php suboroch prepisovat cisla kategorii. Viem, moja chyba ale nenapadlo ma to, ze ked vytvorim a zmazem kategoriu, tak jej cislo aj tak zostane zaznamenane a nebude sa dat uz pouzit.
newmi
 
Príspevky: 62
Registrovaný: 10 Feb 2010, 15:18
Bydlisko: Trnava


Späť na Obecná diskusia

Kto je on-line

Užívatelia prezerajúci fórum: Žiadny registrovaný užívateľ nie je prítomný a 9 hostia