Homepage template in Prestashop? Where? - php

I am used to developing WordPress sites but my new client insists on using Prestashop. I've installed it with a default template and don't know where to even start. It destroys me.
Luckily I just have to chenge the homepage, nothing more for today, so there will be more time to learn later.
Could you please instruct me on which template (.tpl files?) should I modify to change the design of the homepage in Prestashop? This template structure is completely foreign to me.
Thank you very much.

I really think you will need to have a quick look to our documentation:
PrestaShop 1.6 Templating Documentation
It will explain you how it was designed and how create/edit PrestaShop's templates.

Related

Joomla! model overrides

I am developing a Joomla 3.1 website. On the work flow I found out that I need to change administrator/components/com_k2/models/category.xml. I have no other way. But I don't also want my client afterwards to have troubles with K2 updates.
I tried to google about possible solutions but everybody says it is impossible to override models in Joomla. And that I need to make a plugin of it. I am even eager to make a plugin but cannot find appropriate tutorials.
Has anyone met such a problem and is there a way to come to solution?
Thanks.
You can use this to override models: Plugin Override.
Install and enable the plugin.
You can then copy the file:
administrator/components/com_k2/models/category.xml
to:
administrator/templates/bluestork/html/com_k2/models/category.xml
and edit it as you like.

how to add joomla site header in my custom php file without using ready made plugin or module?

I have been develope one site in joomla framework. Now my trouble is that client want one custom page in this site. so, please guide me how to i setup theme interface in this custom page?
Although this is not my favorite solution, instead of including Joomla in your script, you can put your script inside an article with an extension that can read your code, like DirectPHP and others.
You can make something like error.php which is really a mini application that renders a single page. You can see in the core how elements of the emplae are used and you can evn pull in modules and so on.

PHP-based CMS that can use static files as pages and include a forum and blog?

I am currently working on a project documentation site for an OSS PHP project. Presently all of the docs are written in Markdown and stored as separate files.
I would really like to keep the core documentation as static files within the project so that they can be downloaded and used as well as read on my website. But on the website, I'd like to render those pages from within a CMS.
In addition to presenting the code docs, I also want to provide a forum for discussion and a blog.
Wordpress is what I have experience with, but is there a better system for what I am trying to accomplish specifically?
For Blog and CMS I would suggest stick with Wordpress since you already have experience on it. And as far as Forum is concerned I would suggest SimplePress forum. I have been using it on my Wordpress installation and found it really good. You can see live forum on the link above to see how it looks in real world.
Also Wordpress has several nice plugins like Download Manager that will give you ability to manage your downloads/files.
Can't confirm if wp is the best, but it's certainly good enough.
To include your docs, you'll have to write a plugin, not likely that you will find one existing that does exactly what you want.
For forum, you should find a plugin. Google for posts similar to this to choose a best match.
Firstly Wordpress isn't a framework.
I believe CakePHP has the functionality to load hardcoded pages when they're placed in the webroot folder of the app. I'm unsure as to how they're loaded in regards to routing/templating however.

YII Pluggin for Net Beans

Can you please let me know where do I get YII Framework plugin for Netbeans? I tried to search but I couldn't find.
Thank you very much!
The question is why do you need a plugin?
Just include Yii framework path in your project include path and all your functions will be part of autocomplete.
I use Yii with netbeans all the time and never felt the need for one. However there is another IDE, codelobster, who recently launched a plugin for yii, you might check it out but it is not as good as netbeans for advanced users, however good enough for basic usage so you might be interested.
Also for PDT there is plugin adding yii framework support. At the moment functionality is limited to creating new yii-powered project and some useful navigation (controller/action -> view, view -> view (partial render), widget->widgetClass, and some others.
More information you can find at yiiclipse home page.
There isn't one currently. That's why you couldn't find it.
actually it is available here is the link
http://www.yiiframework.com/news/69/yii-plugin-for-netbeans/

Joomla and PHPBB3 integration

I'm on a current web project, on which there's a working PHPBB3 installation in
(root)/phpbb3
All other files of the page are directly on (root)/ and are manually programmed.
now I have to refactor the whole page with Joomla and want to integrate the PHPBB3 directly into the main page, so that header, menu and footer of the joomla page are still beeing displayed, only the content shall be the PHPBB.
There are no further log in mechansims on my page, so this is not an issue. It's just about an optical integration of the board into the page...is this possible?
If yes, how?
Could you please give me a hint?
greets, poeschlorn
I've done it before. There's a component/application called RokBridge that does basically this. Note that phpBB isn't running exactly "inside" of Joomla, since that would be disadvantages for performance reasons...

Categories