current-page Questions
17
How, in Yii, to get the current page's URL. For example:
http://www.yoursite.com/your_yii_application/?lg=pl&id=15
but excluding the $GET_['lg'] (without parsing the string manually)?
I mea...
Moir asked 7/12, 2011 at 9:32
3
Solved
Has anybody experienced routes mysteriously becoming undetectable when using current_page? in Rails 3? Even with a fully generated scaffold complete with routes, a view, and a controller, I am gett...
Clyburn asked 11/4, 2011 at 21:47
1
Solved
Given I have the following routes defined in routes.rb
get "signup" => "users#new"
post "signup" => "users#create"
and the following condition in my erb view
<%if current_page?(login_p...
Retinitis asked 7/11, 2014 at 19:38
1
Solved
I am using UIPageControl and UISwipeGestureRecognizer to switch between 2 view controllers of my application. I have modified this tutorial without using scroll view.
I have 2 issues:
1) Using th...
Vento asked 17/1, 2014 at 18:29
2
Solved
I'm implementing current_page? in a view to test if the current controller and action is equal to a certain value, however it won't return true when on that controller/action combination.
- if cur...
Archambault asked 3/3, 2011 at 21:11
1
© 2022 - 2024 — McMap. All rights reserved.