Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-05-29 12:33:01

daver89
Member
From: Walsall, UK
Registered: 2007-12-02
Posts: 22
Website

links with images and galleries

Hello,

I am quite new to textpattern so have a few questions.

I client wants to create a links section to brands they stock, i notice the link section and that would be perfect execpt they want the logos to be linked. Is there anyway to add support for images with links?

Also whats the best way to go about having a gallery on a site? is it just upload them into categories in the image section?

I have noticed that a lot suggest everything is an article but I am worried that with links, images, news stories and pages in the site the site owners maybe become confused when updating the site. Are there any good filtering methods to show only certain sections, categories etc?

Many thanks

Dave.

Offline

#2 2008-05-29 18:33:10

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: links with images and galleries

The articles tab does have filtering capabilities (at the top) to show only a single section or category.

Using an article to combine image (article_image) with a link (custom field) is the cleanest solution I think, unless you abuse the description/alternate text/name field of an image to store the URL, in which case you may need to resort to some PHP for displaying the linked image list as desired.

Offline

#3 2008-05-29 19:32:43

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: links with images and galleries

daver89 wrote:

Also whats the best way to go about having a gallery on a site? is it just upload them into categories in the image section?

That’s what I do.
First I create a new image category which I in turn assign to the images for that particular gallery as I upload them. A custom field is used to input the category name. That way you won’t have to fumble with plugin code in the article body.

I use rss_thumbpop and smd_gallery to create the actual galleries. Both can retrieve images by category from a custom field’s value.

Are there any good filtering methods to show only certain sections, categories etc?

In addition to what Ruud mentioned there’s a very handy plugin lam_browse_by that builds a drop-down menu in the articles- and images’ tab to quickly browse by section or category.

Offline

Board footer

Powered by FluxBB