Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / How can I remove or exchange this flah file on the top of categoty?

How can I remove or exchange this flah file on the top of categoty?

Started by magma on 31 Jan 2016, 9:53 PM · Views: 1,087

Results 1 to 12 of 12
1 Feb 2016, 6:25 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

Find this file "lp560ad.swf" and either replace it with yours (possibly named identically) or search your template files for the code to display it and remove

Zen-Venom Get Bitten

1 Feb 2016, 1:21 PM
#3
magma avatar

magma

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Post #3 by magma

I was looking for template... But I can't find. Is this banner? where I can looking for? That's my question.

1 Feb 2016, 3:44 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #5 by mc12345678

magma:

I was looking for template... But I can't find. Is this banner? where I can looking for? That's my question.

There are multiple ways to investigate from where that file is loaded. When you review the page source (I am unable to see it at the moment), there should be some indicators in the area of that file that could be used to search the php code. The php, javascript, html, and css code should be searchable by using the admin->tools->developers tool kit. Keep search terms small enough to be found, representative of something in the code, and preferably unique to minimize the number of matching files. With the results can access the file(s) and make the change(s) necessary. The first suggestion would be to search for the first part of the filename kobra indicated.

If not found, then as described above should be able to tell if in a banner, an ez-page or some other area.

Or now that it took me so long to press the submit button, follow the FAQ that kobra referenced. :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Feb 2016, 5:50 PM
#6
magma avatar

magma

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Post #6 by magma

mc12345678:

There are multiple ways to investigate from where that file is loaded. When you review the page source (I am unable to see it at the moment), there should be some indicators in the area of that file that could be used to search the php code. The php, javascript, html, and css code should be searchable by using the admin->tools->developers tool kit. Keep search terms small enough to be found, representative of something in the code, and preferably unique to minimize the number of matching files. With the results can access the file(s) and make the change(s) necessary. The first suggestion would be to search for the first part of the filename kobra indicated.

If not found, then as described above should be able to tell if in a banner, an ez-page or some other area.

Or now that it took me so long to press the submit button, follow the FAQ that kobra referenced. :)

I can find that file where it is... So just overwrite to original file by new file directly?
Ok.. Here is the other way to ask...
How can I put on the flash file where I want to?

1 Feb 2016, 6:08 PM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #7 by mc12345678

magma:

I can find that file where it is... So just overwrite to original file by new file directly?
Ok.. Here is the other way to ask...
How can I put on the flash file where I want to?

Not sure the question is fully understood.
If you overwrite the old file with a new one (keep the same name but different content) then that new "image" will appear in the same place(s) it did before, but be updated. If you would like the image to be shown elsewhere on the same page or on a different page, then that would require some code modifications. (Either php code modifications, modification of the code that displays the image, or css modification.)

With that in mind, can you describe "step-by-step" what you would like different? What you would like to stay the same?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Feb 2016, 6:19 PM
#8
magma avatar

magma

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Post #8 by magma

One flash file was on top of the polishing category.
It's already on there before I take over this role.
But that old file has wrong information.
So I have to take off that file or replace to new file.
So I was looking for that in banner section in control panel. But not in there and can't find anywhere else.
You mean I have to change source coding directly? If It is, do you know which .php?

1 Feb 2016, 7:39 PM
#9
magma avatar

magma

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Post #9 by magma

If I have to changing source code, I found source file and fixed it...
But If you know some way in the control pannel like banner manager, please let me know...
Thanks

1 Feb 2016, 11:05 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #10 by mc12345678

magma:

If I have to changing source code, I found source file and fixed it...
But If you know some way in the control pannel like banner manager, please let me know...
Thanks

What was the name and path to the file that was modified? This would/might help to identify the applicable admin tool if there is one...

Again, if the goal was to change the content of the .swf file then changing the file would have addressed the issue... (Replace old file with new one, no code changes necessary). If it was to prevent display of any file, that is different, if it was to position the image somewhere else that too is different... Etc...)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

8 Feb 2016, 8:53 PM
#11
magma avatar

magma

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Post #11 by magma

I just marked by comment that part on /includes/templates/mine/templates/tpl_index_categories.php

8 Feb 2016, 8:54 PM
#12
magma avatar

magma

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Post #12 by magma

mc12345678:

What was the name and path to the file that was modified? This would/might help to identify the applicable admin tool if there is one...

Again, if the goal was to change the content of the .swf file then changing the file would have addressed the issue... (Replace old file with new one, no code changes necessary). If it was to prevent display of any file, that is different, if it was to position the image somewhere else that too is different... Etc...)

I just marked by comment that part on /includes/templates/mine/templates/tpl_index_categories.php