How to change Target link of menu in OpenCart - menu

I am beginner in OpenCart and customizing a theme, I want to change the target link of site Menu, for example If a blow Image is my menu:
I want to change target link of Bedroom menu to #cmsblock-22, I search in CMS panel of OpenCart but nothing found, could any one help me to change this link, Thanks.

Assuming that "Living Room", "Dinning Room" & "Bedroom" all are categories which listed on menu as shown in image.
You can change link of this by simply going to admin > catalog > category > edit category (which link you want to change) > click on data tab > scroll down to SEO URL input field and fill the input with "#cmsblock-22".
Above will work only if you have seo url enabled in admin settings. So, please make sure that you have enabled this setting.
If not,
Go to admin > system > setting > click edit > click server tab > check yes in front of Use SEO URLs.

You can simply change it from admin panel
In admin panel, go to Catalog->Category
Find for Bedroom and edit it.
Hopes this might help you

Related

Sharepoint search query to only show Site Pages (or a new Wiki library)

I've got a new SharePoint Teams site that I'll be building out as a knowledge repository. We'll be creating articles in the "Site Pages" area, though happy to use a new Wiki Page Library if that makes it easier.
I'm trying to amend the Search Query used in the "All" vertical, so that it shows only results from the Site Pages. To test this, I've created a word document in the documents section and named it "Apples WORD.docx" and a Wiki page called "Apples WIKI". When I search for "Apples", I should only see "Apples WIKI" in my results.
I can't seem to figure out the query required to achieve this.
Thanks in advance.
So I've got this working now.
First I renamed an existing managed property by doing the following.
Go to the Site Settings, then Under the 'Site Collection Administration' go to "Search Schema".
Find an available RefinableStringXX managed property; edit it and give it an Alias. Add a mapping to "ContentTypeID".
Back out to the Site Settings then under 'Web Designer Galleries' click on "Site content types".
Find "Wiki Pages" and click on it to find the Content Type ID (which was 0x010108).
Back out to the Site Settings then under 'Microsoft Search', click on "Configure Search Settings".
Click on Verticals, then double click on the vertical that you want to edit. Click the Edit button at the bottom of the page.
Click on 'Query' and enter the text "ContentTypeID:0x010108*"
Save the vertical.
By editing the "All" vertical, the default 'current site' search from the site's homepage now only shows Wiki Page articles.
Maybe you could try adding the search vertical to the search navigation web part to set up a search page for displaying Site Pages.
Reference:Change settings for the Search Navigation Web Part

Orchard CMS - limiting pages to only a specific layer - how?

