Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2012-01-24 14:07:41

garulfo
Member
From: Strasbourg
Registered: 2012-01-18
Posts: 12
Website

Re: how do I set up a basic gallery?

I didn’t set up the site by the way – I inherited it!

Offline

#14 2012-01-24 14:11:39

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

Re: how do I set up a basic gallery?

totoff wrote:

apart from that i would like to second uli and to recommend again leaving the <txp:image_index /> path … <txp:images /> is the modern way to go.

I would recommend that too but first do update the installation with the latest txp 4.4.1 if you are using an older version.


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

Offline

#15 2012-01-24 14:24:21

garulfo
Member
From: Strasbourg
Registered: 2012-01-18
Posts: 12
Website

Re: how do I set up a basic gallery?

Thanks for your help guys.

Looks like I need to upgrade. Am guessing the errors I then get on a single image view are related to the version too?

Offline

#16 2012-01-24 14:27:53

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

Re: how do I set up a basic gallery?

garulfo wrote:

Am guessing the errors I then get on a single image view are related to the version too?

There are no errors for us to check when you switch back to live mode ;)


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

Offline

#17 2012-01-24 14:31:20

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: how do I set up a basic gallery?

i get an unstyled page on click on a thumbnail under /media. however, need tag trace to say why …

Offline

#18 2012-01-24 14:31:29

garulfo
Member
From: Strasbourg
Registered: 2012-01-18
Posts: 12
Website

Re: how do I set up a basic gallery?

good point – back on debug (I switched to calm the client down)

Offline

#19 2012-01-24 14:35:41

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

Re: how do I set up a basic gallery?

Thanks, you can turn back on live mode.

Tag error:  <txp:search_input name="Search" section="search-results"  /> ->  Textpattern Notice: Unknown tag attribute: name  on line 699

textpattern/lib/txplib_misc.php:699 trigger_error()
textpattern/publish/taghandlers.php:1163 lAtts()
textpattern/publish.php:1106 search_input()
textpattern/publish.php:1028 processTags()
textpattern/lib/txplib_misc.php:1621 parse()
textpattern/publish/taghandlers.php:266 parse_form()
textpattern/publish.php:1106 output_form()
textpattern/publish.php:1028 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()

Tag error:   ->  Textpattern Notice: Page template media does not contain a txp:article tag  on line 514

textpattern/publish.php:514 trigger_error()
index.php:45 textpattern()

You can forget about the txp:article tag warning, the page is in an image context, not in an article context.

Re search_input warning: there really isn’t a name attribute for this tag.
Edit: In case you badly need one: have a look at example 2 of txp:search_input

Last edited by uli (2012-01-24 14:39:08)


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

Offline

#20 2012-01-24 14:40:53

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

Re: how do I set up a basic gallery?

you are still on <txp:image_display /> … :-(

the trouble starts with the closing slash in the url http://www.imperialicestars.com/media/. if the closing slash is present, no styling is applied. can’t explain this in the moment. but you should upgrade to 4.4.1 and rethink the tag policies. than we have a basis for further troubleshooting.

btw. upgrade is easy and very few people report problems.

Offline

#21 2012-01-24 14:55:14

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

Re: how do I set up a basic gallery?

totoff wrote:

the trouble starts with the closing slash in the url http://www.imperialicestars.com/media/. if the closing slash is present, no styling is applied. can’t explain this in the moment. but you should upgrade to 4.4.1 and rethink the tag policies. than we have a basis for further troubleshooting.

That can easily be solved by adding slashes in front of the css or the full path of the sheets.

	<!-- STYLE -->
		<link rel="stylesheet" href="/css/960_layout.css" media="screen" />
		<link rel="stylesheet" href="/css/reset.css" media="screen" />
		<link rel="stylesheet" href="/css/style.css" media="screen" />
		<link rel="stylesheet" href="/css/services.css" media="screen" />

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

Offline

Board footer

Powered by FluxBB