[Album] - Thumblink not working with 1.0.6?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

[Album] - Thumblink not working with 1.0.6?

Post by rtkd »

hi,

i just installed the new 1.0.6 together with the newest version of album.
i installed on 2 diff. boxes to make sure, but somehow the thumblink in {*Album List*} doesn't seem to work.
unchecking "Check this box if..." didn't solve the problem, for it was already unchecked.

so is it just me or known?

greets, rootkid
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

Which version of Album did you install (0.9.x or 0.8.x)?

If 0.8.x, did you attach CSS stylesheet to your page template?

In what way does it not work? Do you have a URL I can see?

(I may be very slow in responding, as I am packing up my PC today to go home tomorrow)

- Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: [Album] - Thumblink not working with 1.0.6?

Post by rtkd »

sry can't make the link public atm.
u got mail.
Last edited by rtkd on Mon May 07, 2007 11:07 am, edited 1 time in total.
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: [Album] - Thumblink not working with 1.0.6?

Post by rtkd »

*bump*
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

Hmm... I think it might be a problem of calling album in a content block added via a template instead of calling album in the template directly.
I tested it and instead of calling album like this:

Code: Select all

{cms_module module="album" categories="1"}
it seems to work to create an Album content type page with an alias of "album-test-page" and call album like this:

Code: Select all

{cms_module module="album" categories="1" detailpage="album-test-page"}
That way, Album has a page to show the pictures on.

In addition it seems that you need to chmod 755 (make readable) modules/Album/css/stylesheet.css so that the style sheet will work. Currently it gives a forbidden error.

Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: [Album] - Thumblink not working with 1.0.6?

Post by rtkd »


Hmm... I think it might be a problem of calling album in a content block added via a template instead of calling album in the template directly.
could be now in 1.0.6. it did work in 1.0.4.

your solution was of some help but gets me into some other trouble.
if i use the detailpage-solution the text-block beneath the navigation
disappears on the detail page, and the album is displayed twice instead.

i think that happens because of the 2 content blocks i have in my template and i probably could
work a way around that but it would reduce usability and maintainability.

it would really be a lot easier if i could just add the album-tag in one content block
and keep the text above separated in the other block.

maybe you can point me into the direction of another solution
or maybe even have a solution to make it work the way it used to.

greetings and thx from rainy cologne, rtkd
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

Strange. I wonder what changed in CMSMS 1.0.6 that made it stop working. Someday I'll have to look into it and try to fix it.
I've filed a bug to remind myself: http://dev.cmsmadesimple.org/tracker/in ... 7&atid=725

Sorry about this problem and that I cannot offer a better solution at this point. Someday hopefully I will work on fixing this.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: [Album] - Thumblink not working with 1.0.6?

Post by rtkd »

cool, thank you elijah!
can you make an approx. estimate of when that is going to be?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

I've sent you an email. :)

I'll hopefully investigate and get this fixed before Monday. :)

Thanks,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
fuquam

Re: [Album] - Thumblink not working with 1.0.6?

Post by fuquam »

Check all permissions on the files used by Album. I had a similar problem and went into each files and directory and had to manually fix permissions. It works fine now. Oh yeah and I'm using 1.0.6.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

rtkd wrote:

Hmm... I think it might be a problem of calling album in a content block added via a template instead of calling album in the template directly.
could be now in 1.0.6. it did work in 1.0.4.
I'm finally working on fixing this. I got distracted with other CMSMS things and was sick for a little while.
From my tests, I can't get it to work in CMSMS 1.0.4, however, I will try to fix it anyways. ;)

It seems that most of $params is missing when Album is called from a 2nd content block which makes Album not know that an Album has been clicked on.

Hopefully I will find the source of the problem and get this fixed today,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

It seems that making the following change to plugins/function.content.php fixes this problem:

Code: Select all

Index: plugins/function.content.php
===================================================================
--- plugins/function.content.php        (revision 3963)
+++ plugins/function.content.php        (working copy)
 -43,11 +43,9 @@
                else if (isset($_REQUEST['action'])) $action = $_REQUEST['action'];

                //Only consider doing module processing if
-               //a. There is no block parameter
-               //b. then
-               //   1. $id is cntnt01
-               //   2. or inline is false
-               if (!isset($params['block']) && ($id == 'cntnt01' || ($id != '' && $inline == false)))
+               // 1. $id is cntnt01
+               // 2. or inline is false
+               if (($id == 'cntnt01' || ($id != '' && $inline == false)))
                {
                        $cmsmodules = &$gCms->modules;
I'm going to try and find out from Ted or calguy1000 why it was originally set up to not do module processing for blocks.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

That change can't be done because:
14:02 elijahlofgren: the risk that taking
that out is that a module may be processed twice
The correct way to make Album work is to use inline links.
14:07 non inline forms replace {content},
inline forms replace the blocks they're coming from....
I've added a "Use Inline Links" option to the SVN of Album (I hope to do a release today) which, when enabled, should fix this problem.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by Elijah Lofgren »

I've released Album 0.9.0 which should fix this problem once you check the box next to "Use Inline Links" in the Album options.
You can download Album 0.9.0 here: http://dev.cmsmadesimple.org/frs/?group ... ase_id=851

Please let me know if you run into any problems with the new release.

Thanks for your patience in getting this issue fixed,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
ittsmee2
Forum Members
Forum Members
Posts: 23
Joined: Sat Nov 19, 2005 12:42 am

Re: [Album] - Thumblink not working with 1.0.6?

Post by ittsmee2 »

I am not getting any links to my album pics with the new version.  When I click on an album link I just get sent back to my site root.  It's not creating any links.
Post Reply

Return to “CMSMS Core”