Sharepoint layout for a client - javascript

I need some help with this project.
How can I relocate the search bar and replace the quick link with a document link?
level 1
level 2
level 3
I searched for information on videos and websites but found nothing.

Related

Search box to search another site

I've been tasked to replicate the search on http://www.hefce.ac.uk/postcode/
in one of our sites and wondered if it's possible to do this by having a search box in our site and every time a user clicks it will pull the results from the HEFCE site and display on ours, or to simply redirect to the HEFCE site with results?
Many thanks!
Well, the easiest thing you can do is just use Google CSE and embed it in your site. It's an easy tool where you can just insert the path of the HEFCE site, and it creates the search engine you need.

Using google analytics API - The 'Getting Started' tutorial

So I'm all new to using Google API's, so bear with me :)
I've started with the tutorial for getting started with google embed analytics API, at this link: https://developers.google.com/analytics/devguides/reporting/embed/v1/getting-started
Just for notice, I'm working in PHP.
By following the tutorial, I've made it possible to sign in to the google account, and my page displays the logged in google account, and displays 3 dropdown menus, 1 for 'account', 1 for 'property' and 1 for 'view'.
Now when I look at the tutorial site, you have the option to select entities from these drop downs, and furthermore theres a graph displayed below.
Image from tutorial site: https://developers.google.com/analytics/images/embed-api-screenshot.png
However, In my case, I have my logged in account displayed, but my 3 drop down menus are empty, meaning I cant select anything(In the tutorial a 'store' is selected), and furthermore, I have no graph/chart displayed below.
My app looks like this:
I'm guessing that I need to set these things up in my google dashboard somehow, but I'm not sure as to how I should go about this? If anyone knows what I'm doing wrong, it would be greatly appreciated! :)
Eike was completely correct - I needed to setup a GA account, and register a website. GA had some info that I followed, which included putting a certain script on my website, to allow tracking of my site.
I Now have a working implementation, so thanks to Eike! :)

Hiding Link In SharePoint Quicklaunch Based On Permissions

I am trying to figure out a way to hide a specific link from the Quicklaunch navigation bar on one of my sites in SharePoint 2013 and am having some trouble. Basically I am trying to make it so that a link is only visible to users within a specific group and any other users that are not part of this group will not see the Quicklaunch link. I have been reading up on how to implement this via css and javascript within the default master page but do not seem to be having any luck. I was using SPServices to get the group membership for the currently logged in user and based on there membership either hiding or showing the specific Quicklaunch item. I implemented this code into the master page and I though I had it working, however upon navigating to a different page, list, or library within the site the given link reappears. I do not know if I am doing something wrong but as a last resort I have come here for answers. If anyone could point me in the right direction I would greatly appreciate it.
Bellow is a screenshot to get a better understanding of what it is I am trying to do...
Security trimming should be automatic for the quick launch. Users not being able to see the list, should not see the quicklaunch entry. One thing i experienced in the past is that the security trimming does not work if your quick launch URL looks like this
https://url/sites/sc/Lists/internallistname
but will work if you include the aspx-page
https://url/sites/sc/Lists/internallistname/AllItems.aspx
Don't know about foundation but it's worth a try...

How should I render a widget with many links inside a blog so google don't penalize the blog?

We run a service (will not mention the URL, as this is not a pitch) and need advice on Google-viewing-links matters.
The service is for bloggers and allows them to create a "linkup" inside their blog post.
The linkup is like a mini pinterest inside their own blog where other users can add images/links/blogposts.
The widget that creates this linkup is a javascript snippet that does a remote call to our server. The response of the server is rendered inside the user's blog.
Now, the widget contains quite a few links. And we have set all links as nofollow so they don't look spammy in the eyes of google.
Going to google webmaster tools, I can see that the crawler can easily render the links even if they come from javascript.
So my question is: Is it better to
completely hide the widget from google
just leave it as it is, renderable with nofollow on the links
remove the links and create them only when someone clicks on them?
any other suggestion is appreciated!
Hiding of content including links can be considered as cloaking. If links are present on page there is no need to hide them.

real-time html links on github pages?

Is there a way you could render links as a streaming data input w/ css/html or js?
Ex: say you have 10 github repos. and you want them all to appear on your webpage in a dropdown(as a series of links). Then user deletes one so only 9 should appear. Is there a name for this or is this possible? *assuming this is being done with github pages.

Categories

Resources