How to set frontpage content on Drupal site with MAMP? - reactjs

I have an existing site that uses Drupal. I am using MAMP and the document root points to the web folder where the page to be displayed is located. When I go to "my website" from the MAMP web start page I get a generic Drupal page that says no front page content has been created but I am expecting the my site to be served. How do I get my site to display instead of this message?

"no front page content has been created" is the standard drupal front page message.
The standard Drupal front page automatically displays any nodes that have been "promoted to the front page", but since on a new drupal install, no nodes have been created (and promoted to the front page), you will get that message.
EDIT: Actually, I think in D8, the front page is a view.
There are a multitude of different ways to set the content on the front page, depending on your needs.
There is even a module called "front page" specifically for it.
What I have often done, is create a "basic page" node, and then set the front page to be this node in the theme settings. As this node is usually the first thing I create, it will be "node/1", which is what I enter into the front page setting.
I think the automatic displaying of "promoted to front page" nodes on the front page is a remnant from the old days when Drupal was often used as a blogging platform

Related

Drupal 9 - Two different URL's work for same page

I have a Drupal 9.x version site, as an example whose page URL is like : http://www.example.com/general
but we need that URL to be work as http://www.example.com/something/general also.
It means, my every page of my site to be work (both URL's) with or without PRE-FIX word before of every page name.
Reason: I am looking this feature is, my website page has to load into other website pages. Which means with an iframe I am planning to display the drupal 9.x content into other website. With this PREFIX word if we are calling the URL the header, footer, sidebar of the present page site will be hidden.
If with out the PREFIX word if i am looking the website, the header, footer, sidebar will be displayed normally.
Both URLs should work:
I have about 550+ content pages, and many of our content pages are coming from custom modules, views.
I tried with URL alias, If i have go with this then I have to add these all 550+ content pages URL in our URL alias, that will not work for me.
Is there any other way around that i can achieve the same with minimum effort.
Please suggest me the solution, It will be very helpful for me.

Drupal 7 webform

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.

How to change the "Terms of Use" and "Privacy Statement" in DotNetNuke

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.

HOw To Remove facebook page in composteC1 when run the project

i want to Remove facebook page in compositeC1 cms
whenever i am run this application it comes with facebook, so i want to replace my own page at the palce of facebbok details
i want to replace some other page at facebook or eles i want to dislay
some blank empty page how
Follow this discussion - http://compositec1.codeplex.com/discussions/348539
The content is dynamically fetched from http://c1console.composite.net/C1/StartPage.aspx - the content is downloaded indirectly by the website service you the C1 Console. You can configure it - if you edit ~/Composite/web.config you will find the URL, and you can change it. Note that your custom page would need to share certain characteristics with our start screen (page title and JavaScript communicating successful load).
It has been discussed several times before on the CodePlex forum in these threads
http://compositec1.codeplex.com/discussions/272600
http://compositec1.codeplex.com/discussions/348393
http://compositec1.codeplex.com/discussions/348539

dotnetnuke: can we create a master page?

Can we create a content managed master page in dotnetnuke?
eg. I want the right pane and bottom pane to be content managed, but to show the same thing across all pages.
Thanks
What you are describing is essentially what DNN calls a Skin.
A DNN skin is actually just an ASP.NET user control (ascx) that dictates page-wide or site-wide look and feel, which offers developers the same functionality as a Master page, except that it ties into DNN-specific elements and uses some DNN-specific user controls, such as menu/navigation, logo, breadcrumbs, login/user account links, etc.
Now, in order to add the ability to provide content management capabilities site-wide, you specify an area in your skin to place a module (let's say, a Text/HTML module). This area is called a pane. Once you add a module to this pane, in its settings you can tell it to appear on every page. This way, the module can be edited on any page, and its changes will be reflected on all pages automatically.
Check out DNN's site, as it contains a TON of documentation on how to do many common tasks: http://www.dotnetnuke.com/Support/Documentation/DownloadableFiles/tabid/478/Default.aspx. Under the Technical Documentation section, you'll want to grab the Skinning document (I believe it's a PDF).
DNN Modules can be set to appear on all pages by checking a checkbox in the module settings. However DNN does not use the concept of a Master Page. It injects modules (user controls) in containers on a single aspx page at runtime.
A Master Page would be a great addition to DotNetNuke you cannot replace content in a single area of the page. The whole page refreshes. For example if you have a menu and you only want the content of what you select to appear in a specific content area without refreshing the rest of the page you have to resort to third party modules that attempt to do that but usually fail. There are 'module wrappers' but all the ones I've tested have issues with modules that allow the user to edit content. Edit screens are usualy different user control files (ascx) that are launched when you edit the module content. Since the page refreshes with the new page you have lost your place. Those module wrappers work fine for static content and some other controls but not for all controls.
IFrames can be used (DNN has one) to trade out content but that doesn't get rid of the probelms mentione above. I'm heavily invested in DNN, running the UCanUse.com web site so this isn't a slam on DNN. I just thought I'd try to answer the quesiton with detail.

Resources