How to Identify a Magento theme - php

I came across a magento website
http://www.gidimall.com/
and
http://www.konga.com/
I really like and I've been trying to figure out which Magento theme its running on. I followed through with some techniques I found online but I didn't seem to get it.
With the following technique, I was able to determine its running on Magento Community Edition
http://www.gidimall.com/giftcard/customer : If you get a 404 Page Not Found error then that means they are NOT running MEE (Magento Enterprise Edition). If you get redirected to a login page that means they ARE most likely running MEE*
identifying its theme is a bit challenging.

You can get theme name by "view source" and find skin which general themes are stored in skin folder, so path would be
www.yoursitename.com/skin/frontend/default/theme-name/
and if it's package then it would be
www.yoursitename.com/skin/frontend/theme-name/default/

you can check in console if there is no caching
if there is caching then you can enable path hints
log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or store view.
Under the Debug tab of the same Developer config page you will see a new option appear that will allow you to turn on/off template path hints.

Related

How to remove Live Chat powered by zendesk in my Joomla website?

I am using Joomla! 3.7.5 and template Helix3. I'd like to remove the Live Chat powered by zendesk. It is the blue help button. See picture.
When the buton is clicked, a live chat appear.
I've been looking everywhere in Joomla configuration, but seems cannot find the setting or page that I need to change. I look at the index.php in the template I used but still can't figure out what I have to change.
you will find it on one of those palces
Solution A: modules
if it's a module, you will find it here,
change its Status to disable
https://you-domain.com/administrator/index.php?option=com_modules&view=modules
Solution B: installer manage
if it's a component, you will find it here,
change its Status to disable
https://you-domain.com/administrator/index.php?option=com_installer&view=manage
Solution C: plugins
if it's a plugin, you will find it here,
change its Status to disable
https://you-domain.com/administrator/index.php?option=com_plugins
Solution Z: it's hardcoded to the template
locally search the while template Helix3 for the word zend
commit it or delete it.
notice that you can enable any of the modules/components/plugins if it's not the one needed
also, make sure to clear the cache
https://you-domain.com/administrator/index.php?option=com_config&view=application

Moving Wordpress site: theme and plugins licenses paid by old website maintainer

I got a little job by a small society which already has a website made in Wordpress. Who made the website used a professional theme license and a few plugins (also with licenses).
The website owner wants to move it to another provider keeping the existing url.
I already made a backup of website and database, imported them in my local host and changed the pointing url in the "wp_options" table. I can see the website but the main slider (a paid plugin) and the admin menu icons are not rendered and I don't know why:
If I inspect the slider, resources point to my local host so I really don't understand what happens.
Anyway, I can't even use the Theme Properties section and I think that both are unusable because of licenses.
My questions are..
Suppose we change provider (keeping the url) and move the website. It could work, even because the url is the same so everything should work as before. Now, can the previous maintainer revoke his licenses for theme and plugins in order to block it?
Or, anyway, should he grant licenses to my customer?
Or, even better, are these problems due to licenses or something else?
In any case, I'm gonna remake the website if something won't work properly, but a full save would be better to spare some time.
Thanks in advance and ask for more info if necessary!
EDIT: as asked in the comments, here is the screen where you can see that resources are taken from my local host:
On the left, you can see that admin icons are "Dashicons" that are in the wordpress folder (already checked).
On the right you can see that slider images point to localhost as I mentioned before.
I already recorded the load network resources and everything is loaded from my localhost but not rendered:
EDIT 2: SOLVED. I used the All-In-One WP Migration plugin as suggested by #Manjunath in the comments. It worked perfectly. Maybe I have done something wrong while manual importing the website. Thanks!

Developing Wordpress theme on a live site

What's the best way to work on a WP theme on a live site? So that the users see the current theme and I can see the one I'm working on. I know WP has a preview theme option, which works, but it has a sidebar that lets you go back to the WP management page, which means when I try to inspect the source it has lots of extra stuff that the actual theme wouldn't have.
Any ideas? Thanks.
Working on a live site is not a good idea. All changes you make will be viewable to your users.
You have two options here. The first option is to create a subdomain like test.example.com and install wordpress there. From there you can do changes to the theme without worrying about the live site. Once done, you can just move your theme over to the live site.
The second and best option is to install wordpress locally on your pc. I use xammplite for that purpose. It works the same as a live install, but it is faster making changes to a theme. Also, if you make a mistake somewhere like a syntax error, you can correct it quickly, no need to ftp a file backwards and forwards between pc and live site.
If this doesn't cut it, your last least favored option is to download a maintanance plugin and put your site in maintainance mode. You will be able to see and test your site, and everyone else will see a maintainance notice

