2

My view path is: bartender/profiles/friends/%

In View UI if I provide argument everything works ok.

But in real when I go to ex. site.com/bartender/profiles/friends/20 I get a page from site.com/bartender url.

Could somebody help me solve this issue?

5
  • Permissions on the View maybe ... ? In the View UI, check Page Settings > Access ... ? Or Block Settings, if that is what you are using.
    – KM.
    Jun 13 '11 at 12:45
  • What defines the "/bartender" path? Is it another view?
    – ericduran
    Jun 16 '11 at 1:49
  • Some additional details about the view and the expected content would help. Do you have any relationships defined? Any access control modules installed? Is the issue still present when logged in as superadmin(uid 1)? What are the settings for the argument? What happens when you set the argument to return a summary if nothing is provided?
    – codexmas
    Jun 16 '11 at 3:49
  • bartender is static page. In page display I have no relantionships. There is no argument for page display. I try to add menu item for this page but still with no luck. Issue for super admin is the same.
    – Codium
    Jun 16 '11 at 10:57
  • I try something like cocktails/ricerca?page=2 to force display views page but no success again. cocktails/ricerca is my another views page, but I see again cocktails pahe instead
    – Codium
    Jun 16 '11 at 11:10
5

Drupal menu system strictly follow the menu paths.

According to my experience you do not need to add % sign while defining path.

Define your argument by adding an entry from Views UI (Argument Section)

Provide default argument to deal the scenario without page argument

Access is by default unrestricted. Check is as well


Drupal menu system travels from bottom to top.

e.g. path a/b/c/d is not valid then the content is showed from a/b/c similarly the process goes upward.

Your example is evident that your views is no receiving arguments and bartender/profiles/friends and bartender/profiles are invalid paths.

4
  • I check access and remove % from path. I still have the same issue :/
    – Codium
    Jun 13 '11 at 20:42
  • Now I create another views page. Path is bartender/leaders and again I see /bartender page content only
    – Codium
    Jun 15 '11 at 20:29
  • Might there be prefix slash in your views URL via the UI?
    – doublejosh
    Jun 15 '11 at 22:02
  • I create another views page cocktails/ricerca, and again it show cocktails static page :/
    – Codium
    Jun 16 '11 at 10:57
3

The Sub-path URL Aliasing module causing problem. After turn off all works fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.