Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » How do I…?
  3. » Galleria

#1 2015-02-16 12:42:14

pierlu
Member
Registered: 2014-08-12
Posts: 153

Galleria

Salve ho previsto una galleria nel mio sito. come posso creare il link nel menu senza associarla ad una sezione?

Google Translate:
Hi I expected a gallery in my site. how can I create the link in the menu without associating to a Section?

{ Moderator’s annotation: Added translation. – Uli }

Last edited by uli (2015-02-16 13:15:31)

Offline

#2 2015-02-16 13:01:18

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: Galleria

is this what you need?

<ul>
<txp:section_list label="Sections" wraptag="" break="li" /> 
<li><a href="link to the gallery">gallery</a></li>
</ul>

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2015-02-16 16:01:21

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: Galleria

Ho scaricato ,il plugin smd_gallery, devo fare un form lo devo fare col codice apposito del plugin?

Translation edit by gaekwad:

I downloaded the plugin smd_gallery, I have a form I have to do with the special code of the plugin?

Last edited by gaekwad (2015-02-16 17:51:34)

Offline

#4 2015-02-16 21:33:05

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: Galleria

pierlu wrote #288302:

Ho scaricato ,il plugin smd_gallery, devo fare un form lo devo fare col codice apposito del plugin?

Translation edit by gaekwad:

I downloaded the plugin smd_gallery, I have a form I have to do with the special code of the plugin?

TRANS: I have downloaded the plugin smd_gallery do i have to create a form and add the code from the plugin?

although i understand what pierlu is asking, i don’t know the answer as i have not used this plugin.

…. texted postive

Offline

#5 2015-02-16 22:10:51

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Galleria

For a conventional gallery you don’t need any plugin.

Offline

#6 2015-02-17 00:11:31

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: Galleria

GugUser wrote #288316:

For a conventional gallery you don’t need any plugin.

@pierlu per fare una galleria di foto non serve da usare un plugin.


…. texted postive

Offline

#7 2015-02-17 15:44:43

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: Galleria

Quale codice devo html usare?

Offline

#8 2015-02-17 16:25:35

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: Galleria

pierlu wrote #288358:

Quale codice devo html usare?

Have a look at all the Textpattern tags categorized with image. But it all depends on what kind of script you want to use (gallery, slider, image zoom, etc), which script exactly you’ve chosen with which parameters and how and where you’d like to apply the script, see also my reply here. We’d need a little more details.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#9 2015-02-17 18:16:11

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: Galleria

The HTML for a gallery is basically:

<ul class="gallery">
<li><a href="/images/1.jpg" class="zoom"><img src="/images/1t.jpg" alt="" /></a></li>
<li><a href="/images/2.jpg" class="zoom"><img src="/images/2t.jpg" alt="" /></a></li>
<li><a href="/images/3.jpg" class="zoom"><img src="/images/3t.jpg" alt="" /></a></li>
<li><a href="/images/4.jpg" class="zoom"><img src="/images/4t.jpg" alt="" /></a></li>
</ul>

If you don’t like the list, you can do it with other container.

In Textpattern I use normally two forms. The example shows how I do it with a list of article images:

Form gallery

<txp:if_article_image>
	<ul class="gallery">
		<txp:images sort='field(id, <txp:custom_field name="article_image" />)' break="" form="gallery-images" />
	</ul>
</txp:if_article_image>

Form gallery-images

<li><a href="<txp:image_url />" class="zoom"><img src="<txp:image_url thumbnail="1" />" alt="<txp:image_info type="alt" />" /></a></li>

The rest depends on the required details and the script you use, so as uli already wrote.

Offline

#10 2015-02-24 09:35:16

MarcoK
Plugin Author
From: Como
Registered: 2006-10-17
Posts: 248
Website

Re: Galleria

Ciao Pierlu.

Per realizzare una galleria immaigni non hai bisogno, di base, di nessun plugin esterno. Bastano ed avanzano tutti i codici interni di base di TXP.

GugUser ti ha indicato un buon sistema per reliazzare la galleria.

Cosa intendi con… non voglio associala a nessuna sezione? La galleria vuoi inserirla nel tuo menu, quindi prevedi di dedicare una pagina del tuo sito per la galleria. Le sezione servono appunto per differenziare le parti del sito e si appoggiano alle pagine. Puoi vedere le Sezioni, come le voci del tuo menu, quindi a meno che non intendi inserire la galleria nella homepage o in un’altra sezione, hai bisogno di una sezione apposita. In alternativa la puoi legare ad un articolo, ma anche questo, o appare nella home page, oppure va legato ad una sezione.

For a conventional gallery you don’t need any plugin. You can use a basic TXP tags.
Gug User have show you a great code for a gallery
What you mean for … no section for my gallery? If you want a single page for your gallery, you need associate that page with a section (maybe not a Gallery section) or you heve to show your gallery into homepage.

Offline

#11 2015-03-03 10:13:28

pierlu
Member
Registered: 2014-08-12
Posts: 153

Re: Galleria

Io vorrei creare una pag dove mettere i link ai vari album e una pag html per far visualizzare le foto.- Devo creare anche la pag della singola galleria?

Offline

#12 2015-03-03 21:54:56

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,071
Website Mastodon

Re: Galleria

pierlu wrote #288709:

Io vorrei creare una pag dove mettere i link ai vari album e una pag html per far visualizzare le foto.- Devo creare anche la pag della singola galleria?

si. vedi qui per esempi http://paoladegrenet.com/category/portfolio/ e questo http://gallery.ipsedixit.net/galleries

Questo ultimo link ha tuoi il codice per cominciare a creare una galleria di foto.


…. texted postive

Offline

  1. Index
  2. » How do I…?
  3. » Galleria

Board footer

Powered by FluxBB