Magento custom category widget not appearing on stage server

I followed this (first comment),
magento - category name and image in static block? to create a simple widget to display the category image and title from a static block on a CMS page. It works fine on my local MAMP version of Magento Enterprise 1.13.0.2. It's not working however on the stage / test environment Magento 1.13.1.0. (ubuntu).
It doesn't error, it's as though it's ignoring the template file (info.phtml). When I reverted to the default theme I realised I had to copy the template files to the default enterprise folder to get it to work but it did (local version). I have made sure that the template folders are in each of the themes, base, enterprise (default), MyTheme (default (which is enterprise default) & (MyTheme / MyThemeVariant)).
The only setting / configuration that appears to be different between the local and the stage is that pretty url's aren't working on the local. I have looked into the htaccess and it still isn't resolved. On both versions the native Category link Widget isn't working but i'm not sure if that is relevant.
I have disabled any extensions turned the cache off and cleared the index. Still nothing.
I have been looking for the answer, retracing my steps, altering and changing back any setting(s) I think may be relevant for 3 days now so i'm well stuck. Anything anyone can offer to try I will give it a go.
So in Magento Enterprise there is also a full page cache that you can access via the Magento Admin here : System->Configuration->System->advanced->External full page cache settings.
On the page System->Cache management, as well as disabling all the caches you should flush the Magento Cache and the Cache Storage.
You might have a 'cache' called Redis or APC, but I don't think that affects .phtml output. and if you can access the Widget in the back end I don;t think those items are the problem.
Your webserver might have a full page cache such as Varnish but I don't know how to use it or turn it on or off.
Theoretically your webserver headers might be saying 'this page doesn't update so internet providers can store local copies in their caches' - but I would be astonished if that was the case (inspect your header and inspect the Cache-control Expires and Last-modifed headers if you want to eliminate this possibility).
Your browser might have it's own little cache (which you can clear from your browser settings).
If it isn't a cache problem, in my experience .phtml files get skipped if they have PHP errors in them but you have it working on your local dev server. Could it be a file permission issue? Could it be a setting in the widget on your server that is not handled by your widgets .phtml? As alast resort, try changing your widget .phtml to a really simple file like <?php echo('test PHP output'); ?> and see if that renders - try putting the widget on different pages (ie new pages that won't be cached anywhere) and see if that get's everything through.
Could you have a namespace conflict with another module? Eg an XML file is changing your widget block XML name that sets the .phtml template? Does your widget.xml file declare <supported_blocks>...</supported_blocks> which might be excluding the block into which you are trying to render the widget?
What else? You mentioned this widget displays category information: Are you referring to a category that exists on your staging server? It will probably have a different category ID than your dev server and / or check the category is visible in the website and store.
Okay, I think I am out of ideas now.
The problem was that "Block" php file's first letter was lowercase. I changed it from info.php to Info.php and now everything works as expected.
This has been the single most frustrating investigation yet into Magento. The only thing I hope is that it saves someone a whole load of pain.

Joomla component not found

I have a site with a really old version of Joomla, upgrade it or not is not my decision, so I have to work with this version (1.5.15).
The problem is on the site, the home page it's ok, loads all css and js, but when I access to another menu item I get: 404 Component not found, but the component exists, and also the url to access to resoruces (css, img, js, etc) is not correct, for example this is the url www.mypage.com, the url of resources is like /plugins/system/rokbox/themes/light/rokbox-style.css, when I access to another menu item the url is like www.mypage.com/index.php/resource_location.
What can I do? Why is this happening?
There are several options to consider:
Someone made a mistake: and changed the SEF configuration, maybe they just disabled SEF or routing or changed the .htaccess;
Someone attacked your site: pretty easy with your Joomla version.
In either case if you lack documentation or information you need to explore the differences, just load a working backup on a folder i.e. working_backup on the same server and run a diff:
diff -qrwbBE working_backup public_html
This will give you a list of different files, if there are none, go check the plugin configuration maybe a plugin was disabled such as SEF, else open them and see what changed.
If you do not have a working backup, download Joomla 1.5.15 from the Joomla version history site and run the same command, you will get a longer list including any 3rd party extensions; but it's reasonable that the issue lies with core Joomla or a SEF extension, it will be easy to pick it up.
Remember to clear the cache: the error may no longer be there but be cached, and the site might lack permissions to update the cache.

Categories