Can't hide and add category on frontend in Prestashop 1.5 - admin

I'm new in Prestashop and I ask you about little help.
My client uses Prestashop 1.5 and she deleted one category and add one new category. Unfortunately we don't see these changes in category block on homepage and other pages.
Can you please help me how can I make these changes in admin? I looked for a solution in the category settings and in modules settings, but without success. I deleted cache in Prestashop and also in browser.
Can you please help me?
Thank you very much in advance.
Kind regards,
Jan Pavelka
picture of backend /
picture of frontend

What is name of this category module? This is blockcategories or it is different module? If it is different module maybe it has configuration page where you must edit displayed content like in module blocktopmenu.

Could:
Clear the cache from admin panel ;
Very often the themes and modules have a " cache " separate checks if there are options to delete it or you cache modules ;
If it appears also , try to look as if phpmyadmi in ps_category and ps_category_lang tables is still present that category (replace " PS_ " with the code you're using ) .
Let me know

Thanks guys for the great advice.
Finally, it was very simple (and stupid from my part). I only had a lower level of access to backend - that was the problem. For these things I need admin access.
Jan

Related

Add category while adding product in OpenCart2.x

I'm working on a webshop using OpenCart2.x. I would like to add category while I'm adding product and assign product to that category.
Just to clarify... Let's say I want to add "HTC One" to category "Android". I would like to go to Catalog > Product > Add Product, enter "HTC One" details and
if category "Android" dosen't exist OC should offer to create new category.
It is possible in wordpress/woocommerce so I hope it is possible in OC2.
Sorry if the question is not for this site.
Thank you!
No, this is unfortunately not possible in vanilla OpenCart. However, I did find somewhat of a trick to make this process a tad bit more convenient.
If you open your OpenCart admin panel in 2 different browser instances that use different sets of cookies (different browser or incognito/no cookie mode) you can make your categories in one instance and then the category auto complete list in your product creation page will instantly update. Not exactly the desired functionality but definitely better than having to switch back and forth.

How to add link to orders page with filter inside link?

I want to add direct link with filter_date_added=(DATE(NOW()) in Dashboard in Opencart's Administration to orders page.
I'm not a programmer and if somebody can help me with this I'll be very grateful.
If you a not a programmer may I suggest you searching the modules on OpenCart modules forum. Alternatively you can edit the order_sales.tpl in view/templates and simply add a column inside that and pull the variable from the PHP module.
The archiecture is found in
admin\controller\sale\order.php
admin\model\sale\order.php
admin\view\template\sale\order_list.tpl
admin\language\english\sale\order.php
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=14230
There is a module out there that allow you to do this for country, viewing sales by country. Maybe you can download and play around with it and try to experiment. It will only help you to become a better programmer.

AdSense with OpenCart

After hours upon hours of searching through stackoverflow and AdSense forums, i am not able to find anything to help me implement my google adsense code in my opencart template.
Originally i put the code in the welcome module hoping it would show up on the top of each page but this did not work at all.
I found an extension called KINZA which was free but once installed, this simply outputs the javacript code on my website and not the actual ad.
My question is this: I would like to have one of my ads up top across the page and maybe one on the sidebar as a thin skyscrapper size. How would one do this ? Where in my opencart template would i implement the code ?? I do not want to spend money on an extension to get this to work. I would rather just dive in the code and paste it where it needs to be.\Any help is GREATLY appreciated.
Thank you !
there are 6 files that are included in every page of frontend
catalog/view/theme/your_theme/template/common/header.tpl , footer.tpl , column_left.tpl , column_right.tpl , content_top.tpl , content_bottom.tpl
you can put your code in any one of these and it should work fine
you can make a module for adsense so that you can control its layout and position from admin .... here is a guide of to make/duplicate a module at opencart forums http://forum.opencart.com/viewtopic.php?t=6696
Opencart 3 onwards does not support google adsence you can not show ads just go for wordpress or any other

Opencart module development - Inject javascript/html code in some pages

I'm a beginner on Opencart and just started developing a module for Opencart which it must inject some lines of javascript and html code in these pages:
- Cart Page
- Product Page
- Confirmation Order Page
- Register form page
The official documentation doesn't have informations about how can i do that, I've tried to find a good documentation about OpenCart but I didn't find anything.
I need help. How can I do that?
Diggin necro topics;) :
The easiest way i think:
upload/catalog/view/theme/[themename]/template/product/product.tpl - here you can add your custom html for product page
[your theme name, you shouldnt overwrite default theme because it can cause damage after update]
It depends on where you're trying to insert the HTML/JavaScript.
Doing things the proper way in OpenCart, you're limited to the column-left, column-right, content-top, and content-bottom positions.
The files you'll need to create are:
admin/controller/module/mymodule.php
admin/language/english/module/mymodule.php
admin/view/template/module/mymodule.tpl
catalog/controller/module/mymodule.php
catalog/language/module/mymodule.php
catalog/view/theme/default/module/mymodule.php
To learn how to do this the first time, it's easiest to replicate an existing stock OpenCart module (preferably a simple one, such as information). Once you've replicated it you'll need to go through each of those files and replace any references to "information" with "mymodule".
After that, if you've done it properly, you should be able to navigate to Admin > Extensions > Modules and see your module in there. Then install it, use the "Add module" button to position the module on all the relevant layouts, hit save and hey presto you have a working module on the front-end.
To modify the front-end output, just edit catalog/view/theme/default/module/mymodule.php
If you want to insert your HTML somewhere other than the 4 available positions OpenCart gives you, position your module in the content-bottom position and use JavaScript/jQuery to inject some HTML where you want.
If this is for your own personal website then as Pawel S suggested it would be easiest to simply modify the relevant view files (ie. catalog/view/theme/[themename]/template/product/product.tpl), however if you're making a module which you plan to distribute then this should be a last resort.
Hope that helps!
I realize this is probably long dead by now, but if you're creating a module that needs to modify existing controllers, languages, models or views the correct tool to use is vQMod.
vQMod allows you to modify existing code on the fly using XML.
https://code.google.com/p/vqmod/

Redesigning the node comment while using the nodecomment module

I am using nodecomment module in drupal 6.2. I need to change the design, look and feel of the comments attached to each node. Since i am using the nodecomment module so , i added few extra fields to the comments which needs to be repositioned and redesigned.
Being a novice in drupal, I have absolutely no idea how do i proceed. Please help
Thanks in advance :)
You can go fairly far with CSS and the "Manage Fields" and "Display Fields" settings of your content type. For more in-depth changes, you can override the node-comment.tpl.php for the comment nodes and view templates for different listings of contents.