Questions tagged [urlhelper]

113 questions
0
votes
1 answer

Long Url values not submitting in Code Igniter

I want to pass some value to one website to another website through URL and store the values in session in other website. So I need to pass all the data regarding that website. Here is my error message below: A PHP Error was encountered Severity:…
0
votes
1 answer

How to use Code Igniter to show Dynamic images via javascript(jQuery)

You can use the URL helper in Code Igniter to load CSS and Javascript with the base_url() method, but what if you have images dynamically being placed into your HTML via javascript? for example in my javascript file I've got var…
lifeiscontent
  • 593
  • 5
  • 18
0
votes
1 answer

Codeigniter - Is it possible to redefine anchor function

I have human friendly urls without index.php. I had to modify .htaccess file for that. Actually I always use Codeigniter like this. My url-s always look like this: www.example.com/controller/function/parameter So if I have an extra url parameter,…
user568021
  • 1,426
  • 5
  • 28
  • 55
0
votes
2 answers

Link helper VS typing URL

Something weird is happening and I don't know why. When I use the helper <%= link_to "New game", new_game_path %>, my new game form does not submit. But when I acesses the view typing the URL localhost:3000/games/new form works just well Any idea…
rovitulli
  • 319
  • 3
  • 8
0
votes
2 answers

Incorrect UrlHelper in models in ASP.NET MVC

I create Callback method at controller. I use Oauth authorization with social providers. When i create url for callback and send query for provider - provider are getting next url: http:// 127.0.0.1 :8080/OAuth/CallBack but this domain in this…
Y K
  • 408
  • 1
  • 5
  • 21
0
votes
2 answers

How do I include routes.url_helpers into a view renderer in rails?

I am trying to render html in my model (for Mandrill inline code) but i cant seem to get the url_helpers to render correctly questions.haml %a{:href => email_question_url(question)} model.rb view =…
Kamilski81
  • 14,409
  • 33
  • 108
  • 161
0
votes
1 answer

comments url helper - using rails - LinkBot?

K... This seems pretty straight forward, but it's not standardized, it would seem. I've only been looking for a few hours, but hopefully someone here can point me in the right direction. So, an instance of an Object has a description. Object…
Dudo
  • 4,002
  • 8
  • 32
  • 57
-1
votes
1 answer

I want to rewrite URL by .htaccess in php http://www.domain.com/door?door=french-doors to http://www.domain.com/door/french-doors

please help me rewrite URL by .htaccess http://www.domain.com/door?door=casement-doors to http://www.domain.com/door/casement-doors.
1 2 3 4 5 6 7
8