how to install new oracle apex theme? - apache

I'm trying to install new apex theme but the problem is that I don't know where to put theme images folder in apache webserver?
I tried to put it on the apache/images but this doesn't work
So does anybody know where to put the images folder
Note: I have successfuly imported the .sql file and already switched the theme to the new one.

It depends on how the template references the image files.
By default in Apex, there is a substitution value called #IMAGE_PREFIX# that points to a folder called /i/. This folder, in turn, is just an alias set up in the Apache config (see the dads.conf file to determine the actual location).
Your template should reference images using #IMAGE_PREFIX#some_folder_name/some_file_name, in which case you need to put the images in a folder called "some_folder_name" beneath the directory that the /i/ alias points to.

Related

Cant create new directory inside existing directory in IntelliJ

Im using IntelliJ community version for Spring project, and I have issue with creating new directory named images inside already existing directory resources -> static. When I right click on static and I add new directory images, instead of creating new directory this is created.
Someone could say that it is ok, this is a way new directory is shown, but I dont think that is correct. When I try to remove images directory I can remove only both directories static.images directory. If I try to add new directory into static directory, it goes into static.images and not into static.
So question is how to create directory inside another directory? There is no issue when I add new package inside another package in the src->main->java project structure.
The other person is correct. The directory was created as you desired, it is just displayed differently that you expected.
To verify this, open a shell and list the directories. The following shows all the directories under the current directory.
$ find . -type d
The directory parent is based on where in the path you click. If you click on the word static you will create a directory under the static directory. If you click on the word images you will create a directory under the images directory.

Can't upload theme to Prestashop

So I purchased a prestashop theme from TemplateMonster and the zip file is 324MB and when I try to upload the file in admin, I get an error that the file is too large. I know I can change php settings and maybe get it to work, but I figured I would just ftp it to my server, but filezilla drops the connection when I try to upload it. First, before I change php settings, will it work with such a large file? Also, when I look inside the zip file, I see a .sql file, a psd.zip, readme_en.zip, and 2 other zip files. Do all these files need to be uploaded? Just asking because I'm not sure why the PSD.zip file would need to be included.
413 Request Entity Too Large
Probably the main theme package contains additional assets, but in order to have your theme installed in Prestashop you just need the "main" ZIP theme
(the one that once unzipped contain folders like /assets /templates /modules etc.)
Then you can choose to upload it from your backoffice (you need to set the PHP max_upload_filesize accordingly) or copy the zip directly in your /themes directory and choose the "Import with FTP" option for the "Themes & Logo > Theme > Add new theme" backoffice page.
If you're having trouble with that method too, you can use the "Import from the web"
method by uploading your ZIP in a reachable public URL

How to create new folders on my domain name

As you can tell from the title, I don't know what words that I should use to describe what I want to do.
I just want to be able to change my website's files from:
www.example.com/bark.php
and www.example.com/leaves.php
to
www.example.com/tree/bark.php
www.example.com/tree/leaves.php
While having a www.example/tree.php page as well.
So, I'm working with PHP and am building this with Sublime text editor. Is this an .htaccess job?
Thanks in advance :)
You don't need .htaccess or any programming language.
Simply create the folder, put your files in it, and upload them back to the server. You'll also want to delete the old files on the server as well.
Alternatively, you can rename the files on the server itself. You can either right-click on the target file, and click 'Move'.
You can also drag the files directly by clicking-and-dragging:
The file www.example.com/tree.php is just another file, stored in the ROOT folder. You are allowed to have a folder and a file with the same name.
www.example.com/tree will point to the tree folder, and attempt to access the index at www.example.com/tree/index.html or www.example.com/tree/index.php.
The file www.example.com/tree.php will not be loaded when viewing www.example.com/tree without .htaccess configuration.
Hope this helps! :)

Howto modify Sandcastle presentation style without changing the default installation files

My project uses Sandcastle and Sandcastle Help File Builder to generate documentation.
We're using a customized version of script_manifold.js that persists the user's language preference across pages (the default version resets the language preference with each page).
Currently, the script is located in the Sandcastle\presentation\VS2005\scripts folder.
Is there a way to override this script with a custom version, without having to mess with the Sandcastle installation? That is, can I have a file that is checked into source control along with my source code, and somehow have that file used by SHFB instead of the default Sandcastle one?
Never mind, I found the answer!
In the SHFB project explorer window, you can just create a folder with the same name as the presentation style content you wish to override. This works with any stock content, such as HTML, CSS or JS files. So in my situation, I needed to override the script_manifold.js file which lives in the Scripts folder of the VS2005 presentation style.
So I needed to create a folder called Scripts in my SHFB project, then put my script_manifold.js in that folder.
It all works perfectly. Excellent!

How do I create resource packages with a filetype? NSBundles?

I am not sure what it is called, but I'm looking for a way to create packages (a directory containing a bunch of non-executable files, i.e. images) with custom file extensions. For example, I want to create a theme package named example.theme, which contains a bunch of images. How can I achieve this?
Just create a directory with that name. On iOS, there is no file manager, so you don't have to worry about it appearing as a bundle or just as a regular directory.