Jump to content

[solved] Where can I find CMS tpl Code


Recommended Posts

Good Day,

 

I'm really very new on Prestashop. I'm using presta 1.5 and I want to remove the "browse the mobile site" on the footer since we are not selling mobile devices.

 

I just want to ask where can I find the cms tpl code so I can edit some of the codes. Should it be on my webhost (blueshot) or where....?

 

Please Please help me....I really really need help on this one.

 

Thanks so much in advance

 

Monette

Link to comment
Share on other sites

You can remove the Browse the mobile site under Preferences, Themes scroll down and you will see a section for choices of the mobile them as well as disabling it.

This is not for you to sell mobile devices its for mobile devices like Smart phones and Ipads/tablets to have a layout that better fits their smaller screens.

The tpl files can be accessed with an FTP program they are part of the Prestashop files you uploaded/installed.

Some TPL files are located in ..themes/ others are in ../themes/default/modules some are in ..modules it depends on what part of Prestashop your want to edit.

The module TPL files are located in the two modules folders and page type TPL files are in the themes folder.

For the most part however you do not need to edit these files most of what you will need can be done in the BO.

 

Before editing any files make sure you back them up first in case things go aria.

  • Like 1
Link to comment
Share on other sites

  On 4/8/2013 at 4:16 AM, tdr170 said:

You can remove the Browse the mobile site under Preferences, Themes scroll down and you will see a section for choices of the mobile them as well as disabling it.

This is not for you to sell mobile devices its for mobile devices like Smart phones and Ipads/tablets to have a layout that better fits their smaller screens.

The tpl files can be accessed with an FTP program they are part of the Prestashop files you uploaded/installed.

Some TPL files are located in ..themes/ others are in ../themes/default/modules some are in ..modules it depends on what part of Prestashop your want to edit.

The module TPL files are located in the two modules folders and page type TPL files are in the themes folder.

For the most part however you do not need to edit these files most of what you will need can be done in the BO.

 

Before editing any files make sure you back them up first in case things go aria.

 

Thanks so much. I was able to disabled the link for "browse the mobile site".

 

About finding the tpl file....I still don't how where to find it. I can't find the "default theme folder". I downloaded prestashop using bluehost (webhosting). I'm not sure if I can find it in bluehost website or in prestashop back office.

 

I really want to know where this file folder is located because I want to try to edit some codes. I want to remove the "specials" and "top sellers" under the information on the footer.

 

Please be patient with me...I'm really new in doing this thing.

 

Thank you so much in advance.

Monette

Edited by monette11 (see edit history)
Link to comment
Share on other sites

All tpl files (whose .php file is in the root in this case cms.php included) are in the root of your theme folder. You will have to login to your hosting panel account to view the files. Ask your hosting provider for login details to your cpanel if they offer one or you could use an FTP client like filezilla.

Edited by Doulas Akula (see edit history)
Link to comment
Share on other sites

  On 4/8/2013 at 5:59 AM, Doulas Akula said:

All tpl files are in the root of your theme folder. You will have to login to your hosting panel account to view the files. Ask your hosting provider for login details to your cpanel if they offer one or you could use an FTP client like filezilla.

 

 

This is incorrect information all TPL files are not located in the root themes folder.

Look to my post above as there are multiple locations for TPL files depending on what you need to edit.

Page TPL files are located in the themes folder module TPL files are located in the modules folders.

  • Like 1
Link to comment
Share on other sites

He didn't say that all tpl files are located in root of themes directory. he said: "All tpl files are in the root of your theme folder.Which is correct infomation.

 

Of course, module tpl files are located in modules directory - but they are also (sometimes) located in theme directory ;)

  • Like 1
Link to comment
Share on other sites

The post was edited the original line was:

 

All tpl files are in the root of your theme folder.

 

Sorry but not trying to offend anyone just clarifying what was said.

 

I would not have posted anything had the info been correctly written.

If you notice he liked my post and edited his to be more clear.

 

 

All tpl files are in the root of your theme folder NO they are not

Edited by tdr170 (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...