Hey all.
I just set up 1.3.1 last night, and there is a problem that i ran in to. A user wants to embed their album in a web page, and they want to get rid of the gallery link in the breadcrumbs on view_album, view_photo, etc. i reset the returnto value in the setup, but the gallery link is still there.
i was looking at the code, and i think the possible line may be the culprit:
lines 100-102 of view_album.php (code is similar in other offending pages)
---
do {
if (!strcmp($pAlbum->fields["returnto"], "no")) {
break;
----
etc..
should that ! be there? i took it out, and everything seems to work fine.
has anyone noticed this before? am i missing something?
thanks in advance :smile:
Posts: 7994
The config wizard sets default values. It doesn't set master switch values for all your albums (which it does say pretty clearly at the top of page 3 of the wizard).
By removing that code, you're disabling the no return to feature. Instead, put the code back and then click [properties] on the album in question and change the return-to setting there.
-Bharat
Posts: 2
OK.. thanks.. i see it now.
Since the album was already created, changing that default value didn't ake any difference, and i missed that option on the album properties.
me bad :sad:
thanks for the prompt reply :smile: