Wordpress plugin template override - portfolio [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am using this Worpress plugin: http://bestwebsoft.com/plugin/portfolio-plugin/
I already changed the portfolio itself by including the requests into my own template, but if i click onto one of the items, it directs me to the /portfolio/ permasite, which is then displaying the requested portfolio item in detail.
Now here is my question: I do know where to find the template for this single display (portfolio-post.php) but I'd like to change it myself, without risking to lose the template when I update the plugin. So editing within the portfolio plugin folder is not an option for me.
Is there any method to change this template by placing a "portfolio-post.php" whatever in my own theme folder?

If you create the portfolio-post.php file in your template folder and edit it there, you don't have the risk that an update will overwrite it.
As long as you position the file inside the same folder basis as in the plugin you should be fine
e.g. /your-theme-folder/portfolio-post.php

Related

How to change logo and css style in vtiger crm login page? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How to change logo and css style in vtiger crm login page? Where is file with this?
I tried to find but I failed.
For Logo
Go to test->logo->vtiger-crm-logo.gif
Paste your logo their and rename it with "vtiger-crm-logo.gif".
Or to change login page logo go to smarty->templates->Login.tpl and at line no 16(near about) place the address of your image.
And For CSS
Go to themes->Softed (your themes name) (by default theme)->style.css.

How to get wordpress source code of theme in php [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
i have a site which is designed in wordpress. I have evrything that wordpress gives.like admin name password.database.But i dont have the admins password by which i change the setting in wordpress theme.is there anyway to get the theme's source code that my site has.I like to change the site without entering admins panel.i like to change it using only code is there any way to do that.I will appreciate any help.
From your dashboard, look on the left side panel and choose appearance > editor. Once there, look to the right of your screen and choose which part of the site you'd like to edit (posts, stylesheet, etc). This is where you can do changes.
I think this is what you were asking for.

Codigniter Messes Up View Order [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 8 years ago.
Improve this question
This is not a duplicate.
Neither one of these methods work
CodeIgniter view loading not loading in order?
Codeigniter View and echo
$this->load->view('includes/header');
$this->load->view('includes/left_sidebar');
$this->load->view('content/content');
$this->load->view('includes/footer');
I've tried the 'echo' suggestion in the two links both with the second parameter as null and as array();
No matter what I do, the sidebar always loads at the bottom.
I've also tried loading these views within the content view with no luck.
I am using CodeIgniter 2.14, Any other suggestions for getting the views to load in the correct order?
There is no php functionality other than loading the includes.
check your css for sidebar. Check source code of the rendered page and see if sidebar section is at the bottom or at right place.

Changing images through admin panel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Hey stackoverflow users,
I'm curious about Wordpress, I'm new to the whole Wordpress theme creation so I've began by using the basics of HTML combined with looking through the Wordpress codex to build a theme.
However, I have one question: How could I make it so images could be changed through the admin panel?
Let's look at it like this, I could set out, say; a logo div and a banner div, is there a way I could be able to set them so their images could be modified through the panel?
What would be the easiest method to do this?
Thanks
You could use the following for the header image:
http://codex.wordpress.org/Function_Reference/add_theme_support#Custom_Header
You can also define custom text inputs via the Settings API:
http://codex.wordpress.org/Settings_API
I would say that the second link is not for beginners. To gain a little familiarity with theming I would try deconstructing Twenty Twelve or Twenty Thirteen. I would also examine the reason why you want to content manage these particular items. If you are looking to create a theme for distribution, there are many resources that can help you with this in the WordPress Codex.
there is no simple way to do that, you would first code or modify a theme to make it work like plugin, or what would i suggest is use theme editor in admin panel that is possible easiest way available.

Ecommerce - allow user to add products [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have just started using opencart, but I'm good with moderate php. In opencart, the only way to add products currently is through the admin panel. I would like to let users have the option of adding products, without seeing any of the admin panel, like ebay without the auction or amazon. I tried looking at the database to see how it is organized, but there are WAY too many tables. Also, I can't locate the php script that inserts the new product information into the database. Does anyone have an extension or at least know how opencart inserts the product in the database?
Thanks for all the help and sorry for the paragraph.
The file you are looking for is /admin/model/catalog/product.php. You will see that there is a method called addProduct which you will have to replicate, remove anything that shouldn't be accessible and you'll also need to create the form for it too. For more info on the MVC, check out this answer

Categories