Want to remove a link, please help me.

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Want to remove a link, please help me.

Arzulu Studios
Hi there Nabble!

I finally got my Blog & Forum connected, I put these on different pages on my site, but there's a little link at the top that brings any user who clicks on it to a page where the blog and forum are listed in a basic forum type menu. This is not a huge issue, but I'd like to remove JUST that single link at the top left, and not the other links that appear up there as you go deeper into the forums and blog.

You helped me remove the topic's view, so I figure this can't be much harder. I'd like specific instructions, as last time, I had to fill in some minor blanks.

Thanks!!! YOUR TOOLS ROCK!
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

GregChapman
The trouble with your plan is that if you remove the "home" link from the breadcrumb menu then you'll lose control of your forum as some necessary settings only appear on the Options menu that appears on that page.

You need to start by making sure you have the forum "home" page embedded in an unlinked page on your site, so at least you can access it if you know the correct URL.

I'll leave the details of the macro to edit to others as I'm no expert on NAML.

Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Arzulu Studios
O, thanks! I'll get to that.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Arzulu Studios
Hello, I still need to know how to remove the link... please?
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Mencey Melgar
Could you give the url where you want this please?
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Arzulu Studios
Uh... What do you mean exactly?

The link url?
It's http://links.1095360.n5.nabble.com/;cid=1371334297328-632
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Mencey Melgar
So I understand you want to delete the "Link" at the top left no? but keep the other ones?
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Pedro
In reply to this post by Arzulu Studios
Please, edit yout node_breadcrumbs macro like this:
<override_macro name="node_breadcrumbs" requires="node">
	<n.if.is_in_app>
		<then>
			<n.get_app_node.>
				<n.ancestors_list. order="reverse">
					<n.loop.>
						<n.if.not.current_node.equals.root_node>
							<then>
								<n.current_node.node_link/><span> &rsaquo; </span>
							</then>                            
						</n.if.not.current_node.equals.root_node>                 
					</n.loop.>
				</n.ancestors_list.>
				<n.node_link/>
			</n.get_app_node.>
		</then>
	</n.if.is_in_app>
</override_macro> 
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Arzulu Studios
Thanks! You're a lifesaver!!!!!
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

GregChapman
This post was updated on .
In reply to this post by Pedro
Hi Pedro,

I've discovered a couple of issues when using your macro.

I've deployed it on a forum of mine. It works fine for new visitors coming to a page with an embedded sub-forum and after logging in - but...

1. On logging in or f you log out you get sent to a login page with the breadcrumb menu showing the root level forum. From there you can get to the parent page. I would like this to be permanently invisible to ordinary users.

Is it possible to detect the sub-forum from which the login page is accessed and ensure that the breadcrumb menu shows only this on the login page - not the root forum? (That way I can keep my blog and forum completely separate on my site, but still have the benefit of a single login for access to either while visiting my site.)

What macro do I need to edit and what code do I need to insert?

2. It seems that Smart Application Pages has stopped working. Visitors can see sub-forums that should be hidden from them. Whether this is related to this change or something else I haven't yet determined - but it seems likely that it's because I have now moved a sub-forum I want hidden to a lower level where I don't have the option to turn on Smart Application Pages - as at the root level it's still working.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

GregChapman
Making Practical use of this macro is proving more difficult than I thought...

My forum which has the following structure:
Root Forum (Mixed)
  |
  + Level 2 Sub-Forum (Mixed)
  |    |
  |    + Level 3 Sub-Forum (Forum)
  |
  + Level 2 Sub-Forum (Newspaper)
While topics and sub-forums wheel-clicked (i.e. made to launch in a new tab) from the Mixed and Forum applications appear to redirect as expected, when topics are wheel-clicked from the Newspaper they are not re-directed.

These problems are on top of the failure of Smart Application pages in Level 2 applications reported in my earlier post.

(I am not clear if these failures are the result of changing the parent of some of the applications - when you lose access to the Embedding Options and Smart Application pages, menu options - or whether the same bugs would appear had the applications been created originally in these locations!)
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Pedro
In reply to this post by GregChapman
The best thing to do in his case, if he want two subapps such independents, it would be create two different apps.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

GregChapman
Ah! This isn't a "he wants" any more but an "I want". :-)

I'm embedding the Level 2 "Newspaper" on one page and the Level 2 "Mixed" on another. Both of these pages show on the site's main menu (as and "Blog" and "Forum" respectively) and each page has wording that makes statements about the relevant application. (In addition, the Level 3 Forum is a private area only viewable by "Members" and not just "Registered" users.)

It will be very confusing for users if they can navigate from forum to blog within the one page. So while the macro override you provide does the job specified, it's not really the solution to the intended problem.

I guess what really should have been asked for is a way to provide independent applications that can nevertheless have common registration and users. You don't really want users of a site to have to register/login anew each time they switch pages.

Am I forgetting something, or not thinking laterally, or is the only solution to this is to have registration system that is external to Nabble?
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

Pedro
GregChapman wrote
I guess what really should have been asked for is a way to provide independent applications that can nevertheless have common registration and users. You don't really want users of a site to have to register/login anew each time they switch pages.
That is the point. I just made something simple to solve that "link" problem, then I realised it could be a useful feature.
I will discuss with Hugo in order to make it a real feature.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

GregChapman
Pedro <Nabble> wrote
I will discuss with Hugo in order to make it a real feature.
Many thanks. It would be much appreciated by me - and others, I'm sure!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
Reply | Threaded
Open this post in threaded view
|

Re: Want to remove a link, please help me.

GregChapman
Hi Pedro,

I see that you have done some work on the issues mentioned earlier in this topic. Many thanks.

With your macro installed, I do lose the link to the root/home application as originally requested.

I also find that Redirects are now working as they should.  (A few days ago you would break out of my site when using a wheel-click to open a forum link in a new tab.)

That leaves two issues.

• When logging out you get sent to a "You logged out" screen with a link to  the root/home application at the top left. Is it possible to set a cookie and use it so that link always shows a link to the application from which you logged out - thus keeping the root application invisible to the ordinary user.

• Smart Application pages remains "broken" for my Level 3 Sub-forum in this structure:

Root Forum (Mixed)
  |
  + Level 2 Sub-Forum (Mixed)
  |    |
  |    + Level 3 Sub-Forum (Forum)
  |
  + Level 2 Sub-Forum (Newspaper)

Users see the "Shareholders Area" when accessing the Level 2 Mixed application, and are presented with the "Authorized Users Only - Access Request" screen, when I would want them not even to be aware that such an area exists.

The level 2 applications are embedded at:
http://www.rustonreaches.plus.com/forum.html
and
http://www.rustonreaches.plus.com/blog.html
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.