My Changes Addon Is Not Working In 4.1.3

I am new boy to cs cart. I want to re design my store but I don't know how to make changes in css in cs cart. I have searched for it and got various forum post about [color=#ff0000]My changes [/color][color=#000000]ad[/color][color=“#000000”]don. I have activated it from my addon page but didn't find the directories:-[/color]



[color=#ff0000]1.[size=4][font=arial,helvetica,sans-serif] /design/themes[/font][/size][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]/basic[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]my[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]-[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]template[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]css[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]addons[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]my[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif][/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]changes[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]styles[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif].[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]css[/font][/color]



[color=#ff0000][size=2]2. [/size][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]design/themes/basic/templates/addons/[/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]my[/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]
[/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]changes[/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]/hooks/index/styles.post.tpl[/font][/color]



[color=#FF0000][font=arial, verdana, tahoma, sans-serif]3.[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif] [/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/design/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]themes[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]my[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]-[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]template[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]css[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]addons[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]my[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]_[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]changes[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]/[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif]styles[/font][/color][color=#FF0000][font=arial, helvetica, sans-serif].less[/font][/color]





[color=#000000]I have the only directory named [/color][color=#ff0000]my changes [/color][color=#000000]in this path [/color][color=#ff0000]/app/addons/my_changes[/color]



Now, How can I make changes in css and can I make changes in every class in skin file ???



Please help me.



Thank You

Hi,

You need to create the folder structure and add missing files

Into file [color=#FF0000][font=arial, verdana, tahoma, sans-serif]styles.post.tpl[/font][/color] you need to include styles.css, and styles.less, otherwise will not be included



#[color=#000000][font=arial,verdana,tahoma,sans-serif]styles.post.tpl content[/font][/color]


{style src="addons/my_changes/styles.css"}
{style src="addons/my_changes/styles.less"}




I hope that helps,





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

I have the missing directory and write some code in styles.css body {
background: blue;
}
for testing but its not working.


[quote name='Rajibul' timestamp='1396118846' post='180390']

I have the missing directory and write some code in styles.css body {
background: blue;
}
for testing but its not working.

[/quote]

[quote name='Rajibul' timestamp='1396118870' post='180390']

I have the missing directory and write some code in styles.css body {
background: blue;
}
for testing but its not working.

[/quote]



Maybe you didn't delete the cache.

If all you're wanting to do is to change CSS for the theme in use then it's easier to use the Custom CSS area of the theme editor (or the equivalent file if you want to edit directly) rather than messing about with my_changes.

Please follow [url=“Problem In My Changes Addon - Store Design & Templates - CS-Cart Community Forums”]Problem In My Changes Addon - Store Design & Templates - CS-Cart Community Forums if you wish to edit direct Custom CSS area of the theme editor, as @NairdaCart suggest





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

@Rajibul,


[quote name='Rajibul' timestamp='1396118870' post='180390']

I have the missing directory and write some code in styles.css body {
background: blue;
}
for testing but its not working.

[/quote]



Please try:


body {
background: blue !important;
}




Thanks.

Thanks all for helping me :)

You are welcome





Valentin

[color=#808080][size=2]part of hungryweb.net[/size][/color]

Hi there,

I tried modifying the block template my_account.tpl locatedin the “design\themes\basic\templates\blocks” folder using the my_changes addon.

I put the modified file in the “templates\addons\my_changes\blocks\static_templates” folder but still when I go to design>layout and add a template then the “_my_account.tpl” is not being displayed. I've deleted the cache also.

What should I do?

You need to look at another addon (like maybe news) at the addons/schemas/blocks.post.php file. Essentially you need to give permission for the new template to be available as a block.

thanks tbirnseth.

But how do we modify the permissions within the file mentioned by you?

[quote name='NaMo' timestamp='1396494412' post='180812']

thanks tbirnseth.

But how do we modify the permissions within the file mentioned by you?

[/quote]



There is no need to give any permissions via php scripts to the static templates. Just make sure that the 'My changes' add-on is enabled and the [color=#282828][font=arial, verdana, tahoma, sans-serif]“_my_account.tpl” has 0777 permissions.[/font][/color]

Hi ecomLabs,

The my-changes addon is already enabled and the permission is also set to 0777.

Regards

[quote name='NaMo' timestamp='1396520912' post='180859'] Hi ecomLabs, The my-changes addon is already enabled and the permission is also set to 0777. Regards [/quote]



If you are ready to provide me with the temporary FTP access, PM me and I will check it. Thanks.

Hello NaMo!


[quote name='NaMo' timestamp='1396520912' post='180859']

Hi ecomLabs,

The my-changes addon is already enabled and the permission is also set to 0777.

Regards

[/quote]



Thank you for the message.



It seems that this issue is caused by the template cache. You can clear it in two ways:


  1. By clicking on the Clear cache link (in your store admin panel go to Administration > Storage > Clear Cache).
  2. By removing the var/cache directory of your CS-Cart or Multi-Vendor installation.



    Please let me note that your custom template was added to the templates/addons/my_changes/blocks/static_templates folder, so in this case you should create a new Template block on the Design > Layouts > Your_Desired_Location page in your store admin panel and select the _my_account.tpl variant in the Template drop-down select box.



    Please check the screen shots attached and let me know the result.





    Anastasiya Kozlova

    CS-Cart Support team

    step2.png

    add_template_block.png

Thanks a lot Cs-Cart support team.

Could you be kind enough to answer this post also which is related to SMTP settings for Google apps email. Though this post is very much old but still a solution has not been found out yet nor a proper documentation has been given for it so that a user can make changes.

Regards,

NaMo

777 for a template? Please explain why you are recommending that permission setting. Seems a bit loose.

Hello NaMo!


[quote name='NaMo' timestamp='1396537890' post='180895']

Thanks a lot Cs-Cart support team.

Could you be kind enough to answer this post also which is related to SMTP settings for Google apps email. Though this post is very much old but still a solution has not been found out yet nor a proper documentation has been given for it so that a user can make changes.

Regards,

NaMo

[/quote]



You are welcome! Also, please check my answer in the [size=4]Using SMTP settings for Google Apps Email [/size]thread.



Thank you.





Anastasiya Kozlova

CS-Cart Support team

thanks! work perfect in [color=#000000][font=Times][size=1]CS-Cart [/size][/font][/color]4.1.5 :-)