Silly really - but I just can't seem to find my way around this just yet....
I installed the Orchard CMS in Azure - worked like a charm, added a few pages, played around, watched the Pluralsight "Orchard Fundamentals" course - seemed to make a lot of sense.
But now I'm stuck - I'm trying to create a public facing site, where some of the pages should be visible to any visitor including anonymous users, and some of course should be visible to only authenticated users.
OK, so I understand those are layers in play - default for everyone, authenticated for authenticated users - great. But how do I limit a given page which is present as Content in my dashboard so that it'll be displayed only on a given layer (e.g. only on the authenticated layer - not the default layer for everyone)
Seems like a simple task - but I just cannot seem to find the way to do it (nor does any of the docs or tutorial videos really help :-( )
Any takers?
Layers are only for widgets. In order to restrict access to a content item such as a page, what you need is content item permissions. That's a separate feature that is not enabled by default.
To enabled the Content Item Permissions module
In the admin panel go to Modules
Start typing permissions into the filter box at the top left hand corner of the tabs.
The Content Item Permissions should be shown in the list, click Enable in the top right hand corner of its box
This will reload the page and you should see a message at the top saying Content Item Permissions was enabled
Enabling this feature with your pages
Orchard CMS uses a concept where you can glue components together however you want them to be composed in order for them to support the features you want. The concept of a page is just a collection of parts like a page title, a url, text, setting a publish date and things like that.
By default simply enabling the module doesn't make any difference. You will need to add the feature to the Page content. To do this you just need to:
In the admin panel go to Content Definition
Find / filter the Page content type and click Edit on the right hand side
Scroll down to Parts and click Add Parts
Search for Content Permissions in the list, tick the checkbox and press Save at the bottom of the page
You will be taken back to the Page content definition screen. At the bottom of the Parts list you will now see a Content Permissions entry. If you want to set up defaults for new pages click the little > arrow to the left of the header and a panel will expand.
If you want to add it to other content types such as blog posts then you can repeat this process and add it to any content type you want to.
Making an individual page password protected
Now that the feature is enabled and attached to your Page content type you can create a new private page by following these steps:
In the admin panel click New > Page in the sidebar
Give the page some basic content
Scroll down close to the end of the page and tick the checkbox labelled Enable Content Item access control
Let's say you want to make it so anon uses cannot see the page. Under the View this item section just tick all of the roles except for Anonymous (the second one in the list)
Publish the page
Open up a new incognito / in-private browser tab (so the site thinks you aren't logged in) and visit the new page you just published.
You will be redirected to an error screen similar to this page:
You will want to enable the Content Item Permissions feature in order to restrict individual content items to certain permissions. With layers you can only make widgets appear in different zones defined in your theme when the layer's rules are met.
To enable the Content Item Permissions feature, go to your admin dashboard and click on "Modules" on the left hand side. On the modules page enter "Content Item Permissions" in the filter text box to help find the feature. Click on the enable button of the feature in the top right corner. The feature will now be enabled.
Now that you have the feature enabled, you need to add the Content Permissions part to one of your content definitions. To do this click on "Content Definition" on the left hand side of the admin dashboard. Find the content type you want to add permissions to (for instance, Page) and click the edit button. Click the Add Parts button. You will see a list of parts you can add to the content type. Check the checkbox next to Content Permissions and click save.
Next, in the admin dashboard go to one of your content items that is of the content type that you just added the content permissions part to. You will see a new checkbox towards the bottom to enable content item access control. Click the checkbox and you will be able to set the different roles for that content item.
Edit: It looks like it took me too long to write my response. rtpHarry's editted answer is very similar but better formatted.

Content administer page

Is it possible on the content page to publish pages with checkbox, instead of the update options on the top, is there a module, or something to be configurated?
My main goal would be to change in the edit of a page the cck fields settings by taxomony but it doesn't look possible. So instead I'm making different pages to point on a same url.
So every week I can't change a specific url content by publishing and unpublishing pages. But with the update options you have to select one then choose publish and then update, after that choose another page by clicking his checkbox, choose unpublish and then update, is there an easier way.
Thank you.
I believe you are looking for the manager module
http://drupal.org/project/manager
Here is a screenshot of what it does:

How to add subpages in Orchard CMS

I added a new page in the main menu, e.g. Products. Now I want to add a subpage e.g. Sub Products below a Products page. I tried all possible options in the dashboard but it didn't work for me. Any ideas how to handle this?
Thanks.
here is a quick solution for this
Go to your dash board -->Gallery -->Modules
search for Hierarchical menu and install it
after installing then go to Configuration -->Features and enable it.
Go go to Navigation .give position like 2 for "Products" and 2.1 for "Sub products".
you will see Sub products appear under Products page.
As of Orchard CMS 1.5 this is supported by the core navigation module. Now you can simply drag and drop menu items under one another in the Admin -> Navigation view. You can then control level rendering under the widget settings for the menu by setting the "Start level" and "Levels to display" properties.
See release notes for further details.
The navigation documentation doesn't seem to be up to date though :(
Take a look at: http://orchard.codeplex.com/Thread/View.aspx?ThreadId=242327
The module to support this (along with many other modules) is available in Orchard's module gallery.

SharePoint: Site Layouts

Hi I was wondering which Layout I could use to get the search box in the top right hand corner. I used (Welcome Page) Blank Web Part Page) as the page layout but its missing the search box in the top right corner.
Also another question: How can I add my own layouts to the list in the Create Page, page. Thank you.
The search box is defined in your master page. Ususally default.master, it would not matter which layout you choose the elements defined in the master page will still be in the same place. In your case it would appear that the search box does not exist on your master and would need to be added in again.
You would need to amend the master page for your site and add the appropriate SP control for search into the appropriate place on your page. This will ensure that a SP search box is rendered in that location for every page.
To define your own page layout have a look at Link 1 and Link 2.
As for the search box, it is defined as part of the Site Template. Try creating a Site using the Collaboration Site template.

Resources