How to change the theme of Person.aspx in SharePoint My Sites - css

I have my custom theme working everywhere except for the profile page for users under My Sites, which is the Person.aspx page. Any thoughts on how to apply the theme to this page? Or even just hard coding custom styling to it?
Thanks,
Kale

The issue is that person.aspx is in a completely different site collection to the rest of the pages in the users site. You need to apply the theme separately to the mysite host site.

The best approach is to use a Solution Package to push a feature containing the master pages/page layouts/styles to a site collection. That way you simply activate the feature at each site collection...e.g one for your Intranet and one for your MySites Site collection.

Here my solution for this issue. Assume your profile page URL http://sitename/Person.aspx
Enter the below url on IE and login http sitename/_layouts/settings.aspx
The Page (_layouts/settings.aspx) may requires admin privileges. Once you login then you'll get the option to change theme and other features. That's it.

Hard coding custom style can be done by replacing the Person.aspx page inside of the MySite Site Definition, however this is not a recommended practice.
Here is a different approach that might work for you, just depends on how far you have gotten with MySite rollout.

Related

How do I integrate a website template on my main wordpress website?

I have a Wordpress website made to show a portfolio of websites, so the client can have an idea about what kind of wordpress-based website I can create for them.
My question is, is there any smart way of creating a live website template inside a website? My approach would be to install another wordpress release into a folder (e.g domain.com/template1; /template2 etc.) but it feels kind of...ancient.
Is there any other way or am I steering into the right direction?
I would say, the easiest way is to make a second customize.php, because there you have the possibility to take a live preview and make a new site template with it.
Important: Do not forget to restrict a lot of settings like, choose this Template - otherwise it will be set as default for your website :)

Is there a way to create custom URLs in WordPress for each client

I'm trying to create a site for a client who want's to use the WP Workscout theme. He want's a client portal that's able to do 2 things;
The clients logo and basic chosen style in their portal area
A url for the client for example clientname.companyname.com
I could do this quite simply with a custom site but I'm not sure about WordPress. Is it possible? If so, how?
Any help would be greatly appreciated
You might want to consider building a WordPress multisite. Sounds like it might be what you're looking for.
It will allow you to have some different styling for each site in the network, and you can set up each site on different subdomains.
https://wordpress.org/support/article/create-a-network/
https://www.wpbeginner.com/wp-tutorials/how-to-install-and-setup-wordpress-multisite-network/

Integrating Wordpress from one WP site into another non WP site

I am developing a mobile version of a current WP site, but this mobile version is not WP. So I need to be able to access the information in the database of the non-responsive, existing WP site in this new one. The mobile site is located in a sub-folder called mobile (somesite.com/mobile) in the root directory of the current WP site.
I've visited the WP forum and posted this same question without responses. I've also read their integration page (http://codex.wordpress.org/Integrating_WordPress_with_Your_Website) but it doesn't seem like that would work for this application, because I figure it would just cause the mobile index.php page in the /mobile folder to just revert to the main theme.
Any suggestions or advice would be much appreciated.
You should use the integration guide you posted:
define('WP_USE_THEMES', false);
This part tells wordpress not to use themes.
I think a better approach to this problem is to make the current wordpress theme responsive:
there are a number of ways to achieve this: you can add separate stylesheets for different browser sizes: http://css-tricks.com/resolution-specific-stylesheets/ or you can use css3 media queries directly in the stylesheet: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries
You must create the new site using data from the WP site.
Ok. You will need to create your html/php files, but, using WP database.
You can just access WP database and query it... but you will have a lot of work, in some places... like, URL, you will need to transcript URLs saved on database, and, when a user click on that link, you will need treat it to find "back" what URL it means, to catch the content.
I't not a easy job.
The WP_Query (http://codex.wordpress.org/Class_Reference/WP_Query) class can easy your life.
The WP_Db (http://codex.wordpress.org/Class_Reference/wpdb) too.
Both, I think you can use without the whole WP.
But, like #Jonathan said, build a responsive template will be a best solution.

How can i hide my platform (CMS)

I have Joomla and Drupal sites, but I don't want others to find out what platform (CMS) I'm running.
I want to prevent detection from tools like Wappalyzer or similar tools. (as seen in this screenshot: http://i43.tinypic.com/2evc6qo.png)
I've heard that has to do with meta tags but I'm not sure.
There is no way to hide the fact you're using Joomla. If you inspect the source code of a websites built using Wordpress for example, you will see wp-includes within the URL's of CSS and JS file includes.
When using Joomla, you can type /administrator at the end of the URL, however if the admin URL is hidden, against, inspecting the source can give it away.
This might be of little help:
How to disable right-click context-menu in javascript
For Drupal, see the community wiki page "Hide, obscure, or remove clues that a site runs on Drupal":
The short answer is :
You can't. Do not try.
You can get pretty far with trying to hide the fact that your site runs on Drupal. But at some point you’ll probably don’t run Drupal anymore ;-)
Have a look …
at our sister site, Drupal SE: How can I obscure the fact my site uses Drupal?
at drupalscout.com: Hiding the fact your site runs Drupal OR Fingerprinting a Drupal Site
There is way to hide Joomla from bots.
You need to use this jomdefender plugin. It removes word joomla from all pages, change admin page and add few antibot tricks.
Its not perfect, but it still adds much more security to your joomla such as file integrity check, which could be quite usefull when some file gets hacked.

How to use wordpress to make a commerical/non blog website

I have managed to setup a blog on localhost quickly using wordpress. But what is ivolved in setting up a commercial website that is not a blog?
Also, should learning to use wordpress be more diffcult than learning Asp.Net or php? I can use these languages to create a website more quickly than using wordpress it seems. I'm guessing it should be possible to create a basic php website and then somehow hook it up to the admin functionality of wordpress to publish content and update it?
Any comments and suggestions will be appreciated.
Thanks,
A few thoughts on this.
First, Wordpress is based on PHP. So if you know your way around in PHP you are able to change anything within wordpress, you can build customized plugins, templates, etc.
However, using Wordpress has nothing to do with the programming languages you know. The fact that you are struggling with it is probably more because you don't understand yet what the features of Wordpress are or what you can use them for.
You can easily use Wordpress to create a simple non-blog website by setting up pages instead of posts. So you would be using Wordpress not as a blog engine but more as what's usually called a content management system CMS (not that using it as a blog engine wouldn't make Wordpress a CMS, but I'm talking about the general usage of those wordings).
A simple Google search might help you find more information about how to accomplish it in your specific case.
Hope this helps!
You need experience with PHP, HTML and CSS to configure WordPress to run like a non-blog website. Is it easier? Maybe, you get what you want but you won't understand what is going on.
If you are creating a static web page, say like a company's web site with little to none dynamic content, use pages (not posts) and create a static front page.
If you wish to use WordPress like a generic CMS, you can either use the Pods plugin or the newly introduced custom post types and taxonomies (new in Wordpress 3.0). You still need knowledge of PHP/MySQL to configure the Wordpress Loop (which is used to display blog posts and other dynamic content) and Wordpress Theme tags (to display name of the current logged in user).
Some plugins help with customizing the site for a non-blog look. Theme My Login and Theme my Profile blends the log-in page and profile page with your theme. However, if you need to customize the appearance, or add new logic, you pretty much need programming.
In short, you would need knowledge of PHP and MySQL; CSS too, if possible. Get your hand dirty building some sites, then what Wordpress offer and does for you with its API will be more relevant.

Resources