Questions tagged [current-page]
51 questions
0
votes
1 answer
How to change TabbedPage icon and title and page with selected , Switch between two pages
I want to change the tab icon and page after selected, I have 2 pages but I want to change with 1 tab and change the icon and page after selected, how can I do that?
public MainPage()
{
InitializeComponent();
var login =…
0
votes
2 answers
0
votes
1 answer
PHP predefined variable storing Url
Even if they are quite different I'm going to compare to php predefined variables:
$_SERVER['HTTP_REFERRER']
$_SERVER['PHP_SELF']
the first is giving me the 'previous page' including the GET parameters (Ex. mypage.php?id=1)
the second one is…

luca
- 36,606
- 27
- 86
- 125
0
votes
1 answer
Ruby-on-Rails adding current_page? to my link_to
I'd like to add a
current_page?
to my
.navbar.navbar-default.admin-header
%ul.nav.navbar-nav.navbar-left
%li= link_to "Dashboard", admins_dashboard_path, class: 'active'
to achieve that if my current page is /dashboard only in that case will…

Kovács Áron
- 3
- 1
0
votes
0 answers
Stay current page active, when open external link
I've been looking for a solution for a long time how to get, when I click to an external link in a page, it's opening in a new tab (same browser window) but the stay on current page.
target="_self" not a good solution.
Any idea?
Thank You Everybody…

Donald
- 19
- 5
0
votes
1 answer
use page as argument in Umbraco
I'm trying to pass page as argument in Umbraco . and in a helper I need some properties of the page . like Name , ...
This is my code :
var PageWeAreInheritedFrom = CurrentPage;
@ShowBanner(PageWeAreInheritedFrom);
@helper ShowBanner(dynamic…

Sara N
- 1,079
- 5
- 17
- 45
0
votes
1 answer
Extract text of the current page from a pdf (using MuPDF)
I have written the code to extract text from a pdf and it works fine. The problem is that the text of only the first page is getting extracted even though I am on a different page.
Here is the code that I am using -
public void…

TeeKay
- 1,025
- 2
- 22
- 60
0
votes
1 answer
RAILS 4: Trying to get the current page to pass to render in an AJAX request
I have a fairly straight forward question.
On my site, within the header is a "invite a colleague" link to a modal that contains a form:
<%= simple_form_for(current_user, :url => send_invite_user_path(current_user), remote: true) do |f| %>
…

GhostRider
- 2,109
- 7
- 35
- 53
0
votes
2 answers
Rails: defining policy with pundit that depends on which page the user is visiting
I have the same partial in rails that is required in two pages, that shows a list of posts.
The first is a news feed page, the second is a "details" page.
In the first one the user shouldn't be able to edit, in the second he should be able to.
The…

ProGM
- 6,949
- 4
- 33
- 52
0
votes
1 answer
The best way to convert current_page to an action helper
I have a dropdown that that would be active when page is on using the current_page? method like so:
0
votes
1 answer
submit a form but dont go to the submit. Instead stay on the current page
I have an submit form and when i submit it goes to the url of the submit form(in this situation its taak/add_taak) is there a possibility to stay on the page where the submit is done from. underneath you see the html form for the post. is there an…

Rene
- 13,299
- 5
- 19
- 28
0
votes
0 answers
Wordpress menu: how to highlight current menu item when I browse a page linked from a item page
It's a bit difficult to express my problem :
I have a navigation menu of 2 levels
A B
|----| |----|
| A1 | | B1 |
| A2 | | .. |
|----| |----|
A,B are two empty links, A1,A2,B1 are pages.
In A1, there's a link that redirects to…

panda
- 73
- 1
- 1
- 6
0
votes
1 answer
Edit a js div match div code that is has a different result on seperate link
The title might be confusing,
I have really bad js knowledge and therefore need help figuring this out.