Interspire Template - php

In Interspire I copy a template & paste it then rename it & I customize it according to my theme but when i go into admin & in admin when i click on design mode then there should be site open for making changes but in my new template it is not open in proper way & I am not be able make changes in this mode please tell me why it is happening in my new template only. in standard template it is working properly. Please tell me the region why this is happening when i select my own template in design mode then there is an error in error-console error is :--- undefined xt/javascript">

After you paste the template, make sure the file is readable by the web server. Insufficient right is the main reason you are not able to modify it.

I'm not 100% sure what you mean about the copy and paste. But the best way to create an Interspire theme is to use the default folder or one of the other ready made templates and do the following:.
Let's say you decide to use the "default" theme. Copy the entire folder somewhere on your computer and rename the folder to the name you'd like your theme to have.
If you are changing specific files, copy those files from _master to the correct directories in your new theme folder.
Upload to your server and activate.
Your theme file names have to remain the same. i.e. you can't rename the files themselves, only the top level theme folder they are in.
Then you can open up the files and make your changes inside of them.
Even though it's possible. I stopped using the built in theme editor once we took the step to create our own theme. For one, doing so kept removing our custom panels when we hit the "save" button.

Related

How to override this WordPress plugin template file

So in plugins/yith-woocommerce-ajax-search/templates/yith-woocommerce-ajax-search.php, there is a line I want to change in the label, from "Search for:" to "Search". If I change it in this file, it's fine, but of course I want to keep the change in my own theme rather than modify it here.
So, I copied the entire plugin folder over into my theme folder and made the change, but it's not working. The path is themes/MYTHEME/yith-woocommerce-ajax-search/templates/yith-woocommerce-ajax-search.php
Any clues why this isn't working?
The plugin uses wc_get_template() to load yith-woocommerce-ajax-search.php. This means that you can put the template file directly in the themes/YOURTHEME/woocommerce/ directory, then your template should be loaded correctly.

Magnific Pop up for Wordpress

I have been trying to figure this out for the past couple of hours, but how do I integrate the plugin into a wordpress site?
Because the plugin itself does not have a specific directory to be placed, I am confused as to where the files need to be put in order for it to work. My explanation is pretty vague, as I haven't been able to upload any of the 3 files mentioned into wordpress as of yet.
so there are 3 files:
jquery.magnific-popup.js/ jquery.magnific-popup.min.js/ magnific-popup.css
The end product i need is essentially just a set of gallery items, not restricted by width or height, so I am able to have a website similar to this one here as reference: http://www.three-d-conceptwerke.com/
Each Gallery item opens a pop up that displays several images within each gallery, in which case each item is treated as a project containing several images.
That aside, without knowing how to integrate the files into wordpress, I am unable to work on it. Any clues?
It doesn't matter where you place them - just call the scripts and stylesheets in your header or add them into your functions.php.
E.g. if I uploaded them into a directory called external-plugins, I would just call them as
<link href="http://www.example.com/external-plugins/magnific-popup.css"> <script src="jquery.magnific-popup.min.js"></script>
And add your arguments below. Should work fine in your header.php
Edit: That link you posted pretty much explains everything you need to do - if you can't follow it, maybe you should hire somebody else to do it for you!
The instructions are pretty clear from the link you provided...
Create the directory magnific-popup in your theme’s directory. Download the MP CSS and JS files from GitHub and put both in the magnific-popup directory
You need either use an FTP client like Filezilla or use a File Manager from your hosting control panel to log into your site's file directory. Once you are there, navigate to your WordPress theme's directory wp-content/themes/your-theme/ and create a new directory named magnific-popup. Then upload your 3 files into that directory and follow the rest of the instructions to finish setting up your popup.
If you've found this helpful please mark this as the acceptable answer to your question.

How template synchronization works in Expression engine

i want to use template synchronization for subscription add on testing but when i clicked on template synchronization its not showing anything. i have copied two templates to template folder as you can see in documentation here
Things I have done for this in Global preference are :-
Save Template Revisions: Yes
Maximum Number of Revisions to Keep: 10
Save Template Revisions: Yes
Server path to site's templates: example.com/system/expressionengine/templates
Please tell me if anything else wrong or required.
Synchronization works something like this:
When you do Editing in Files from FTP, It modifies files only. But backup of all template files are saves in EE database.
Synchronization just copy the content of that file and put it in database.
You must need proper permission in templates folder to do Synchronization. Permissions should be 775 or 777
I hope that makes sense.

override wedevs-dokan-plugin template file from theme wordpress

I'm using the wedevs-dokan-plugin (wedevs.com/dokan) for a WordPress frontend user store, which allows sellers to manage their store from the frontend.
I want to override one of the template files of this plugin. The file which I want to override is located at:
plugins/wedevs-dokan-plugin/templates/product-edit.php
And to override this file, I copied the file and made some changes, putting this new file in the theme directory like this:
themes/mytheme/wedevs-dokan-plugin/product-edit.php
But this isn't working for me. After that I also tried:
themes/mytheme/wedevs-dokan-plugin/templates/product-edit.php
But that's also not working.
Is there any way to override the plugin files from within a WordPress theme?
themes/mytheme/wedevs-dokan-plugin/product-edit.php
Instead of "wedevs-dokan-plugin" the directory name should be "dokan" and you can only edit the "templates" directory files of this plugin.
So, the new directory will look like these.
themes/mytheme/dokan/store.php
themes/mytheme/dokan/dashboard/dashboard.php
Thanks

Magento - Customer Login Page Change

I am working on magento and new for magento i use lots of templates now i am working on Magento Classic Theme , i google it alot lots of person says changes possible in base default i will go there and login.phtml file remove code when i refresh on template there is nothing to gone everything will be same
C:\wamp\www\magento\app\design\frontend\base\default\template\customer\form
then i will try to workin on main templates files in main template folder but still there is no change now i am totally confuse how to fix this problem and how to edit the customer login page as per own choice
C:\wamp\www\magento\app\design\frontend\default\f002\template
I need a suggestions and guide from you please help me out in this matter.
Change C:\wamp\www\magento\app\design\frontend\base\default\template\persistent\customer\form\login.phtml
Not the one in app\design\frontend\base\default\template\customer\form
And always look into path by enabling Template Path Hints
Open the admin control panel
Open the system tab and select configuration
Select Main Website or Name of your website (NOT DEFAULT CONFIG) from the Current Configuration Scope drop down
Select Developer on the left sidebar
Open the Debug drop down
Set Template Path Hints To Yes
Click on Save Config to save down your changes

Categories