Hi guys, this mod is great, is there anyway I could move the Watched Forum from the main menu to the Member Menu instead:
Rightclick the link on the top navbar, select Copy Link Location.
Paste the link in a document for now.
In admincp go to Appearances/ Templates
In the search box put "visitor"
Open the "navigation_visitor_tab" template.
Click in the template at the top/ Use Find (CTRL+F) to find "watched."
You will see a paragraph of code with this line in it for watched threads:
Rich (BB code):
<li><a href="{xen:link watched/threads}">{xen:phrase watched_threads}</a></li>
Use Return on the keyboard twice underneath that line to create workspace.
Copy and paste it in as a duplicate. That give you the code structure for your new link.
Change it to the link you want.
1. First put in COMMENT so you can esily find this again later if you need to change it or use it elsewhere.
<xen:comment>INSERT WATCHED FORUMS<</xen:comment>
Copy /paste this blue line of comment and then add your new line of code below it. I also suggest putting this and anything additional right over on the left to make it easier to find again.
2. The URL link. I don't know the link that this addon uses for "watched forums" on the navbar (you copied it earlier).
Simplest is replace {xen:link watched/threads} completely with the URL link you have.
3. The label - this is the text you see on the frontend to click.
Simplest is to replace
{xenhrase watched_threads} with
watched forums.
4. Click
Save all Changes button at the bottom.
4. TEST. Go to the frontend public page,
Refresh, and open the dropdown under your name. You should see your link there so you can click to test it.
If you like make your link the elegant way - but do the simple way first if you are inexperienced at tweaking templates.
LABEL - create a new phrase - surprisingly easy. You can do this even if you can't get the xen:link part to work the elegant way.
Copy and paste the URL of the admincp page into a new tab so you have a second admincp page - this is bev=cause we want the page template you were editing again so we keep it ready.
In the second admincp page click Phrases on the right.
Click button top right
Create New Phrase.
In the title box put
watched_forums
In the Phrase Text put
Watched Forums
(Title is the code to go in the template. Phrase Text is what you will see on the frontend.)
Click Save Phrase.
Now return to the other admincp page and your
navigation_visitor_tab template.
At the end of your line of code you can now put
{xenhrase watched_forums}
Your copied link probably has "
/watched/forums" on the end of it or something very similar. You can replace
{xen:link watched/threads} in the line of code with
{xen:link watched/forums} or whatever was on the end of your link. Careful to keep / slashes the same, and do not disturb the "quotes."
Click
Save all Changes button at the bottom. Text to see if it works.
LINK Your copied link probably has "
/watched/forums" on the end of it or something very similar.
You can replace
{xen:link watched/threads} in the line of code with
{xen:link watched/forums} or whatever was on the end of your link. Careful to keep / slashes the same, don't make a double slash! and do not disturb the "quotes."
Click
Save all Changes button at the bottom. Test to see if it works. If it doesn't you can play with it a bit, and/or ask for help here - ask what to use in a
xen:link Meanwhile you can always use the full URL.