I am trying to make protostar template BACKEND more user friendly. I want to add a left sidebar with options such as "Fonts", "Layout", "..." etc. I also would like to be able to style the backend options, fieldsets and fields.
Please note: This question is for the Joomla administrator backend and not for the front end site.
I know html and css well but I dont know where to override the backend template manager looks like some of the theme providers do. For example:
https://farm9.staticflickr.com/8609/16244287038_cdff31be92_b.jpg
Thanks
If you look in the administrator/templates/isis folder you will find the default backend template. here you can edit the index.php file to suite your needs. I would make a copy of isis and rename it to something else and then activate it via the template manager in the backend. This way, when the site is updated your template wont be overwritten.
Related
Django shows you forms when you do basic coding, right?
Where is the html of the automatically generated form in windows?
So instead of looking for a template folder, once the developer writes the url or views code, he finds the location of the skeleton-only html that Django shows.
In my opinion, it looks like it's built somewhere like an "anaconda/envs" contains a separate virtual environment, but I can't find it.
it's maybe path?
It's well documented:
https://docs.djangoproject.com/en/2.2/ref/forms/renderers/
It loads templates first from the built-in form templates directory in
django/forms/templates
unless you have 3rd party libraries included that override these templates.
However, a quick check in https://github.com/django/django/tree/master/django/forms/templates/django/forms/ shows that this directory is empty.
tl;dr
Django does not render any forms from scratch (unless it's the Admin which of course creates its whole UI automatically). It just enables you to quickly create a template that can render your form but you will still have to provide a basic template (aka HTML markup with dynamic parts) yourself.
I am coding the website linked below. I want to set it up so that my client can update basic areas of the site (using Wordpress) without going into the code. I installed Wordpress in the Kualo hosting service, but I can't find any tutorials that show me how to enable my client to make updates to this page. If, for example, my client wants to change the menu item at he top of the page to say "DOCUMENTS" instead of "RESOURCES", how would they do that? I want to keep my custom-made html but allow the basic text components of the site to be modifiable by my client via the wordpress interface. Any guidance would be appreciated!
http://layouthuprising.org/LAYU.html
I would like to ask if by buing a Prestashop theme it let me to add or modiffy its HTML source code?
I would like to substitute the "add to card" templatebutton and replace it with a URL to redirect the customer to another website. Would it be possible? So the customer isn't actually purchasing anithing at my site and its only redirecting customers to other sites.
You can modify any html that you want and can put any link anywhere you want if it doesn't contradict theme usage rules. But be aware that prestashop uses smarty templates engine and all html is inside smarty files, so it's better to be acquainted with the latter.
I have this theme http://themes.two2twelve.com/site/fluidapp/light/ installed on my website running wordpress. I converted the template to a wordpress theme by following the steps here: http://thethemefoundry.com/blog/html-wordpress/ and its all working fine.
However, I have now been given the crazy task to integrate a "Back button" function in it.
What they want is to have some sort of Back button functionality (or the browser one) so when they open Team and they press Back - they go back to Home. The template is basically one-paged, you can see so in the source code.
One way I can see this happening is if I make every page a different .php file, upload them to my theme folder and then just hyperlink them. like www.yoursite.com/team.php
Another possible way (I think) would be to create a page.php template file and then post the pages using wordpress. Question: How do I tell wordpress to use page.php as the page template file?
Can you think of another way to integrate this functionality? Thanks a lot in advance.
If it always is going to return the user to the startpage you could just use the home_url(); function.
Back
If you got more advance structure and you want the button to just redirect the user back one page, you should use javascript.
Back
page.php is the default template for wordpress pages. So if no other is selected in admin, page.php will be used.
If you're using javascript to load the new content, you could use javascript pushState()and popState() to log the stuff to new url's, and it gets added to the browser history. Here's an example.
I'm building a theme to be my deafult template to all my wp installs, I've managed to sucessfully create a theme options page and I can integrate them a page theme, but for this to work it is required that I create a new page, for instance, "Privacy Policy", set the page theme to my costum page theme that calls theme options, publish the page, modify the theme options in admin area. This works, but this is nto what I'm lookig for,
What I want is a pipeline that goes like, ->install theme->configure theme options-> done
I want to skip the process of creatign a new page and applying the page theme to it, I would like do this "hardcoded", like, a link in the footer to /privacypolicy.php", problem is that it does not work this way, I'm guessing this would be something related to .htaccess, like adding the permanent redirect to the full themplate directory / targetpage.php / and redirect it to something like "blogurl/privacypolicy", is it? the probleme is I know squat about configuring a .htaccess redirect or whateverm what should I do?
Thanks
Just an idea...what if you setup a clean WordPress install using the theme you developed. Add a page and put in the content that you want (Private Policy) and then extract the page entry from the table that WordPress stores it in and convert it into a sql statement which you then execute when your theme is activated. Make sure though that the page does not exist yet. Hope this helps.