Custom PHPFox V2 Landing Page - php

I have a social network built using PHPFox and it's proving to be quite a challenge to change the default landing page. Does anyone know how I can change the default core.index-visitor landing page without having to adjust all the menus and everything? Would it be easier to just upload all the files for my custom landing page then redirect the apache configuration file to point to the new landing? Or can I do that from the .htaccess file?

You can do so by editing the welcome blocks in the admincp.

You can modify welcome.html.php file
to change landing page
in user module
user/template/default/block/welcome.html.php
May that helps you

Related

Is not show change in template page in wordpress?

Sir i have one wordpress website on godaddy server and in this if i am going to changes in page template file then these changes are show to me on that page only after admin login otherwise its not changes shows to me on that pages template Sir please help me about this issue🙏
Please check if you are using any cache plugin. If so, try clear the cache or disable the cache plugin and see whether the new updates are reflecting on the website.

Must a WP landing page be in HTML or PHP?

I've been asked to create a landing page for a client's WP site. I don't have much experience with WP and wondering if the page should be an HTML or PHP file? I have a CSS and JS file too. Any advice would greatly be appreciated.
Take a look at the WordPress Codex on how to make custom themes. You could edit an existing theme although this isn't advised as you'll lose your changes when you update it.
The landing page must be saved as a PHP file. WordPress will automatically include the right file depending on the page that is requested. The most straightforward way to do this is create a file called template-landing-page.php and on the very first line of the file, paste this in:
<?php /* Template Name: Landing Page */ ?>
Then add your landing page content into that file. When you're done, go to the dashboard and edit/create a new page. Look for the Page Attributes meta box on the right hand side and select the Landing Page template. Save the page.
Then you have a new landing page!

Finding and editing a WordPress site in cpanel w/o access to WordPress

I have a client who needs his website edited, he is no longer in contact with the original creator of the site, and it seems that the creator used WordPress to make the website. I've been able to access the page through cPanel but cannot locate the HTML files necessary to do things such as editing text. I have the ability to change images but the owner would like to remove some pages, etc.
There are also tons of PHP files for the WordPress extensions and such, but I know nothing about PHP.
Would I need access to the wp-admin account that designed the page in order to modify the text?
Wordpress stores page content in a database, which is subsequently loaded by a collection of php files. You cannot change the content or looks of a wordpress site by changing html files.
The easiest way to change content is to log in to the wordpress dashboard of the website. If you don't have the password, you can open up phpmyadmin via cpanel, browse to the wordpress database and find the *yourwebsiteinitials*_users table. In there you can choose one of the accounts that should be there and click edit, then edit the user_pass column, and simply type a new password in value and set function to md5. Then you can go to *yourwebaddress*/wp-login.php in your browser and login with the user you just edited and the new password.
Alternatively you can find posts in the _posts table and change content via phpmyadmin, but it's much easier to do this via the dashboard.
There could be a few things you need to be aware of: and I believe you have a good understanding of WordPress. If not you may want to watch some tutorials about it.
Themes: You need to find out if the previous developer develop with custom template and maybe he hard coded all the text inside themes file which located wp-content/themes/{name of the theme}/ {other file}, in this case, if you are not aware of WordPress theme development or how it structure, I suggest you watch some quick tutorial on it and there are tons.
Yes, wp-admin is the place where you can find all the pages listed or posts or whatever content. By editing page, you easily can change the text or delete the page which not require or add a new page.
Just find what is the way it's coded. then you will able to follow
You can log into the WordPress dashboard from the cPanel, following these steps:
Login to cPanel.
Scroll down to the Softaculous Apps Installer section and click on the WordPress icon:
You will be directed to the WordPress Install tab.
Scroll down to the Current Installations section.
Click on the admin icon to login to the WordPress dashboard without a password:
You will then reach the WordPress admin dashboard- voila!
if you want delete page in WORDPRESS you need to login wordpress and delete from pages and if you need delete custom php pages you need to go to cpanel and public html folder your page name or delete from wordpress go to /public_html/wp-content/themes/active theme name/ and find there page name there extenstion of pages is like pagename.php or pagename.html.

Magento - Homepage Preview is different than the Homepage Live View

I am new to Magento. My client assigned me a task. I completed the task mostly, but one thing that I don't understand and also my client don't understand. When I preview the home page from admin panel, I get this page opened.
But I open live website, this page opens:
When I put content on CMS page in admin panel, it gets visible on page preview, as you can see the heading Google Maps, I put this string in content, but is not visible in the live page. What's going on there, I don't understand. Please help me to solve this problem.
Website URL: http://spacedookie.com/
http://spacedookie.com/ is site landing page and http://spacedookie.com/home is cms page.
Magento have provide any cms page to set as landing for the site.
According you site your site default layout is 1col but this cms page layout 2-col right
You need redirection 301 http://spacedookie.com/home to http://spacedookie.com/
check 301 for Magento, redirect the url from "www.domain.com/home" to base url "www.domain.com"
Goto admin>CMS>Pages>Select your home page > then goto Design tab select page layout
1colums and save it
Go to system >> Configuration >> Design and check your selected package and theme under each scope. mainly under default config.

Adding my own static webpage to a wordpress site

If my title wasn't clear, basically what I'm trying to do is to add my own HTML or PHP page to Wordpress, so i can play around with some web dev.
So essentially I just want a test page/pages added to my site. However since I have installed Wordpress on my website, I can't just add "index.html" to my root folder using my FTP client. I wonder if I can/can't do this and if so how to link to the pages I add using FTP.
Sorry if this doesn't make any sense. I just want to add some of the sites I've already made / ones I am creating to my site so I can easily show clients/employers what I can do, and I apologize again if I'm being an idiot.
Create a sub-directory in your root folder and then simply link to it:
www.domain.com/mysubdir/index.php
the other way to do this... create a page template in wordpress
create a php file named: template_mypage.php
You must put this php comment line at the top of your template file:
/* Template Name: My Page */
go to wordpress backend and create a new page
in the "Page Attributes", you can find a drop down list named "Template". In the list, you should be able to find "My Page"... select it and then save your page.
view it!
You can always create a subdomain or create a folder inside public_html/www/ and redirect it from any other domain or from any static link you have on wordpress
Why not use WordPress and put your portfolio together using Custom Post Types? I recently presented on this and there is a handy plugin for Custom Post Types UI that you can create a whole new section of your site and make templates for your portfolio.
Just a thought.
If you do a static page in WordPress, you can still template using the Page system as specified in another comment. Code your page, separate it into header, footer, content, etc files. You can load the file to your root, but not name it index. If you do a subfolder, you need to not have an existing page in WordPress.
HOWEVER, you can still do a "halfway" static page still using WordPress and do a header-staticpage.php, index-staticpage.php, and footer-staticpage.php and make sure to include the code for WordPress header and footer in the new header and footer so you can still reap the benefits of the default jquery that WordPress allows. Don't forget to name your template and when you create the page in WordPress, you can just leave the content area blank if you have hardcoded the page's content in.
I still recommend trying Custom Post Types. It is not hard and there are some great presentations in Slideshare that cover this aside from the plugin I mentioned earlier in this comment.

Categories