Before you ask please READ THIS

Limit " Navigate trough Works " to a specific genre

edited August 2013 in Beach Please Posts: 23
Hello again Air!

How do i limit the navigation trough works to a specific genre? i don't want to show other genres while navigating trough my expositions for example (genre: exposition). Also, when i click on the square icon, it goes to HOME page, not to my genre/Exposition/ page.

http://www.museunaif.com/exposicoes/texturas-naif/

Hope you can help me :) how many coffees you'll need?

thank you.

Comments

  • AirAir
    Posts: 10,970
    Hello:-)

    If you have more then one case to talk about then please add every case in separate topic, cause if this topic will have more then 3 answers, it will make chaos by answering to different points of first question. I believe you can imagine this :-)

    Back to questions:
    marcusvpais said: How do i limit the navigation trough works to a specific genre?
    You can't do it, as there is no way to detect by which category your works should iterate. Mainly cause each work can have many categories assigned.
    marcusvpais said: Also, when i click on the square icon, it goes to HOME page, not to my genre/Exposition/ page.
    Go to Works-> Works list page settings->Works main page and set up your works page there.

    With regards.
  • Got it. Sorry abot that.

    Let's focus on the solvable problem so.

    I want this link to go to a specific genre like http://www.museunaif.com/genre/exposicoes/ is it possible? since it's not a page, it's an url.

    If it's not possible for you to solve, i want to hardcode it, changing the phpfile and using a single URL. Can you tell me where it's located?

    then i'm going to use display:none on and other genres (CSS), to disable this navigation for specific works.

    thank you.
  • AirAir
    Posts: 10,970
    marcusvpais said:
    I want this link to go to a specific genre like http://www.museunaif.com/genre/exposicoes/ is it possible? since it's not a page, it's an url.
    I am quite lost here, cause link that you are giving me IS specific genre address. Do you have problem with adding this to menu? If yes then please see this http://apollo13.eu/docs/beach/#!/adding_works_adding_multiple_works_list_and_genres

    If not then please try explaining again. Sorry for not getting it right:-S

    With regards.
  • I want the little Square Link of the navigation on a work page to go to http://www.museunaif.com/genre/exposicoes/

    in the Works-> Works list page settings->Works main page i can only set a Page, not an URL :(
  • AirAir
    Posts: 10,970
    Just a question: if you "wish" to break default work of this square than why don't you use just works without any genre?

    Anyway to overwrite link in this square go to advance/utilities.php ~1046 and change

    else{
    $show_back_btn = false;
    }
    to:

    else{
    $show_back_btn = false;
    }


    $href = 'http://www.museunaif.com/genre/exposicoes/';
    With regards.
  • I need 3 works pages, one that shows only genre/exposicoes and other that shows genre/exposições + genre/marketing and other that shows everything.

    so i guess the only way is using genres right?

    thanks for the code, it worked :)

  • AirAir
    Posts: 10,970
    marcusvpais said: so i guess the only way is using genres right?
    As much as I understand your needs then I think YES:-)

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!