how to change layout for whole site in DotNetNuke 7 - content-management-system

I have just started learning DNN. I dug a little into this but I just can't change the layout for whole site. I am using Awesome cycle template as starting.
I need to redesign site header and footer. If I made change in Skins\Gravity\Home.ascx then these changes are only appearing to my home file.
I can change the CSS the way I want but I am just unable to change the base html of header in entire site. (like we do in master pages in ASP.NET or layout in MVC)

Your problem probably has to do with DNN supporting different skins for different pages.
You have to check if all pages use the same skin. I think that in DNN7 default site template pages use different skins. You can check this if you go to Edit Page -> Page Appearance -> Page skin
If you set all the pages to use the Gravity skin, then changes you make at the .ascx file will apply to all pages.
A uniform way to change the layout for the whole site is to set every page skin to 'None specified' and then only select skins from Admin -> Site Settings -> Basic Settings ->Appearance ->site skin.

You can update the DNN database using an update query on the Tabs table:
update Tabs set SkinSrc = REPLACE(SkinSrc,'OldSkinName','NewSkinName')
where SkinSrc like '%OldSkinName%'
You can also rename the containers using a similar query:
update TabModules set ContainerSrc = '[G]Containers/MySkin/NewContainer.ascx'
where ContainerSrc = '[G]Containers/MySkin/OldContainer.ascx'
In the latest operation remember to clean the dnn cache using : Host > Host Settings > Advanced Settings > Performance Settings , click on the “Clear cache” button.

Related

How to change backend layout in Typo3 7.2?

I am new to typo3, i am trying to create a new backend layout for my home page.I need add few custom sections to edit contents.I am not able to find option to do so.
TYPO3 7.2 is out of support and has know security issues. Please update to 7.3 at least.
You can create backend layout records in any folder in the page tree. To select those backend layouts, you have to add this folder as the general record storage in the page properties of the page where you want to use your backend layout.
I suggest you take a look into the Getting started tutorial which will walk you through your first steps.
http://docs.typo3.org/typo3cms/GettingStartedTutorial/
In case you use a distribution, it might be that the backend layout is added in another way, e.g. via TSconfig or directly using PHP. Please consult the according documentation of the distribution in this case.
Figured out myself.
Go to List in Web, then click on add new + icon, then select Backend Layout under System Records.

Control Panel - Apply different theme for two different pages

I have created control panel theme following bootstrap standards. For some reason, we are using liferay 6.1 which doesn't provide responsiveness and hence has to be taken care of.
As we know control panel contains many pages e.g: MyAccount, User Administartion e.t.c.
As of now,these pages are looking fine with the old theme(non-bootstrap).
As and when I update these pages to bootstrap standards, I want to be able to apply bootstrap control panel theme for them.
Question here is - How do I apply old theme for MyAccount Page and bootstrap theme for User Administration page. Is there some property file that I need to update?
I did my research but couldn't find anything substantial.
Please let me know if I need to be more specific about the query.

Joomla! 3 multi language content switching

Many visitors visiting our website by a link to content in a different language from their mother tongue. If they click on the language switcher, they will be redirected to the home link of the current menu. That means they have to navigate to the content again.
Is there a Plugin available that solve this problem?
The use should change the language and see the english version of the specific content.
That should not be the case, if you have set up bi/multi language in the right way.
Have you associated the articles to each others as well as the menu entrys?
You need to have exact copies of your menu.
Are you talking about "Content Pages" that have no menu entry? If so, try to create a menu which is not visible for the user, but use it to associate content.
You find the Association Tab in the Menu Entry Edit
The Falang component allows you to manage all your content translations, even the content of all your components/modules, on your web site.
Falang doesn't use the default language system of Joomla 2.5 and 3.3. You don't have to specify a language for each content article or menu item (which results in a huge amount of duplication). You don't need to create few menu copies, few articles/categories copies for different languages.
Here is described how to use it

Magento theme exceptions not working on the category and product pages

I'm trying to make an iphone and ipad version for my magento store.
I followed the following steps to achieve the fallback:
Added exceptions for the mobile devices. Navigated to the Magento administrative area -> System -> Configuration -> Design -> Themes. Clicked on the Add Exceptions buttons besides the Templates, Skin and Layout labels.
Entered the following line in the Matched Expression field:
iPhone|iPod|BlackBerry|Palm|Googlebot-Mobile|Mobile|mobile|mobi|Windows Mobile|Safari Mobile|Android|Opera Mini
In the Value field entered iphone and saved the changes.
It worked like a charm for all my pages except for the category and product pages. I checked the Category settings under Manage Categories and the design of these pages seems to be handled in the Custom Design tab.
How do I make my exceptions overide this setting?
I Thought the field in custom design had to be populated with one of the themes from the drop down. Apparently you can leave it on --Please Select-- and it will still save without errors.
The exceptions work perfectly know, DOH!

Joomla 1.5 500 errors on all menu items

I have a website that was working just fine for a long time but out of the blue, the main menu off the template and a module menu are all giving 500 errors.
You are still able to grab articles by their ID's and view them.
You can also create a new menu items and that new menu item will work just fine.
Why would all menu links just break but you can create new ones and they work?
We have over 40-50 different menu's depending on what pages you’re on. I would hate to have to re-due this whole process and instead fine a fix to it.
Any ideas?
It can be apache mod_rewrite that is not loaded.
Have you touched to apache (or any web server) configuration ?
Administration panel > Menu > Site -> Global Configuration -> Site: Search Engine Friendly URLs to No
If your website works, then the mod_rewrite module is your problem.