Tumblr isn't accepting my theme because of non-http urls - tumblr

I changed all http into https but this continues to pop up:
"Uh oh! We couldn't save your theme. Looks like your custom theme references assets from non-HTTPS URLs. Please try again using only HTTPS URLs."
Link to my theme code: pastebin(.)com/raw/0Rr9nHcy

I've just had this same issue on Tumblr. Here's how to resolve it.
Go to Edit Theme > Edit HTML. Go through all of your html and change any links to files (css/javascript etc.) from http to https - this should only links in src attributes, you shouldn't have to change any href attributes. Once you've finished Update Preview and then Save.
If you get the error "Uh oh! We couldn't save your theme. Looks like your custom theme references assets from non-HTTPS URLs. Please try again using only HTTPS URLs." when you save do the following:
Copy all of your theme out to a plain text editor such as textedit. Exit Edit HTML and go back to the Main Edit Appearance screen. Refresh your browser and go back into Edit Theme > Edit HTML. Delete all your theme's html and copy your saved html back into Tumblr's Edit HTML. Now it should save.
Disclaimer: I am not responsible if you delete your theme's HTML without having saved it somewhere first - please follow the instructions carefully!

Related

Sharepoint 2010 Edit Redirect Page

Using SharePoint 2010. I have created a page with an html redirect put in a content editor (the redirect template was not working properly). I need to make an edit to the redirect timer but the page redirects me even when going in checked-out as an editor and I don't have enough time to get into the source. Is there a way to get into the page and view the HTML Source of the content editor without being redirected or stop the redirect as an editor?
You can use SharePoint Designer to edit the page and modify the contents of the Content Editor Web Part in code view.

TinyMCE / Prestashop - get HTML content

I'm currently working on a website and I have to use Prestashop.
I created a back office interface that allows the user to write, edit and delete articles. So I put a tinyMCE editor in it.
The problem is that when I click on 'save' to store the article in the database, it only stores raw text, without the styling content (html tags, bold text etc)
I would like to know how to get the whole content, including html tags, styling etc.
Thank you.
Ok so all I had to do was to change self::TYPE_STRING to self::TYPE_HTML in my Article.php file.

Custom Form not showing up in magento

I am having difficulty getting a form to show on a magento store I am working on. the site already has a contact form so I've copied the form.phtml file and renamed it brochure.phtml.
I've created a static page on the CMS section and added this line of code based on this qusetion
{{block type="core/template" template="contacts/brochure.phtml"}}
When I view the page though nothing shows up. What am I doing wrong? I've never used magento before so please be as detailed in your answers if you can.
CMS -> Pages ->Select your page -> Select "Content" on the left side navigation
Post this code there
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/brochure.phtml"}}
make sure your brochure.phtml file is in the same folder as the form.phtml file. If your CMS page is coming up with the header, body format and the rest of the website layout but the middle content section is plain white then it is not loading your brochure.phtml. If this is the case I would then try loading the default form, so replace "brochure.phtml" with "form.phtml" and reload the page. If you see the default form then you know your brochure.phtml file is in the wrong location.
Hope this fixes your problem.

Magento external theme installation trouble

I'm trying to install a Magento theme.I am trying to install it by coping theme's app,skin and js folder into magento's app,js and skin folder.Theme works okay except the home page.
In homepage's content section i have add this:
<div>
{{block type="catalog/product_list" template="catalog/product/my_template.phtml"}}
</div>
which loads theme's template and sets its design but in my case it doesn't apply the template, What i lack here?
Other Pages like About us,Contact us are working according to theme but not homepage..
In the other pages which are working,content written in content section is directly a data,where in homepage it is a reference to a template called "my_template.phtml"..
help me guys!

Just can't seem to fetch the mobile Gmail html, what is wrong?

I'm trying to cache the mobile Gmail webpage because UIWebView does not cache the content itself (mobile safari does, but not UIWebView).
I tried the methods listed here Reading HTML content from a UIWebView basically saving the html either directly from URLRequest or from UIWebView itself. When I try to put the html saved back into UIWebView it is not the same page!
This is the page that I want to save
alt text http://img39.imageshack.us/img39/5679/screenshot20090830at123.png
This is the page that the html saved will display
alt text http://img39.imageshack.us/img39/8734/screenshot20090830at122.png
If you're loading using loadData:MIMEType:textEncodingName:baseURL: make sure you're setting baseURL correctly - that way, the WebView will know where to look for relative stylesheets and so on.
Edit: For example, if I was saving this page, I'd set the base URL to Just can't seem to fetch the mobile Gmail html, what is wrong?.
That looks like the same page to me, but with different stylesheets attached. If you're just re-displaying identical HTML from your local server, the relative stylesheet paths in Google's HTML would no longer be correct. Also, any AJAX requests meant to run after the page loads would no longer work (both because the relative paths to the scripts would be wrong, and also because Cross-Site Scripting restrictions would prevent them from contacting Google).
Attempting to scrape content from an AJAX-enabled application is no small undertaking. You'd have to replicate a lot of GMail's functionality to truly reproduce the exact page Google presents.