I am using Joomla 2.5 and Sobipro. So when i visit an added entry, the url is mywebsite.com/menuitem/entryid-entryname and i want it to be mywebsite.com/entryname without the entry id and without the menuitem name. Is that somehow achievable?
Using SEF Components is te best solution, they have Custom url rewriting tool in their own.
Use AceSEF :
http://extensions.joomla.org/extensions/site-management/sef/10019
Great tool for rewriting urls!
You can use sh404SEF Component for url rewrite in joomla 2.5
Awesome Component, use this.
Related
I may not be understanding something obvious, but I'm struggling to add a (top-level) menu item to my Wagtail based menu that hooks to a page rendered by an included app that doesn't know about Wagtail. Ideally, it is just a normal Django TemplateView with standard urlconf, though I may need to add some custom code.
If I use the custom URL in the menu editor, I get a not found from Wagtails core.serve. I've looked at snippets, wagtail hooks, RoutablePageMixin, and the custom URL in the menu editor and none seem like it accomplishes what I'm trying to do.
It may well be that I'm simply misunderstanding the docs, but is there a simple example of someone doing this? The closest I've found so far is https://www.caktusgroup.com/blog/2016/02/15/wagtail-2-steps-adding-pages-outside-cms/. I've also searched https://docs.wagtail.io/en/v2.4/advanced_topics/third_party_tutorials.html to now avail. Any guidance appreciated.
Thx,
--Don
Hope this is useful, but it seems that my problem was not the mixing of Wagtail and non-Wagtail items - it was in my URLConf - Wagtail.core.serve occurred before the Django url I was trying to reach and was trying to respond. Once I reordered the URLConf appropriately, I am getting the view as I wanted.
Sigh...
I am a beginner in web design(C# - MVC - Razor).
I need a template for admin panel.
What is different between templates(wordpress or joomla or html or php or ... )?
Is razor has nothing to do with the type of template?
What type of template is best for me?
What I search for a template model?
I'm confused. help please.
thanks for your time.
Any template will and can work, you just have to manually port over the structure to match (ex. by default some templates have their javascript stored in a folder structure called "js" but MVC framework has theirs under the folder "scripts") . The easiest templates I've found to convert over can be found by using the search term "bootstrap themes" The "one page" themes are especially easy to port over.
To be honest, all you really need to understand is basic css, js mappings along with how the layout pages/BundleConfig work in .Net MVC.
As far as admin panels, these convert over with relative ease:
https://startbootstrap.com/template-overviews/sb-admin-2/
https://wrapbootstrap.com/theme/inspinia-responsive-admin-theme-WB0R5L90S
I have to work on a Joomla 2.5 Template. Is there a way to work on a template even the site is Online but only I can see the changes?
I thought that I do something with a get var &switch=true
and then ask for this var in my template and output a new css file. But as I also have to change something the dom this way is not working.
Is there something like -> when I am logged in at the Backend as admin, Joomla takes the new Template and all other visitors see the normal life Template?
Kind regards,
tbook
You just have to add a parameter to your url
http://example.com/joomla/index.php?template=beez5
I am designing a very small website using basic HTML. I usually use a CMS but it has been a while since I did just HTML files, I was wondering if there was some sort templating where you can have like areas like a "Master template" and when a section is changed or added to the rest of the HTML pages that have those sections change with it. Like a common header and footer so I don't have to make the changes in each page if I need to make a change to an element.
I am using AptanaStudio 3 and was wondering if there was a feature like that as there is in Dreamweaver. I don't have Dreamweaver installed on my new computer, so taht is not an option.
Thanks in advance
You can try server-side includes (SSI): http://www.htmlgoodies.com/beyond/webmaster/article.php/3473341/SSI-The-Include-Command.htm
I'm a beginner on Opencart and just started developing a module for Opencart which it must inject some lines of javascript and html code in these pages:
- Cart Page
- Product Page
- Confirmation Order Page
- Register form page
The official documentation doesn't have informations about how can i do that, I've tried to find a good documentation about OpenCart but I didn't find anything.
I need help. How can I do that?
Diggin necro topics;) :
The easiest way i think:
upload/catalog/view/theme/[themename]/template/product/product.tpl - here you can add your custom html for product page
[your theme name, you shouldnt overwrite default theme because it can cause damage after update]
It depends on where you're trying to insert the HTML/JavaScript.
Doing things the proper way in OpenCart, you're limited to the column-left, column-right, content-top, and content-bottom positions.
The files you'll need to create are:
admin/controller/module/mymodule.php
admin/language/english/module/mymodule.php
admin/view/template/module/mymodule.tpl
catalog/controller/module/mymodule.php
catalog/language/module/mymodule.php
catalog/view/theme/default/module/mymodule.php
To learn how to do this the first time, it's easiest to replicate an existing stock OpenCart module (preferably a simple one, such as information). Once you've replicated it you'll need to go through each of those files and replace any references to "information" with "mymodule".
After that, if you've done it properly, you should be able to navigate to Admin > Extensions > Modules and see your module in there. Then install it, use the "Add module" button to position the module on all the relevant layouts, hit save and hey presto you have a working module on the front-end.
To modify the front-end output, just edit catalog/view/theme/default/module/mymodule.php
If you want to insert your HTML somewhere other than the 4 available positions OpenCart gives you, position your module in the content-bottom position and use JavaScript/jQuery to inject some HTML where you want.
If this is for your own personal website then as Pawel S suggested it would be easiest to simply modify the relevant view files (ie. catalog/view/theme/[themename]/template/product/product.tpl), however if you're making a module which you plan to distribute then this should be a last resort.
Hope that helps!
I realize this is probably long dead by now, but if you're creating a module that needs to modify existing controllers, languages, models or views the correct tool to use is vQMod.
vQMod allows you to modify existing code on the fly using XML.
https://code.google.com/p/vqmod/