I am using pathauto module. I have saved the pattern "Pattern for all Basic page paths" as content/[node:title], however, I see that the basic page links from the header navigation open as http://localhost/drupal71/node/2 or http://localhost/drupal71/node/4 etc. I am using WAMP and the 'url rewriting' is checked. Should I edit the ".htaccess" file for this?
I forgot to add "URL Path Settings" of the basic pages. Please check the attached scree shot.
Related
Good Morning.
I'm working on a website built with drupal 7 made by another person.
I'm trying to change the url of a page where there is a webform. If i do it, the page is still there with the new url, but the webform disappears. How can I avoid that?
Thanks
That webform probably was set as block to be displayed on certain page URLs only.
You can check in the block section (admin/structure/block), if that webform exist, click configure and see the "Visibility settings" at the bottom. You can change the restricted URL in that settings to "node/[nid]" format instead of the friendly URL so it will still work if you change the URL again in the future.
i am using joomla and I want to remove the four link tabs that reffers to googleplus twitter and facebook and news feeds . they are on top of the home page . how can I do that .
Those are added by your template. Check your template's configuration (from your backend), it most likely will have an option for you to disable it. If not, check your template's files (located in /templates/
I have checked my plugins but I could not find anything useful . I am using the pronostar template . it has no useful option to remove this . I have found my template files but I do not know wich file I should change.
1) It could be a module. Then you should go to Extensions > Module Manager under Administrative Panel and turn off the module with Social icons. It could be named arbitrarily, but you could find it by position.
For Joomla 3, positions are drawn here.
2) It could be configured in the template. Then, go to Extensions > Templates > Styles > Protostar and open it by clicking the template name.
I have the following settings with my (other) template:
]
We have our own custom DotNetNuke 7 skin based on Bootstrap 3. It includes a navbar in which I want to have a navbar-brand that links to the home page.
Is it possible to generate a link to the portal home page inside a skin?
On the documentation page I found a link to the Skin Objects Guide (pdf) suggesting [Portal:url], which I tried like this:
Home
Not surprisingly this doesn't work (the pdf is from 2009). The other links from the wiki are either dead or useless.
I've also tried looking through the "Gravity" and "Aphelia" skins that come with DotNetNuke, but nowhere do the ascx files seem to link to the portal home page.
Obviously I've also tried GoogleFu in various forms, e.g. "DotNetNuke skin create link to home page", but this leads nowhere.
Anyone know how to do this? Or much preferred even: where I could've found this- and related info? Or am I doomed to dive into the source code of DNN?
It's dangerous to go alone. Take this:
Home
NavigateUrl is your goto method to handle referencing another part of your portal. It goes through url rewriting so it will be consistent with the rest of your urls.
There a plenty of signature overloads for this function, where you can specify keys, controlkey, settings, etc. Have a look at the DotNetNuke.Common.Globals class for more info.
Note that if you use the abovementioned version, you'll need to have a "Home" page set for your portal under admin > site settings.
In DNN 7 it would be best to do this:
<%=DotNetNuke.Common.Globals.NavigateURL(PortalController.Instance.GetCurrentPortalSettings().HomeTabId) %>
Note the extra Instance. in there. The variant PortalController.GetCurrentPortalSettings() is obsolete.
I had an link in my DNN site Menu - pointing to aspx page of my installed module.
I replaced this link with an external link.
And now i wish to change back to old one - aspx from module. BUT am not getting that listed in the dropdown
How to get that back or I missed anything ? I could found the module still in that EXTENSIONS.
Please suggest
Rigin
I think you may be a little confused,
Modules are placed on pages, (One or mor module generally makes up a page.
Menu links refer to pages,
To add a module to a menu it must be on a page.
Once you have placed you module on a page you can select it from the select a web page drop down
A dnn module got 2 pages a view page and a settings page. So you must be sure that your module start's with the correct page.
So what you want is not possible the way you want it.
Best way for you is to control the page in your module. You can control this with for example a user controls(ascx). See image for a default module view.
How we can change text and wording of "Terms of Use" and "Privacy Statement" pages in Dot Net Nuke from admin?
Those texts are part of the resources files.
Go to menu "Admin > Languages" and click for edit its content for the site or the host.
Keep on the edition of the "GlobalResources" file.
Search for "MESSAGE_PORTAL_PRIVACY.Text" and "MESSAGE_PORTAL_TERMS.Text" and modify them.
If you modify the system version, a future upgrade of your DNN installation could overwrite your customization.
Host mode will impact all websites on the instance.
Site mode will impact only the current website.
I know this is old, but it might still help someone:
Tested with DNN 08.00.04 there are different methods to get a custom terms page without editing the language files (which feels a bit cumbersome)
To have your own /terms page you just create named "terms" in the navigation root.
DNN will show up your newly created page if you browse yoursite.com/terms
You can also redirect to another page from there (create a "link" page instead of "content" page, this in case you want to call your page AGB and have this in the url (yoursite.com/agb)
If you have https://dnnurlmanagement.codeplex.com/ installed you can simplifiy the steps above with just adding a "custom page URL" 301 redirect rule with "/terms" to any page you want to show up as /terms.
Go to site admin section here Admin -> Language -> edit host -> find your required field "Terms of use" and "Privacy". you can change here or edit it.