Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a Drupal7 instance example.com.Which has a theme bartik installed and activated.
I want to have a different theme to be shown whenever a page under this section is viewed (e.g. http://example.com/events, http://example.com/node/1). How do I do that?Is their any shot code or drupal modules are available to show different themes based on url?
You can use Drupal module: ThemeKey
ThemeKey allows you to define simple or sophisticated theme-switching rules which allow automatic selection of a theme depending on current path, taxonomy terms, language, node-type, and many, many other properties.
Or, you can use theme callback. Here is a doc
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am fairly new to Woocommerce, but I have an idea for a website, which would include some customization of this plugin. My idea is that instead of products, there could be some other type of data stored in the database like pictures for example. Instead of buying these products people could just put a "like" on them, but towards the engine it would register as a buy. This way I could take advantage of built-in functions like sorting for the most popular items. Is it a good idea or should I consider some other way? Thank you!
For images I would be more inclined to look at something like a Pinterest style theme.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
How to override tpl files and keep them in separate sub-directory ? Some templates like core bartik keeps tpl files in template subdir. How to accomplish the same for custom own template ?
You can put all of your templates files (*.tpl.php) in different subdirectories of your choice as long as they are in the "templates" directory of your theme. Drupal will find them without doing anything more, but you may need to flush caches for him to detect the new templates files.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Is it even possible? If so, do I need to download a plugin to make it work?
(The Wordpress directory is located in webroot/blog/)
I don't want to customize my entire wordpress blog to look like my website when I could just (if possible) display all blog posts on a .ctp file.
Works perfectly with the WordPress API! Thanks.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm new to moodle. I need your suggestions to create plugin which will add a custom field on Add/edit courses page and will also store the input value in mdl_course table.
As of now Moodle does not allow you to add custom fields to a course from the web interface.
However there is a patch available for v1.9 in the Moodle Tracker(MDL-18319).
Please be aware that the patch is for Moodle-1.9 and applying it directly may corrupt your source code if you are using Moodle version > 1.9
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How can we create a drag and drop widget in word press? I need to create a widget and also I need to drag it on my existing sidebar.Please anybody can give me a spark to go forward.
Thanks
WordPress has a base widget class with core functionality and you can extend the class with your own custom class and methods. Check out the following links for some good details and how to's.
WordPress Widget API Codex Page
Creating Custom WordPress
Widgets
How to Make Your Own
WordPress Widget