Hi flop25,
When you're on tour "First contact", on step 18
$lang['first_contact_stp18'] = 'Let\'s see how to manage albums now. Click <em>On album » Manage</em> or hit Next';
If click on Album>Manage, I go to the right page, but I'm immediately redirected to step 18.
It also happens on step 21
$lang['first_contact_stp21'] = 'The next tab is a page where you can move any virtual album.<br>The permalink tab is to set a particular url for an album.<br>But let\'s edit an album: click on Edit an album';
If I click on "Edit" link, I go to the Album Edit page, but I'm immediately redirected to step 21.
Offline
I should have already corrected it. Please could you post before and after redirects url?
Last edited by flop25 (2014-09-26 11:22:54)
Offline
{
path: /admin\.php\?page=photo-/,
redirect:function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
placement: "top",
title: "{/literal}{'first_contact_title18'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{'first_contact_stp18'|@translate|@escape:'javascript'}{literal}"
},
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
title: "{/literal}{'first_contact_title19'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{if $TAT_FTP}{'first_contact_stp19'|@translate|@escape:'javascript'}{else}{'first_contact_stp19_b'|@translate|@escape:'javascript'}{/if}{literal}",
onPrev: function (tour) {window.location = "admin.php?page=photo-{/literal}{$TAT_image_id}{literal}";},
},
and:
{
path: "{/literal}{$TAT_path}{literal}admin.php?page=cat_list",
placement: "left",
element: "#tabsheet:first-child",
title: "{/literal}{'first_contact_title21'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{'first_contact_stp21'|@translate|@escape:'javascript'}{literal}"
},
{
path: /admin\.php\?page=album-[0-9]+(|-properties)$/,
redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
placement: "top",
element: ".selected_tab",
title: "{/literal}{'first_contact_title22'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{'first_contact_stp22'|@translate|@escape:'javascript'}{literal}"
},
Offline
Sorry but I was asking of the actual urls when you had the issue.
I will try to reproduce and fix today
Offline
Ho it's seems it's more due to reflex :true missing Could you test?
Offline
OK I fixed something very similar in the privacy tour
http://piwigo.org/dev/changeset/29462/t … /TakeATour
so that will be easy to fix in First Contact
Offline
reflex:true doesn't work, maybe because there is no "element:" on step 18.
Offline