Announcement

#1 2014-09-26 11:15:14

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13097

[2.7] Take a Tour, Next or click

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.


Latest blog post (November 28th 2017) Server failures in october and november 2017

Offline

 

#2 2014-09-26 11:20:59

flop25
Piwigo Team
2006-07-06
6657

Re: [2.7] Take a Tour, Next or click

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)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2014-09-26 11:26:11

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13097

Re: [2.7] Take a Tour, Next or click

{
    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}"
  },


Latest blog post (November 28th 2017) Server failures in october and november 2017

Offline

 

#4 2014-09-26 11:31:29

flop25
Piwigo Team
2006-07-06
6657

Re: [2.7] Take a Tour, Next or click

Sorry but I was asking of the actual urls when you had the issue.
I will try to reproduce and fix today


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2014-09-26 11:32:47

flop25
Piwigo Team
2006-07-06
6657

Re: [2.7] Take a Tour, Next or click

Ho it's seems it's more due to reflex :true missing Could you test?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#6 2014-09-26 11:55:50

flop25
Piwigo Team
2006-07-06
6657

Re: [2.7] Take a Tour, Next or click

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#7 2014-09-26 11:59:29

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13097

Re: [2.7] Take a Tour, Next or click

reflex:true doesn't work, maybe because there is no "element:" on step 18.


Latest blog post (November 28th 2017) Server failures in october and november 2017

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact