Jump to content

CMS doesnt work properly


Recommended Posts

Hi I have PrestaShop 1.5.4 Final version and all work perfectly except the CMS.

Basically as you can see in the attachment CMS1.jpg and CMS2.jpg I wanted to create a new page, but I want it to be in 0 level of the top menu. As equal level as HOME and CATEGORIES. But admin panel gives me only option to create page in sub level of CATEGORIES. How can I create a page like FAQs or something else so I can put it on top menu?

 

My 2nd problem is: Admin doesnt give me option to translate the menu item HOME. I found translation forms in admin for every page and every menu item but I cant find for HOME. So in every language it appears as HOME. How am I gonna do that in admin?

 

Thanx for your great script/software/coding but simple things in CMS like above can not be done in admin panel.

post-353921-0-49612200-1373446575_thumb.jpg

post-353921-0-89588300-1373446576_thumb.jpg

Link to comment
Share on other sites

hello

 

everything depends on configuration the top horizontal menu. You can easily add items there (it mean that you don't have to add whole category, you can add separate items from CMS)

 

just take a look:

RV00IjO.png

 

1) select CMS page (you don't have to add whole category)

2) Click add

 

effect:

pNFHRIN.png

 

 

how it looks in front-end:

1Jdy8xr.png

 

 

second question

  1. you're talking about HOME - related to the CMS pages (see images above, there is "home")
  2. you're talking about HOME - related to the categories (products catalog) ?

Link to comment
Share on other sites

Thnx and hi

See your first image there is CMS and Home

I only want to select home so home doesnt show arrow to display its sub cats 8delivery, about us etc.)

Then I want to seperately and individualy choose delivery so it can be a single and independent menu item on top menu, and then delivery the same too. Basically on top menu I want to see Home - About Us - Delivery and none of them has subcats.

You explained the last 2. But the 1st one (Home) if I select that it always have subcats on menu which I dont want.

Link to comment
Share on other sites

ok, now is all clear for me

As i understood, you want to use HOME related to the CMS (not catalog / products)

in this case modification of the .php file is necessary (there is not other way to achieve this)

 

but there is a little workaround

You can create simple "link" to the "home" content category: just use the url: http://YOUR_WEBSITE....category/1-home (you can define different urls to the different languages)

 

here is the way how to I create link like you want (without dropdown)

 

1) I created new HOME link:

kORpSRT.png

 

2) I selected the new "home" link from the left box and added it into the menu

rDeA7CS.png

 

im usually using this method and it works :) here is the effect:

 

sGuQ9In.png

 

I know that this is workaround but this method works. And we have to use it, because without module core modification we haven't got posibility to turn of the "appearing of the subcategories". You can do the same trick for product categories etc.

 

 

moreover, somewhere in your threads you said that you want to change the "HOME" name. Unfortunately, it isn't possible to change this category name in the back office (i think that this feature should be included in the next versions of PS engine - in my opinion it's obvious to have the posibility to change it!). Im going to create another answer in your thread related to this case - i have also workarounds ;)

Link to comment
Share on other sites

you said about HOME here ;) so I continue here my workarounds know-hows ;)

let's do the show :P

 

okay, so if you want to change the HOME cms category name - unfortunately in back office there is no possibility to do that (you know my opinion about that). But you can change it in the database.

In this case you need an access to the database manager like phpmyadmin (it is usually a part of the webhosting control panel). Open this usefull tool, go to the ps_cms_category_lang table, you've got there definition of the NAME and REWRITE link values:

MhkX0t7.png

 

just change the values there, it will work :)

 

 

Another method

 

1) Just create new category!

go to the preferences > CMS configuration page and add new category with "add new" button (wide bar on top)

uUM08KL.png

 

2) define the new category name, use the HOme category as root:

Sv1PpZD.png

 

save the changes. Now you've got new category of CMS pages.

 

3) go to the each category "edit" page by clickin on the edit button on the list:

qoEzpPW.png

 

4) change the CMS category for each page to your new category

Q1NlDRr.png

 

 

do it for each page you want to move to the new category

 

 

Voila! that's all

 

now you can use link to your category which is not "Home" category :)

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...