Custom Wordpress Theme showing jumbled mess in navigation - sql

I installed a new Wordpress template I coded onto a company's server. However, when I went to preview it before activating, it looked totally wrong (the navigation had all these different words in there from another page opposed to the navigation links I programmed in). I deleted the old SQL database and added my own- what could be causing this? Thanks for any advice.
The site SHOULD look like: www.kleanir.com
But instead looks like this

Related

Vue navigation between two different apps/domains

I have a Vue 2 app that I'm working on and it kind of works like a search engine - I have a search bar where I can look up any term and when the search runs, results containing that specific term will be displayed.
Now, every result behaves like a link - if I click on it, I will be redirected to a totally different app, which is made in Angular (not sure if this is relevant, I guess you could think only that I navigate to a whole different domain and leave my Vue app).
The issue is that if I click the "back" button in my browser, I will not have the results that I left from, because once I leave my Vue app, its data is deleted.
I was thinking of storing the url containing the search term in local storage and get it when I open the Vue app again, but I don't think this is an option, as it would also behave like this if I refresh the page - moment when I want to have no search query at all.
Please ask for any clarifications needed.
Any suggestions on what could be done are appreciated.

Create a new Navigation and add it to the left navigation bar in SharePoint 2010

In my company we try to make a Parent Child Navigation of a flat site collection(in SharePoint 2010). Meaning we just want to add new pages to the site collection instead of creating new site collections. We do this so we can easily reach all the documents at one place with different information on the other pages.
I would love to post an image on how I would like to have it but I haven't got enough of points to do that.
We know that we have to override the left Navigation bar but then we are lost. Do you know how we could solve this?
You can customise the navigation for the quick launch using SPNavigationNodeCollection and look at this MSDN article on customising navigation and associated providers (it's too much info to copy to an answer)
This Link was one part of my answer. It shows how you solve my problem in SP designer for SP 2007 and whit some small thinking of your own you will solve the small differences that you will fined in SharePoint Designer.

Alfresco Share site's dashlet for document library

I was wondering whether exists any dashlet which allows you to explore a site's document library. As far as I know doesn't exist such dashlet out of the box, there only exists the "Site Content" dashlet but it is slightly limited.
I have been searching around and "googling" and I found these useful resources that could be useful as a starting point if I had to create my own:
http://ecmarchitect.com/archives/2012/05/08/1592
http://code.google.com/p/fme-alfresco-extensions/wiki/GalleryPlusDashlet2
Do somebody know more dashlets/resources targeting this issue? Any suggestion?
As a temporary solution, I'm also thinking in the possibility of taking advantage of the "Web View" dashlet, by configuring in it such URL that retrieves the documentlist region/component in the documentlibrary page. For example:, share/page/components/documentlibrary/documentlist or share/page/site/{site}/documentlibrary?region=documentlist. Maybe it is crazy or what I'm saying doesn't make any sense, but it is just an idea.
Another idea that have just came to my mind is the option of creating a custom Surf/Share page which includes the component/webscript that implements the explorer of the document library, specifically the documentlist component. Then configure the "Web View" dashlet giving the URL that points to the custom page created. Would it make sense?
Thanks in advance.
You are going to see a couple of site visualization and navigation dashlets on Alfresco Visualization Tools available on https://github.com/bhagyas/alfresco-visualization-tools. The project is still at it's initial phase, but you will find interesting snippets of code used to retrieve the document library content trees within the dashlets.
The project was presented by me at Alfresco DevCon in Berlin just a week ago to bring interactive navigation and content analytics. If interested, you can find the slides at the lightening talk slides in the DevCon 2012 site at Alfresco.
Cheers! =)
Hi I've done exactly the same, it was not really needed for a Dashlet but for to embed the documentlibrary of a site in an iframe for another site.
So what I did was indeed create a new page template embedded-documentlibrary.
I've copied first the following files and renamed them:
site-data/pages/documentlibrary.xml
site-data/template-instances/documentlibrary.xml
site-webscripts/org/alfresco/documentlibrary.ftl
If you rename file 3 or put it in another folder, you need to check the paths in file 1 & 2.
So to make only the documentlibrary appear instead of everyting I just removed everything in file 3 within the <div id="alf-hd"> tag.
If you remove the tag, the document-tree will also be removed and it gave some javascript errors. This should be fixed in the latest version, but haven't tied that.
So it's extremely easy to create your own page and instead of navigating to site/documentlibrary you just navigate to site/embedded-documentlibrary or your own name you've chosen.
And yes then you'll need to use the web-view Dashlet to show it.
The only thing you need to know is, that the links open within the iframe. So if you use the web-view Dashlet, you need to open the links in a new window.
For my situation I needed an iframe, in your case you could also just let the freemarker from your Dashlet render the components needed.
There is a document-liberary-display dashlet available in the alfresco add-on list which can be used to show all the documents from document-library on site-dashlet.
http://addons.alfresco.com/addons/document-library-display-dashlet

Sharepoint document library folders

I've got a problem "browsing" folders in my Sharepoint 2010 document library.
In my opinion there are two ways of accessing folders, but I can't see the difference.
1) http://hostname/doclib/fodler/subfolder/secondsubfolder
and
2) http://hostname/doclib/Forms/AllItems.aspx?RootFolder=%2Ffolder%2Fsubfolder%2Fsecondsubfolder&FolderCTID=0x012000C77CAA95BDB1F64190861DEBBE604440&View={03FE35CE-2568-4C17-89E1-95793E6BE73B}
Both work great as long as I'm making no changes to AllItems.aspx, but I got a problem when customizing my AllItems.aspx. My DocLib is loosing it's view in the settings and I'm getting " The webpage cannot be found " in option 1). Probably the problem is the custom page itself or the view, but I can't see the exact problem.
What I want to do is: Display a custom webpart-page instead of the commom AllItems.aspx, but access it exactly the way sharepoint does with AllItems.aspx. Option 2) might work but needs to access the exact folder and view by guid right? So it's not quite easy to achive this dynamically.
What I tried: I Replaced the complete sourcecode of AllItems.aspx with the sourcecode of my custom webpart page.
Has anybody an idea, how I could solve this?
Thanks in advance
Stefan
The AllItems.aspx is just a web part page and can be edited as such. Just add/remove the web parts from there and keep the page in place.
I've often customised the column layouts by adding a JS webpart above the WP that outputs the list items in the AllItems (and other views).

How do I switch the theme used on a Sitefinity based website?

We have a Sitefinity 3.2 site in production and the users want a whole new look and feel. Upgrading is not an option.
I have created new templates for them but they will need to go into the site and create all new pages using the new templates. This is a problem because they want the current site to remain unchanged until they are done - then they want to instantly switch over.
One problem that I see already is that pages will not show up in the menu control until they are published.
I am very new to Sitefinity. Is there a standard practice for doing this?
You don't need to re-create all of the pages to change the look and feel; simply change the template assigned.
This video shows how to work with themes and templates.
I'd think that changing the theme of all the templates late at night should be "instantly" enough for most people. :)