RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

Results 1 to 9 of 9
  1. #1
    Enthusiast DaTweekaz is offline
    MemberRank
    Jun 2015 Join Date
    New York, USALocation
    34Posts

    ! RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Hello,

    Can someone show me how to make {url}/staff/1 and {url}/staff/2 on IIS?


    Thanks


  2. #2
    Member RyanVS is offline
    MemberRank
    Feb 2013 Join Date
    64Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Quote Originally Posted by DaTweekaz View Post
    Hello,

    Can someone show me how to make {url}/staff/1 and {url}/staff/2 on IIS?


    Thanks

    Okay, you didn't explain what you wanted properly but im gonna assume that you want to create another staff page or something of that sort.
    I will also assume that you are using RevCms and have a proper hotel setup.

    1.) What you are trying to do is adding another page to most commonly the Community tab if your theme uses, PHP menu's then you will have to edit this in one file or other wise you will have to edit the menu HTML in all the pages which are in the community tab.

    go to Computer> C:/ Intpub( maybe the file name is not exact, i've not used webservers for a long time now) -> app -> tpl -> skins-> [THEME FOLDER] ->staff->

    Now here copy the staff page which you described as (1) and then paste and rename it to (2)[As per your description] open it and make the changes you want to.

    Then simply add a HyperLink using the <a href="location/PageName.php"> </a> to your menus so your users can find it.

    Thanks Like and Rep+
    If i helped :)

  3. #3
    Enthusiast DaTweekaz is offline
    MemberRank
    Jun 2015 Join Date
    New York, USALocation
    34Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Quote Originally Posted by RyanVS View Post
    Okay, you didn't explain what you wanted properly but im gonna assume that you want to create another staff page or something of that sort.
    I will also assume that you are using RevCms and have a proper hotel setup.

    1.) What you are trying to do is adding another page to most commonly the Community tab if your theme uses, PHP menu's then you will have to edit this in one file or other wise you will have to edit the menu HTML in all the pages which are in the community tab.

    go to Computer> C:/ Intpub( maybe the file name is not exact, i've not used webservers for a long time now) -> app -> tpl -> skins-> [THEME FOLDER] ->staff->

    Now here copy the staff page which you described as (1) and then paste and rename it to (2)[As per your description] open it and make the changes you want to.

    Then simply add a HyperLink using the <a href="location/PageName.php"> </a> to your menus so your users can find it.

    Thanks Like and Rep+
    If i helped :)
    No... Its something like this:

    I want two staff pages. A navigation inside the two pages. Eg page1 should be {url}/community/staff/owners and page2 should be {url}/community/staff/moderators

    I hope you get it now ... :)

  4. #4
    Member RyanVS is offline
    MemberRank
    Feb 2013 Join Date
    64Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Quote Originally Posted by DaTweekaz View Post
    No... Its something like this:

    I want two staff pages. A navigation inside the two pages. Eg page1 should be {url}/community/staff/owners and page2 should be {url}/community/staff/moderators

    I hope you get it now ... :)
    I did and the way to do it would be the same post your staff page and the ranks of whom you want to display in which page.

    ALERT: PASTEBIN don't reply...

  5. #5
    G'nome sayin' Exonize is offline
    MemberRank
    May 2011 Join Date
    Czech RepublicLocation
    517Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    You can do this with some simple rewrite rules.

  6. #6
    Member Janzeer is offline
    MemberRank
    Mar 2012 Join Date
    96Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Create a folder in your rootcms folder called staff and place 2 staff page as 1 and another as 2, there you go.

  7. #7
    Enthusiast DaTweekaz is offline
    MemberRank
    Jun 2015 Join Date
    New York, USALocation
    34Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Quote Originally Posted by Exonize View Post
    You can do this with some simple rewrite rules.
    Code:
        <rule name="Imported Rule 15">
          <match url="^(shop/vip)$" ignoreCase="false" />
          <action type="Rewrite" url="vip" />
        </rule>
    Not working on IIS

  8. #8
    Enthusiast Zutery is offline
    MemberRank
    Jul 2012 Join Date
    RaGEZONELocation
    32Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Look at the code you're rewriting VIP to be {url}/shop/vip. Of course this won't effect your staff page. A simple edit will probably fix this:
    Code:
        <rule name="Imported Rule 15">
          <match url="^(staff/owner)$" ignoreCase="false" />
          <action type="Rewrite" url="owner" />
        </rule>
    I don't really know IIS or web.config/url rewrite too well... But that should be the edited version of the code, or something along those lines.

    P.S. Where it says
    Code:
    <action type="Rewrite" url="owner" />
    I'm pretty sure that is the php file in your theme's folder.

    Hope this helps.

  9. #9
    Enthusiast DaTweekaz is offline
    MemberRank
    Jun 2015 Join Date
    New York, USALocation
    34Posts

    Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?

    Quote Originally Posted by Zutery View Post
    Look at the code you're rewriting VIP to be {url}/shop/vip. Of course this won't effect your staff page. A simple edit will probably fix this:
    Code:
        <rule name="Imported Rule 15">
          <match url="^(staff/owner)$" ignoreCase="false" />
          <action type="Rewrite" url="owner" />
        </rule>
    I don't really know IIS or web.config/url rewrite too well... But that should be the edited version of the code, or something along those lines.

    P.S. Where it says
    Code:
    <action type="Rewrite" url="owner" />
    I'm pretty sure that is the php file in your theme's folder.

    Hope this helps.
    Still not working... Any nother idea?



Advertisement