I am in a critical condition. I was paying a developer in India who left the project but now I need to access the php pages.
I have explored the joomla site using the admin login but i can't find how he is displaying the html/php pages.
Please help!
I assume you're looking for the front-end template for the website.
Using FTP or whatever control panel go to the Joomla folder, look for a folder called templates - it should be one of the folders in there.
To check what the name of the current template is, go to the admin panel and look in the template menu.
If your developer has also made any custom components, the front-end part would be somewhere in the components folder, and the backend bit would be in administrator->components.
You need to read some Joomla tutorials. There are many places that can be used to "display the html/php".
First you have the template files that determine how the site looks and what module positions are available to be used. Generally there is one template in use but there can be multiples.
Next you will have components where the content is entered. At a minimum it is likely that you are using the com_content (articles/categories) and it is very likely there are others being used.
You will also have various modules that will display content in areas outside of the main content area. This will generally include menus, login forms, and other similar content.
Last, plugins can also have an effect on the content. In some cases plugins inject content and in others they replace placeholders with content.
There are a lot of pieces to the puzzle that all come together to display the resulting web page, it's not just a simple question of accessing some files.
Related
It has been a few years since I properly worked with WordPress. Now I have a proposal to build a WordPress site where every page has a custom design and only some areas of each page is editable.
The reason for this is to build a bespoke layout on each page which cannot be messed up by someone non-technical editing it in the CMS, except for small areas which they can customise.
e.g. A page contains one div which has some text in it, which can be edited in the WP admin backend, but the rest of the page cannot be edited.
Can this be done? How?
Edit: There needs to be multiple editable areas not just one. I know how to make custom pages/templates.
One method may be to create new page templates. Just create a new file in your main theme folder (or the templates folder if there is one). As long at the top of that file contains the line:
/*
Template Name: <your template name>
*/
You can design the page however you want. The data pulled from the admin section will go wherever you invoke
the_content();
The rest of the page can be hardcoded.
Then on the post edit page, on the right side (usually), you can choose the template with your template name for that page. It may be a good idea to copy the current post.php or single.php into your custom file and work from there.
For restricting access you can look at setting up user levels and keep your content contributors as "Authors" instead of "admins" so they can't change themes or edit settings.
(See https://codex.wordpress.org/User_Levels)
For creating specific unique pages with an area that gets changed you should look into custom Page Templates. You can create a page template by dropping a php file with the right naming structure into your theme hierarchy and it will get picked up by the back-end as template option when you create a page.
(See https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/)
I solved this problem using a plugin called Advanced Custom Fields which does exactly what I required.
I'm trying to make some edits to a website. The website is based on a CMS and runs on PHP.
I have some html/css experience and have a thick guide to PHP into book to help me.
Among the many edits I'd like to make to the site which are out of the control from the CMS admin area, I'd like to add a Facebook link in the main nav.
Now, I would normally, if inheriting someone else's simpe HTMl/CSS site just use the inspect element feature in Chrome of FF and then see whereabout to edit the code.
Probably a classic rookie question but how does one do that with PHP? If I right click the nav on my site, how do I know which PHP file to edit? Is there a "best way" here?
Here's the site incidentally if it helps at all. I'd like to add (among many other things) a Facebook icon next to the RSS icon in the main nav. I just don't know which file to edit.
http://tinyurl.com/byal33m
This all depends on which CMS you are using. It's like asking - I have a 'word processor', how do I add an image...
You should read the documentation that comes with the CMS that you are using. It will likely explain where the files are.
Typically, CMSs usually have a core directory with contain the files that make the CMS work itself, which you wont need to edit.
Then there is a themes directory which contains the files that make up the HTML that is actually rendered and supplemented with data from the CMS. In the admin area, it usually tells you which theme you are using and where it is located.
Wordpress is a popular CMS, and their documentation explains the basics: http://codex.wordpress.org/Using_Themes
-- Updated
Question relates to Ushahidi CMS which has documentation indicating theme HTML located in the 'themes' subdirectory.
https://wiki.ushahidi.com/display/WIKI/Themes+-+Developers+Guide#Themes-DevelopersGuide-HowdoIinstallatheme%3F
I just started using Magento, and to me, it seems like a big mess in there...
I'm looking to edit my home page that I got from a template. It looks great but I took out a bunch of useless static blocks inside of it and now I have wholes everywhere. Check the link:
http://goo.gl/v5uTx
What I don't seem to find is where is my actual page structure? I went into the admin and just found this for my home page:
<p>
{{widget type="flexiblewidget/list" column_count="3" limit_count="9"
if="em_feature_product=1" header="Favorite products" order_by="name asc"
template="flexiblewidget/featured.phtml"}}
</p>
Which is basically a tiny part of the page.
So the question is, where can I find the rest of my page content and structure (ie the slideshow, the top offers, ...) so that I can try to re-organise it to look like a website and not cheese?
Thanks.
Magento is different than most other CMS solutions. You may be used to seeing the raw HTML in the CMS page, or at least a good portion of it. However, Magento uses PHP to render blocks onto the page. It gets it's instructions from XML documents inside of your theme. If this is your first time working with Magento, it may be good to check out this post before you get too frustrated. It will walk you through some basics.
Most likely, the HTML for your slider and top offers are in files inside of your theme directory. Your theme directory will be at app/design/frontend/PACKAGE/THEME/ - your php and html will be in the template folder, and the XML instructions will be in the layout folder. The home page, like many other pages on your site are using a main template to load site-wide HTML and CSS. There are 4 of these main templates by default: 1 column, 2 columns with left sidebar, 2 columns with right sidebar, and 3 columns. These main templates can be found in the templates folder under the "page" directory. If you open one of these templates, you will find a line that looks like this:
<?php echo $this->getChildHtml('content') ?>
This line is asking the XML instructions for anything under the block named "content". That is most likely where the slider is being assigned. You will have to find the XML file this is being defined in. You may want to familiarize yourself with the layout folder and Magento's fallback hierarchy. Check out this post.
Hopefully this will help you out with the issues you're having with your page!
I am working on moving a normal HTML website to Wordpress for a client. It's a simple website with a lots of images and HTML text. The idea is that client should be able to modify contents of website through the simple CMS without actually looking into code.
While doing analysis I came across some roadblocks like
Problem: If I want to modify text/ image for Header or footer in wordpress, I will need to do it in PHP code.
Solution: Create a customized header/ footer update tab. Modify database to store these contents and modify PHP code to directly read the data from database.
Problem: Wordpress provides a set of widgets (blogrolls catergories etc.), I need more like Latest News.
Solution: Modify PHP code and datbase, basically create your own widget.
Problem: There are a lot of static HTML pages which are linked from one page to another.
Solution: I don't see any way in wordpress to create static HTML pages which among which we can create links from one to another.
Solution: Create a new interface where user can create HTML pages/ plain text content. This will return a link which can be used to provide hyperlinks in another page.
My query is: Are the solutions mentioned above correct? The problems mentioned look very common, so is there a tried and tested way to solve?
Edit: User (Client) want to use wordpress. Just wanted to make sure here that Solutions I am thinking about are correct. So would like to have suggestion from someone who has already worked on Wordpress and solved the problems like I have mentioned. Do not want to reinvent the wheel.
I've worked a lot on a Wordpress-base white-label CMS, so I think I can help you in some ways.
First of all : always remember the real power of Wordpress is its community and its plugins base (that you can access directly from wordpress admin)
Problem: If I want to modify text/ image for Header or footer in
wordpress, I will need to do it in PHP code. Solution: Create a
customized header/ footer update tab. Modify database to store these
contents and modify PHP code to directly read the data from database.
If you want to have a fully customisable appearance, I suggest you to start from a theme like Consctructor. This is a theme with a whole admin panel for simple appearance editing. The code is far from perfect but this is a good start.
If you just want to manage the content of header / footer, you can do it via Menus / Widgets / Links, but only if your theme is designed for that. For example, a lot of good theme allow you to add widgets in footer, then you can construct your footer with only a few drag-n-drop in the Appearance/Widget menu. For header image, the default theme (Twenty-Twelve) provide an header panel where you can upload a new image.
Problem: Wordpress provides a set of widgets (blogrolls catergories
etc.), I need more like Latest News. Solution: Modify PHP code and
datbase, basically create your own widget.
Yes you can create your own widgets for specific needs, but I suggest you always start from an existing one. There is a lot of plugins providing you dozens of widgets. Explore that before reinventing the wheel.
For your specific case, a 1s google-search returns me this plugin.
Problem: There are a lot of static HTML pages which are linked from
one page to another. Solution: I don't see any way in wordpress to
create static HTML pages which among which we can create links from
one to another. Solution: Create a new interface where user can create
HTML pages/ plain text content. This will return a link which can be
used to provide hyperlinks in another page.
No, use the pages. Wordpress Pages are static content and this is editable, and for each page ou have a permalink. If Pages aren't good for your job, you can consider creating a custom type (or install a plugin that create a custom type).
Wordpress themes can be made to accept images and stuff like that.
The are ample wordpress widgets to do just that. Just be sure to find the right one.
I don't understand this one. You can create any amount of wordpress pages, and to link between them is easy. If you want your files to end in .html, simply enable permalinks and specify that option. It's very easy.
Reinventing the wheel sometimes is good, possibly even good for you (Given patience and time). Nothing is prepackaged to do everything for you, hence these are times when you need a custom build.
Anyways, CMSes don't come as a multipurpose, all-in-one package that solves your programming woes and turns everything into a point-and-click solution. Every CMS is unique, designed to serve a specific purpose. Others general purpose, others for blogs, others for very simple sites.
If you don't find anything native that fits your needs, find the right plugin for the job. If you cannot find anything at all, then might as well build a custom solution, or build on top of an existing resource. Innovate
Having a bit of difficulty trying to incorporate the phpBB forum within a on our own page. Does anyone know if this is actually possible?
It might be that phpBB is not the correct product for the job but I had to start somewhere. Looking for a low quantity Message Forum to incorporate into our website. Rather than have it in it's own page I would like to build it into our standard page layout with our own Header, Menu, Quick links panel, floating Footer etc.
Can this be done, if so is phpBB the right Forum to use or should I be looking at something else.
Thanks,
You can create a phpBB board style which matches your regular page layout. See e.g. http://www.phpbb.com/kb/article/how-to-create-a-style-basics/ for some details.
Note that phpBB updates can introduce changes to the default board style - when this happens, you will need to update your board style accordingly to make sure everything works as expected.
You could try modifying the phpBB template files (.tpl) to pull in your website framework and then the forum will be surrouned with your actual website e.g. header, menu, footer, etc.
Here's a little more info: http://www.webhostingtalk.com/archive/index.php/t-518275.html