Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#265 2005-03-13 23:33:24
Re: Plugin/Hack: Albumpattern
That sounds great. I’ll think about beta testing.
Thanks.
bludrop studios .::. Creative Expression
Offline
#266 2005-03-17 07:08:35
- joeyjoejoe
- New Member
- Registered: 2005-03-17
- Posts: 3
Re: Plugin/Hack: Albumpattern
The plugin seems to be functioning correctly from the administrative side (new albums can be created, images can be added to those albums), however it seems that these images are not being displayed on my pages.
all I see is a list of articles with the image name as the title, and when I click on the image name nothing appears.
Here is the background info:
a section has been created called ‘portfolio’ using a page called ‘portfolio’ containing the following tags (with apologies for the formatting):
(Update – this code does not work – see the next post)
txp:albumpattern/
txp:article/
txp:if_album_list
txp:album_list form=“album_list” /
/txp:if_album_list
txp:if_individual_album
txp:album form=“album_single” /
/txp:if_individual_album
txp:if_individual_image
txp:album_image form=“album_image” /
/txp:if_individual_image
…and the default albumpattern section has been set to ‘portfolio’.
When calling this section using messy urls e.g. /?s=portfolio – have not been able to get clean urls working – whole other story…
This thread has been very helpful, however I just haven’t been able to get this really nice plug-in to work.
Last edited by joeyjoejoe (2005-03-21 05:29:10)
Offline
#267 2005-03-21 05:28:22
- joeyjoejoe
- New Member
- Registered: 2005-03-17
- Posts: 3
Re: Plugin/Hack: Albumpattern
It works now – just a tip to my fellow alpha newbs – use the example tags from the Albumpattern documentation – there is a post on the first page of this thread that gave me some grief.
Also – make sure the names of your forms match those referenced in the tags.
Now i’m hoping to figure out how to get more than one column of thumbnails – does one need to go into the plugin itself to modify this?
Its hard to see how a div tag in the forms or pages is going to work when the code (presumably) loops through each album / image.
Last edited by joeyjoejoe (2005-03-21 05:30:09)
Offline
#268 2005-03-21 16:05:24
Re: Plugin/Hack: Albumpattern
You have to use CSS to control the layout of the thumbnails. Here’s a good tuturial to do just that!
Last edited by vibe9 (2005-03-21 16:05:53)
Once in a while you can get shown the light, in the strangest of places if you look at it right.
-Grateful Dead
Offline
#269 2005-03-28 18:11:02
Re: Plugin/Hack: Albumpattern
I’ want to use a gallery on my site. I have about 200+ pictures.
Albumpattern looks pretty fine … but I don’t like it that albumpattern generates an article for each picture.
Is it possible to turn this off? So that albumpattern generates no article for each picture?
Thanks for your answer! :)
Offline
#270 2005-03-30 06:00:54
Re: Plugin/Hack: Albumpattern
No. You might want to get a Flickr account, and use something like “vdh_flickr“http://www.rvdh.net/vdh_flickr/ (if you search for it you will find the forum topic).
Although it creates an article for each picture, they don’t appear in your articles section (in the admin panel), and, it allows for detailed information and data about each picture. There is no batch uploading procedure right now, so it might take you a while to upload all of your pictures.
bludrop studios .::. Creative Expression
Offline
#271 2005-04-03 18:29:41
- joeyjoejoe
- New Member
- Registered: 2005-03-17
- Posts: 3
Re: Plugin/Hack: Albumpattern
Another question – is it possible to have the albumpattern gallery appear on the home page?
In the ‘default albumpattern’ section page there is no chance to choose ‘default’ as the section.
When albumpattern tags are added to the ‘default’ page the only thing that appears is a list of articles with the image names as their titles, but no images. My default albumpattern section is currently called ‘portfolio’ – if one enables the ‘on front page?’ setting one gets the same result.
I found this in doug edmunds ‘tutorial on the textpattern presentation model’:
“There is a file called publish.php, which is hard-coded to look for a hidden section called default for the frontpage. In the mysql database, the sections table has a record which assigns the default page template and the default stylesheet to the default section. As a result, the frontpage always uses this default/default combination.
You can’t edit or delete this record through presentation/sections. There really isn’t much need to do so. If you don’t like the default appearance, you can edit the default page template and the default stylesheet.”
of course this isn’t true in the case of albumpattern – any ideas?
BTW Thanks vibe9 – things are starting to come together :)
Offline
#272 2005-04-07 14:25:04
Re: Plugin/Hack: Albumpattern
Is it just me, but why would anyone want pictures hosted elsewhere on another site (flickr) instead of your very own?
Offline
#273 2005-04-09 23:02:45
Re: Plugin/Hack: Albumpattern
@ArbinShire:
Lots of reasons. In my opinion the web-based organisation of pictures has never been so easy and feature rich. You’ve got desktop tools to upload hundreds of images with one mouseclick. You’ve got web-based tools to organize and rotate images. You don’t have to care about resizing.
Go <a href=“http://www.rvdh.net/default/?set=174471”>here</a>, click on “Show as slideshow in new window” and you’ll know what I mean.
Offline
#274 2005-04-10 06:50:15
Re: Plugin/Hack: Albumpattern
Is there a possiblity that this hack can be converted to a full-fledged plug-in? (Apart from database creation- which can be done manually)
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
#275 2005-04-11 02:50:41
Re: Plugin/Hack: Albumpattern
Albumpattern is basically a plugin, and if someone worked on it, the admin interface could probably be updated using Admin Side Plugins.
bludrop studios .::. Creative Expression
Offline