Viewing 6 replies - 1 through 6 (of 6 total)
  • Anonymous User 13868920

    (@anonymized-13868920)

    V2.0 is enterily based on Javascript (to be more precise on Sencha Touch). Are you trying to include an additional script in the source?

    For the custom changes, you can always edit the .css files of the theme (themes/base). However since this is a mobile web app, I would recommend against it since the theme structure is quite different from a normal WP theme. You won’t find the regular PHP code in there, all the pages and panels are generated when the app is loaded in a browser and the .css structure is quite complex.

    It would help if you can tell us what kind of custom changes you want to make, so we can add these in the admin panel in future releases.

    Thread Starter dreadnaxt

    (@dreadnaxt)

    In fact my idea is to do both. Modify CSS and include custom JS.
    We have some ads in our blog and in order to better target the visitors we use JS to identify the related ads to show.

    Regarding CSS, it’s mostly adding some styles to the text that is displayed on the page to “highlight” it.

    I don’t know if this is something that can be done in a generic way to have it in the admin panel. Probably something like providing a way to apply custom styles to different div classes?

    Anonymous User 13868920

    (@anonymized-13868920)

    It depends on the custom JS that you want to use. Custom scripts used for tracking can be placed in the head section of the theme, but it’s not possible to add JS in the content (that would mean Javascript code inside another Javascript code). We will add support for ad networks (starting most likely with Ad Words), but that will also be managed from the admin panel and integrated directly in the app.

    Regarding CSS, yes, it is possible to make small changes like highlighting the text. In theory, since it’s a web-based application, you can do with it anything you want, but the Sencha Touch framework is difficult to manage without any prior knowledge about it. If you take a look at the rendered source, you will see quite a lot of divs, that’s why styling each of them from the admin panel would not work.

    Hello,

    Having issues with the plugin as well.
    And yes I have another plugin also using JavaScript

    The plugin is Chitika plugin
    https://www.ads-software.com/plugins/chitika-premium/

    On my Android, the javascript from the chitika plugin gets shown.

    Any suggestions how I can get around this?

    Thank you

    @ariedel,

    Can you please give the the url to your website so we can check the Javascript code that is being loaded?

    If you would like to keep your url private you can contact me at florentina[at]appticles.com

    Problem solved with a patch that will be included in the next release.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘JavaScript in mobile version’ is closed to new replies.