[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 - Výpis 5 posledních článků formou pouhých odkazů
Stránka 1 z 1

Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 08 Feb 2011, 18:33
od Onecar
Také se pokouším o výpis pěti posledních článků formou pouhých odkazů na ně (tj. odkaz vede na článek a obsah elementu A je roven nadpisu). Poradíš prosím?

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 08 Feb 2011, 21:24
od mylan
Otázne je kde to chceš. ak priamo na webe, tak stačí upraviť šablónu "Výpis článkov".
ak to chceš ako ďalší výpis k hlavnému, tak je potreba si vytvoriť novú skupinu šablón, kde výpis článkov takto upravíš a následne to môžeš dať napríklad do sidebaru (s tým, že špecifikuješ $mn_mode = 'news'; a zároveň použitú skupinu šablón napr $mn_tmpl = 'tvoja-sablona';).

Viac o tom ako šablóny fungujú nájdeš v + v tvojej administrácii MNews je sekcia Nástroje > Integrácia do stránky > Sprievodca začlenením článkov čo ti pomôže vygenerovať kód.

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 08 Feb 2011, 22:47
od Onecar
Vyřešil jsem to po svém, bude to jeden z prvních článků na novém blogu tak ti pošlu odkaz ;-).

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 09 Feb 2011, 22:09
od Onecar

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 10 Feb 2011, 20:06
od mylan
Riešenie fajn, len sa mi zdá, že ideš s obrovským delom na komára :)

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 13 Feb 2011, 22:28
od Onecar
To by mi bylo podobné, díky za zhodnocení ;-)

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 15 Sep 2011, 15:35
od Quish
Vim, ze uz je to nekolik mesicu, co je tento topic neaktivni, ale presto bych potreboval poradit s puvodnim problemem.
Zkosusel jsem reseni Onecara, ale bohuzel muj hosting nepodporuje jeho reseni.
Pokud by to pomohlo, tak ja se snazim o nasledujici: Na hlavni strance mam seznam novinek a kdyz nekdo jednotlivou novinku rozklikne, tak je na prave strane sidebar, ve kterem bych chtel mit seznam poslednich nekolika novinek.

Pokud nekdo prisel jak to vyresit pres sablony, budu moc rad za kazdou radu.

Re: Výpis 5 posledních článků formou pouhých odkazů

PoslaťNapísal: 20 Sep 2011, 13:15
od mylan
Čítal si môj komentár v tomto topicu?
Pomocou šablón by to malo ísť pomerne jednoducho - prečítaj si článok o šablónach. Ak ti to nebude jasné, spíšem dlhší návod na mieru.