[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 - Členenie obrázkov a šablóna na fotogalériu s lightboxom

Členenie obrázkov a šablóna na fotogalériu s lightboxom

Podeľte sa s nami o hacky/triky, ktoré ste pre MNews vytvorili

Členenie obrázkov a šablóna na fotogalériu s lightboxom

Poslaťod sekera » 28 Apr 2011, 09:44

Ahojte.
Je to super cms systém. Mám však jeden problém. Keď na stránku v tinyeditore umiestnim obrázok ako súčasť textu tak mi ten obrázok automaticky dáva aj do fotogalérie.

:P Vyriešené!!!!!!! ;)

šablóna do cms na fotogalériu :

<a href="{IMAGE_URL}" class="fancyimg" rel="fancygal"><img src="{THUMBNAIL_URL}" alt="{IMAGE_TITLE}" title="{IMAGE_DESCRIPTION}" width="xxx" height="xxx" /></a>

xxx - je veľkosť

do html kodu za tagy :

<!-- fancybox začiatok -->
<link rel="stylesheet" href="fancybox/jquery.fancybox-1.3.4.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.4.js"></script>

<script type="text/javascript">
$(document).ready(function() {

$("a.fancyimg").fancybox({

});
});

</script>
<!-- fancybox koniec -->

a na ftp nahrať súbor v prílohe

Do kódu web stránky pridať kód, ktorý vygeneruje cms v galérii.
Prílohy
fancybox.zip
(52.97 KiB) 1096 krát
sekera
 
Príspevky: 4
Registrovaný: 28 Apr 2011, 09:34

Re: Členenie obrázkov a šablóna na fotogalériu s lightboxom

Poslaťod PNC7 » 27 Aug 2011, 00:02

Zdravím,

dnes jsem zkoušel Fancybox tímto způsobem implementovat a funguje, DÍKY.
PNC7
 
Príspevky: 9
Registrovaný: 05 Júl 2011, 14:43

Re: Členenie obrázkov a šablóna na fotogalériu s lightboxom

Poslaťod PNC7 » 27 Aug 2011, 11:51

Zdravím,

nebylo by možné GALERII využít jako zdroj obrázků s tím, že by se zobrazil vždy jen jeden (úvodní) obrázek
ze seznamu v GALERII a po kliknutí na něj by se spustil prohlížeč Fancybox 1.3.4 (Lightbox, apod.) příklad :
)
Jde mi o to, aby redaktoři nemuseli manipulovat s HTML kódem při tvorbě seznamu obrázků pro přehrávač a namísto
toho využili jen rozhraní MNews cms a databáze GALERIE.Díky za reakci.
PNC7
 
Príspevky: 9
Registrovaný: 05 Júl 2011, 14:43

Re: Členenie obrázkov a šablóna na fotogalériu s lightboxom

Poslaťod noro » 28 Máj 2014, 10:52

Pozdravujem vsetkych,
mam jeden problemik s fancyboxom. Vsetko som nastavil ako bolo popisane v navode, super funguje na mnews 2.4.0. Spravil som neskor dalsiu stranku s verziou 2.6.1. ale tam uz fancybox nefunguje.
Stretol sa s tym niekto?
noro
 
Príspevky: 9
Registrovaný: 09 Mar 2012, 17:59

Re: Členenie obrázkov a šablóna na fotogalériu s lightboxom

Poslaťod mylan » 07 Jún 2014, 13:05

Upravil si znova šablónu podľa návodu?
|
Obrázok užívateľa
mylan
Site Admin
 
Príspevky: 422
Registrovaný: 28 Dec 2008, 23:00
Bydlisko: Prešov / Praha


Späť na Triky a vylepšenia

Kto je on-line

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

cron