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
Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?
Quote:
Originally Posted by
DaTweekaz
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 :)
Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?
Quote:
Originally Posted by
RyanVS
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 ... :)
Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?
Quote:
Originally Posted by
DaTweekaz
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...
Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?
You can do this with some simple rewrite rules.
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.
Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?
Quote:
Originally Posted by
Exonize
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
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.
Re: RevCMS - IIS - Make {url}/staff/1 and {url}/staff/2 ?
Quote:
Originally Posted by
Zutery
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?