inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on Dec 24, 2016 21:20:30 GMT -8
Forum: trinityblair-test.boards.net/Not sure what the route name for the conversations list page is, any help? I've tried conversations/conversation.
|
|
inherit
238893
0
Mar 15, 2022 16:18:19 GMT -8
Crab
71
November 2016
thedestinedcrab
|
Post by Crab on Dec 24, 2016 21:42:02 GMT -8
You might wan to double check your spelling - it's definitely /conversations .
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on Dec 24, 2016 21:45:11 GMT -8
Spelling is correct.
|
|
inherit
238893
0
Mar 15, 2022 16:18:19 GMT -8
Crab
71
November 2016
thedestinedcrab
|
Post by Crab on Dec 24, 2016 21:47:38 GMT -8
Could you show me the code that you're trying to use this in, please? There may be an error in your code.
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on Dec 24, 2016 21:52:07 GMT -8
No error as it is working fine on the thread lists page.
{if $[route.name] == "board" || $[route.name] == "conversations"}{/if}
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 24, 2016 22:27:48 GMT -8
trini - try printing out $[route.name] as its own variable on the convo page and see what comes up
|
|
inherit
133146
0
Nov 16, 2024 15:51:08 GMT -8
Alanna ๐ฅ๐ค
3,564
November 2008
alannab
|
Post by Alanna ๐ฅ๐ค on Dec 24, 2016 22:31:08 GMT -8
trini - try printing out $[route.name] as its own variable on the convo page and see what comes up
Of course! I should have thought of that myself. It's "conversations_inbox".
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 24, 2016 22:32:53 GMT -8
|
|
inherit
97216
0
Nov 15, 2024 16:10:17 GMT -8
Bennett ๐
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett ๐ on Dec 27, 2016 10:42:43 GMT -8
Or you can paste the following into your URL bar of your browser: javascript: alert(pb.data('route').name); void(0); and hit enter!
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Dec 27, 2016 11:26:32 GMT -8
Or you can paste the following into your URL bar of your browser: javascript: alert(pb.data('route').name); void(0); and hit enter! It seems like Chrome likes to strip off the javascript: part - which then sends it on a Google search. I've had to re-add the javascript: part manually each time before hitting Enter.
|
|
inherit
97216
0
Nov 15, 2024 16:10:17 GMT -8
Bennett ๐
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett ๐ on Dec 28, 2016 7:00:23 GMT -8
Or you can paste the following into your URL bar of your browser: javascript: alert(pb.data('route').name); void(0); and hit enter! It seems like Chrome likes to strip off the javascript: part - which then sends it on a Google search. I've had to re-add the javascript: part manually each time before hitting Enter. You can always create your own bookmark with that JavaScript in it for quick access.
|
|
inherit
77753
0
Jul 18, 2024 12:23:50 GMT -8
Bob
2,623
April 2006
bobbyhensley
|
Post by Bob on Jan 1, 2017 10:14:38 GMT -8
Or you can paste the following into your URL bar of your browser: javascript: alert(pb.data('route').name); void(0); and hit enter! It seems like Chrome likes to strip off the javascript: part - which then sends it on a Google search. I've had to re-add the javascript: part manually each time before hitting Enter. Open your browser's developer tool (F12 by default for Chrome), go to console, and simply use: console.log(pb.data('route').name);
|
|