Making a custom background in Joomla subway theme - joomla

I'm relatively new to Joomla. I do have some experience and can make a pretty good website though. What i am struggling with is importing my own background image into the subway theme? I have done some searching and people keep saying to overwrite one of the images in the 'background' folder. Seems simple enough, except that this folder doesn't seem to exist anywhere! Any help would be greatly appreciated, thanks in advance!

The folder must exist. You should be looking for
templates/yoo_subway/images/background/
Then you will have a choice of 8 folders, depending on what preset you are using for the template.
If you still somehow seem to struggle with this, please provide a website link.
Regards

Related

How to freeze figma version?

Often during development designs get updated and we want to avoid this. Interesting how other people freeze figma version and whether it's possible. We need somekind of snapshot link which can't be changed neither by designers nor by developers.
when you give the link, you have the options to set the permission. change permisiion to view only for other users that see your screens created in Figma.
Currently, there is no such way to share the file version wise. What I do in this situation, export the Figma document & rename it something like "app_design_v1.0_02_feb.fig".
And then share the file with devs and other stakeholders. Telling them to import the file on their own.
Another solution is to use "Pages". Though it's not very handy for large design projects. You can name your pages as "app_design_v1","app_design_v2" etc. So that everyone knows what they have on which version.

Joomla1.5→3.9: Old Artisteer template breaks at a certain variable

I'm migrating a site from joomla 1.5 to 3.9. This is also my first time ever touching Joomla, so I'm on bare grounds.
So far, I've managed to install joomla with a fresh install, and template is almost there. We're planning on moving the data manually, since the database is filled with weird stuff from past hacks. Customer wants the template to be as it is, so no new visual things has to be changed.
Whenever I want to view an article, the whole thing crashes.
I have pasted the entire code from /html/com_content/article/default.php onto https://pastebin.com/Lr6padqf.
The site breaks at $canEdit on line 5.
I've searched far and wide, and can't find any solid solution.
Thanks in advance.
Did changes here and there, and only solved things "partially".
Solution was to delete the com_content folder, which is inside the html folder of the template.
This solution is apparently found everywhere if one googles right. :V

Can I reference a theme, that resides in one database, in another database?

I was just looking into referencing css files in a theme, that reside in a different database and I was wondering:
Could I reference a whole theme that resides in a different database as well with "extend"?
The reason behind that is: Would it possible to keep themes in one central database that can be used by all kinds of applications and therefore, if there should ever be changes to the themes, they only have to be changed in one location and not in every application.
Thank you for your responses in advance.
no I don't think this is possible (happy to be wrong if someone else knows it is?)
to keep all your theme files in a central spot, an XspLibrary in an OSGi plugin is a good solution, however it is a steep learning curve if you haven't done this before. The benefit is once you know this technique it opens the door for 'centralizing' other parts of xpages.
you deploy the plugin to each server and each client if using xpinc, and the every nsf can use a theme from that plugin.
there are a few 'getting started with xpages plugins' articles popping up around. check through planetlotus.org (I'll edit this answer later with some links)
once you know how to do an XspLibrary, you can then download the source code of the bootstrap4xpages project on OpenNTF to see how they are serving up their theme from a plugin.
it relies on the Extension library though so if you don't use the exit lib you could reverse engineer the necessary parts of that project too!
this bootstrap project was set up by Phillipe Riand who was the chief architect of XPages, so it should be a good example!
I am halfway through creating a video series on doing a theme from a plugin but have temporarily lost motivation :(. I might finish it sometime this year, if I do I will post a link to it on this answer. in the meantime I am happy to answer any questions you have about it if you want to give it a go.
otherwise, a quick and dirty solution would be put the theme files / CSS / images directly on the file system of the domino server, where the other theme files are. 'Mastering XPages' might have some advice about this but I don't have it with me right now :)
I think the short answer is you won't be able to load just a theme from a different database.
Each NSF has it's own JVM, sitting on top of the server JVM. So you can extend a theme that's sitting on the server, but not one in another NSF.
XPages Single Copy Design loads a theme from a different NSF by effectively loading the template's JVM. So it's the theme, but also all other design elements.
Jesse Gallagher's done some work in OpenNTF Domino API to allow you to load an XPage or Custom Control from another database, but I'm not sure if that would work for a theme.
If you want to design once and use in many, you can add the theme to the server itself. Looks for the OneUI elements to see where you need to store it (or it may be mentioned in Mastering XPages). You can only nest themes to five levels, but you should be fine.

Show which images are used and which are unused in a website directory

This is a little bit of a strange question.
I've been working on a website and in it's early stages of development it went through some drastic redesigns (several of them in fact) and now the directory is bloated with images and assets which were part of the old designs. Some of these assets were re-used and some were not. The server space of which I'm uploading the website is smaller than the website at the moment and I know once I clear out the old assets that it'll fit on the webspace.
I'm basically wanting some magical tool to filter out which images have been used and which have not - so ultimately I can remove the ones that have not been used.
I ask it in this forum because if there isn't a magical tool to do this (I sincerely hope there is), I'll need to write some sort of script (PHP perhaps?) to accomplish this.
I have never found one, and tend to take the approach of manually removing old images that I can easily tell are no longer needed. And accepting that I will not get them all.
The reverse approach to this is to remove all of the images, and see which ones are needed ( using firebug or suchlike to identify missing images on the pages ).
The problem with an automated tools is that images in css and code may not be picked up. If you set an image in code, from a range of parameters, how can any tool find that?
I hope someone else can come along and prove me wrong....

Remove file extension from a URL

I am trying to make my site look more professional by removing the html endings from the pages..
ex. just leaving at http://33tpm.com/es/tienda
All the answers Ive found so far are so confusing that I don't really understand anything..
Can someone please help me out?
Thank you
Thomas
It's hard to answer this without knowing what web server you are using.
On Apache, you would usually use mod_rewrite to change the appearance of URLs without changing the underlying file structure. An example of hiding .html would be:
RewriteRule ^/some/directory/(.*)$ /some/directory/$1.html

Resources