Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#133 2004-10-28 17:08:35
Re: Plugin/Hack: Albumpattern
norichan : Thanks for the heads up. There is no problem on your side. It will be fixed in the next release. I’ll try to post an update to the plugin later.
Offline
#134 2004-10-30 11:08:05
Re: Plugin/Hack: Albumpattern
not sure if this is because of my host, or part of the script, but i’m getting error warning for each image uploaded:
Warning: Cannot execute using backquotes for security reasons in …/lib/classImageManipulation.php on line 129
the image(s) successfully upload, and albumage happens, but does anyone have any insight about this warning?
thank you.
Last edited by jase (2004-10-30 12:17:21)
Offline
#135 2004-10-30 16:02:15
Re: Plugin/Hack: Albumpattern
It’s how your host is setup, use GD instead of ImageMagick and it should work fine.
Offline
#136 2004-10-30 17:35:25
Re: Plugin/Hack: Albumpattern
i already had it set to use GD.
Offline
#137 2004-10-30 18:35:51
Re: Plugin/Hack: Albumpattern
jase: open up classImageManipulation.php and comment out line #62 ($this->setImageMagickPath($imp);
). You can comment out a line by adding //
in front of the line, or you can simply delete the line.
Offline
#138 2004-10-30 18:53:06
Re: Plugin/Hack: Albumpattern
thanks greenrift! that fixed the warnings.
i have another issue, now (unrelated to the warning)…
when i add an image to an album, it shows up in my recent_articles listing, but the link to the image does NOT contain any album info: “/albumID/albumName/”. when clicked i just get an empty page with the name of the image. and the url only contains the image id and image name
this is how i’m pulling in the “recent list”:
- page includes a “header” form
- header form references a sidebar form
- sidebar form contains:
< txp:chh_article_custom listform=“template_sidebar_recent” limit=“5” sortby=“Posted” sortdir=“desc” / >
- template_sidebar_recent is coded as:
< li< txp:glx_if_current_article / > >< txp:zem_link title=”%s” >< txp:title / >< /txp:zem_link >< /li >
*EDITS*—
i should also mention i tried using the default txp:permlink instead of the txp:zem_link tag and got the same result described above
updated my sidebar code pulling in the recent list
Last edited by jase (2004-10-30 22:46:25)
Offline
#139 2004-10-30 19:59:59
Re: Plugin/Hack: Albumpattern
there may be an easier way to do this, but to get a bit more control (via CSS) over the links that get generated from < txp:ap_breadcrumbs / >, you can edit the plugin code, in the ap_breadcrumbs function:
——————
find—
$tags[‘section’] = tag($title,‘a’,’ href=”’.$href.’”’);
replace with—
$tags[‘section’] = tag($title,‘a’,’ href=”’.$href.’” class=“section”’);
——————
find—
$tags[‘album’] = tag($title,‘a’,’ href=”’.$href.’”’);
replace with—
$tags[‘album’] = tag($title,‘a’,’ href=”’.$href.’” class=“album”’);
——————
find—
$tags[‘image’] = tag($title,‘a’,’ href=”’.$href.’”’);
replace with—
$tags[‘image’] = tag($title,‘a’,’ href=”’.$href.’” class=“image”’);
——————
then drilling down the CSS chain: div.breadcrumbs a.album allows complete control over each link, such as loading specific icons with each of the breadcrumb bits, like this
.jase
edit: updated link to example
Last edited by jase (2005-03-22 10:23:54)
Offline
#140 2004-10-31 14:38:11
Re: Plugin/Hack: Albumpattern
Thanks for that Jase its a nice addition. By the way, your site is really lovely and nicely constructed too!
Offline
#141 2004-11-01 06:14:57
Re: Plugin/Hack: Albumpattern
Hi greenrift, i thank you very much for this plugin. From time to time I want to show a special album in my ‘normal’ blog section / article flow.
Is it the right way to write an ordinary article in the blog section and within doing something like < txp:album form=“album_single” id=“1” / >?
Dennis
<a href=“http://dennisfrank.info” title=“Dennis Frank gestaltet – Portfolio” style=“display: block; background:#efefef; color: #545454; float: left; padding: .5em; border: 1px none #9f9f9f; text-decoration: none;”><span style=“border-bottom: 1px solid #9f9f9f;”>Dennis Frank portfolio</span></a>
Offline
#142 2004-11-01 16:36:47
Re: Plugin/Hack: Albumpattern
> Freshmango wrote:
> Hi greenrift, i thank you very much for this plugin. From time to time I want to show a special album in my ‘normal’ blog section / article flow.
Is it the right way to write an ordinary article in the blog section and within doing something like < txp:album form=“album_single” id=“1” / >?
Use album_id
instead of id
and that should work. The problem will be with the links to individual images, they won’t get the proper link structure.
This feature will either work in the next release, or one after that.
Last edited by greenrift (2004-11-01 16:41:29)
Offline
#143 2004-11-01 19:46:56
Re: Plugin/Hack: Albumpattern
> greenrift wrote:
> Use album_id
instead of id
and that should work. The problem will be with the links to individual images, they won’t get the proper link structure.
There in’t any differnce between id
and album_id
in my blog. In the article you will always see the whole album list. Sadly I can not show you my blog online.
> This feature will either work in the next release, or one after that.
Do you have a hint, where to (hard)code this in the plugin-source?
I hope you can help me. Thanks.
Dennis
<a href=“http://dennisfrank.info” title=“Dennis Frank gestaltet – Portfolio” style=“display: block; background:#efefef; color: #545454; float: left; padding: .5em; border: 1px none #9f9f9f; text-decoration: none;”><span style=“border-bottom: 1px solid #9f9f9f;”>Dennis Frank portfolio</span></a>
Offline
#144 2004-11-04 04:56:04
Re: Plugin/Hack: Albumpattern
Greenrift,
Is there any easier way to upload many photos at once into album pattern?
Thanks
bludrop studios .::. Creative Expression
Offline