Magento Success Page Reverts to Default Theme - php

We recently added a new extension to our site that adds multiple serial codes to a product (http://www.modifymage.com/instructions/serial-codes). Everything works great except when you try to purchase one of the items. It gives you a success page that uses the default theme.
Everything appears to be setup correctly in terms of the backend. I’ve already contacted the creator but I doubt they’ll provide any support.
Also, when I view source it says its referencing the right theme but when “Inspect Element” it tells me its using the default theme.
Any ideas? I’m thinking its a template issue but the success page uses the custom theme’s CSS.

This is very unlikely to have anything to do with our extension. Our extension does not interact in any way with the front end themes.
In the Admin Panel, please first go to:
System > Configuration > General > Design
And check the settings under the Package and Themes sections. Please see this forum post for an example that presents itself exactly like the problem you are experiencing and how it was fixed:
http://www.magentocommerce.com/boards/viewthread/281457/
If that is all set up correctly, next try disabling the output of our extension and see if the problem goes away. You can do that here:
System > Configuration > Advanced > Disable Module Output
Disable Mmsmods_Serialcodes. If this doesn't fix the problem, make sure the design file template/checkout/success.phtml is located in your design theme folder.
I hope that helps. If you are still having problems, or if you have any additional questions or concerns, please notify our support department once again.

Related

How can I successfully use a WordPress plugin to add styling to a website?

Some people are already styling their own websites, so is it possible
How do I get an html/css form to post to Gravity Forms?
Here is the link that also recognizes the problems that wordpress has, with users adding code, but it says if you download this plugin, your problems will be solved: Raw HTML plugin.
Here are the instructions from the website above:
To install the plugin follow these steps :
Download the raw-html.zip file to your local machine.
Go to ‘Plugins -> Add New -> Upload’.
Upload the zip file using the provided form.
Activate the plugin through the ‘Plugins’ menu in WordPress
Alternatively, you can search for “Raw HTML” in ‘Plugins -> Add New -> Search’ and install it from there, or unzip raw-html.zip and
upload the raw-html directory to your /wp-content/plugins directory.
I generally get to the point where I download the plugin (step 1, raw form) and then I am unable to proceed further. What should software I open the plugin with or do I need to go online (and where) to download the correct software?
Basically, I found out that certain software is required, not the plugin, to allow styling to the website. The link to access this feature is: how-to-use-plugin-not and she explains step by step. This thing type is for people using CSS, Bootstrap, HTML5, and JQuery. As far as I can see, no amount of research shows that a plugin is necessary but I was correct that certain preparatory steps were necessary. This is different than and unique from other methods of deeper coding.
Going to GitHub for an online portfolio would be more appropriate (shows your mastery more). This is according to Joshua Scott from free code camp but WordPress is great to develop CMS skills according to Jamie Schmidt, a developer for eight years.
The quick and dirty way that doesn't need any plugins or fiddling with the theme: throw your code into the content of the page you want it to appear on. Adding in the body is perfectly fine, and linking stylesheets outside of head works, even though it's not allowed in the specifications.
To do it the right way, you'll have to get your hands dirty and use a custom template file for the HTML and add your scripts and styles via wp_enqueue_script/wp_enqueue_style.

schemaorg Module Drupal 7 is not working

I have installed schemaorg Module in Drupal 7 Project, and have followed instructions in this video.
But it is not working for me.
I have tested it on this link.
But it is showing me the following result:
0 ERRORS 0 WARNINGS 0 ITEMS
And in source code as well I am not able to find any code for micro data...
Enable core RDF module along with Schemaorg module. You won't see any changes. If you go to admin area for content type there will be some new options. The link for all available types you can use: http://schema.org/docs/full.html
Please read this great article: https://www.lullabot.com/articles/how-does-rdf-work-in-drupal-7
UPDATE
I did some research, apparently according to google, JSON-LD is the recommended format, not RDFa as I thought. I fired up a new project on https://simplytest.me and I installed schemaorg module first. I had errors when I paste code snippet from Person content type, check here, but when I removed sioc:Item foaf: from typeof="" the errors were gone. Check here. Apparently you need to find the way through your template file to remove those extra lines in order to work from google search engine.
I tried new solution, and installed module which worked rightway from installation, which supports google JSON-LD, and the results were perfect!! The name of the module is structured data but you also need to install all dependencies, I think meta tags module, token.
When you visit the page in admin/config after installing you will see at the bottom of the page STRUCTURED DATA (RICH SNIPPETS) - MAIN CONFIG where you can add site name and logo. When you create new content let's say article, on the left sidebar you will see Meta Tags, if you want to add some futures, or disable.
Just to add that it is very important the theme you are using. If you are using custom theme (like from your example) bear in mind that HTML code should be well structured.
There is also nice article adding structured data to Drupal 7 nodes, with some examples which can help you to dive into tpl files.
I hope it helps

OpenCart Theme 'MarketShop' slider issue

I'm using an opencart theme called MarketShop and as part of the theme it comes with a featured slider on the top of the website. It was all functioning correctly this morning, I went to edit the pictures by removing the original module and recreating it with a different banner. Now the module has been created but its not showing up on the website.
What have I done wrong?
I believe the two modules have identical information but I could be incorrect.
I've tried reupoloading all files from the theme and just skipping any that were identical in order to try and find the missing file with no luck.
Any suggestions besides doing a factory reset are much appreciated!
UPDATE:
Doesn't seem like anyone is able to determine the fault... Going to do a fresh install unless someone wants to first login themeselves and see if they can find the problem?
I managed to resolve this issue myself finallly after a LOT of playing around!
Steps I took to fix this issue were as follows..
First I uninstalled the module and reinstalled (It deleted all tests I made + the original demo items).
Then I clicked the install button again and went to edit.
I added one slideshow item and choose my banner that I'd setup earlier via the banners link in the admin panel.
I then went to LAYOUTS which is found next to the banners link or after you click save in modules at the top a hyperlink to layouts is offered.
Upon going to the layouts section and playing around here for even more time I worked out I needed to go into the Homepage file and click edit (NOT THE ONE NAME DEFAULT)!
I tried this numerous times with the DEFAULT page (Note that my store is even set so that the default theme is default which led me to believe that was the right page, which it is not.
So go into homepage and click edit.
Then add one module with the blue plus. Select the module you've just created earlier. Position it where you want it on the page (to get it to work for me I selected "Content Top" and Sort Order I set to 1 (The other two modules had sort orders of 2 and 3)
And that was that, problem solved!
Hopefully this will help anyone else with similar issues.

Joomla FrontEnd Editing breaks shortcodes

I have a joomla website in localhost.
I installed a template called Helix 2 which also has a set of Shortcodes. (i just put in something like [block]blah blah [/block] and my blah blah is highlighted in a nice looking box.)
I posted beautiful looking articles that way from BackEnd. Unfortunately, I have setup some users to be able to edit those articles from frontend. I have manually checked the Database and the shortcode is saved in the database. But when clicking edit in frontend, THAT DATABASE VERSION is not loaded in the edit field! When editing from frontend, the joomla engine DOESNOT load the database version of the article, but the version rendered from the browser or something else. The latter version doesn't have the shortcodes. So, after clicking save from Frontend the original article formatting is lost! I then have to manually reenter shortcodes in the frontend.
So the solution is, while clicking on edit button, if the article for editing is loaded from the database I can see my shortcodes in their proper places. So, is there a setting anywhere in joomla that can help me out with this?
PS: I HAVE TRIED ALL EDITORS TINYMCE, JCE, EDITOR-NONE WITH SAME RESULTS. ITS NOT THE EDITOR PROBLEM.
Which Joomla version are you using?
In Joomla 2.5 if you use a user from a different group, checkout the text filter options tab in the general settings. If you login as a super-admin and the setting for that group is "No filter", please try to change to "default blacklist" than save. Clear all joomla cache (just to be on the save site). Than change back to "No filter" option.
I have seen complaints on the joomla forum that the No Filter option while default set in some cases is not properely set. Resetting it to default blacklist and back to "No filter" might solve that problem.
What a simple solution and I had to spend so many sleepless nights surfing for a solution. In my site http://lokkatha.comthe problem was persisting for quite some time. However, with the help of the solution suggested by Wouter here, I could sort it out. the process is
Go to BACKEND ADMIN >> General configuration >> Text filters
Covert all filters to NO FILTERING The problem is solved.

Zen Cart Custom Template Problem

I have been asked to upload a Zen Cart site to my servers and have done so fine.
I am getting a problem now with the fact that the client has uploaded his custom template into the includes/templates folder and selected it in the admin - but it still wont load it. instead it just loads the template_default style.
I am been through every document I can find and have performed the 'reset' of the Layout Boxes Controller, but nothing seems to resolve it.
Can anyone tell me if there's a file I need to tweak or something to make sure it loads my custom style?
Cheers,
C.
One solution would be to overwrite the default theme with yours. I know this is not what you are asking, however, it would solve your issue.
Zen Cart templates can be really simple or really complex. So installing them can be easy or complicated. The files are probably in the wrong place, or not completely installed. It's easy to make a mistake. Just in case, here's the outline:
1a. Simple - Copy the cart template files to includes/templates/your_template_name/.
or
1b. complex - Copy the cart template folders to includes/.
2 Go to Admin > Tools > Template Selection and click Edit.
Select your_template_name. (If you don't see your_template_name something has gone wrong.)
3 Many templates install with the sideboxes turned off. Go to Admin > Tools > Layout Boxes Controller and edit the sideboxes to turn them on.
One idea for trouble-shooting ...
Look at the database template_select table. What template_dir is set?
If this is happening, double check the file includes/templates/YOUR_TEMPLATE/template_info.php. This file is used by the system to determine if a folder under includes/templates is actually a template, and things won't work without this file. Once you've set this file up, go back to admin->tools->template selection and try re-selecting your custom template.

Categories