+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / Promote Scripts and Styles to first-class citizens in the page editor UI

Promote Scripts and Styles to first-class citizens in the page editor UI

5 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    02 May 2013
    Link to this post
    Just about every single webpage is built with css\js...however in sitefinity we're relegated to custom scripts and styles having to be inserted with a couple widgets which seem like an afterthought.

    You can have 5 Css or JS widgets on one page and have no idea what any of them do unless you open each one (nothing gets rendered)...not even like an Alias\Description field.

    Sitefinity makes it really hard to extend a single page...and make it maintainable

    Suggestion:
    Add a link somewhere in the UI for us to manage the custom scripts and styles for a specific page instead of needing multiple widgets.  Ability to link in files directly (as they do now), write custom rules, etc etc...but the bonus being at a glance you can quickly see that the page has custom rules and what they are....again instead of opening multiple widgets and waiting for the designers to render.

    Steve
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    20 Sep 2016
    06 May 2013
    Link to this post
    Hello Steve,

    Why don't you use the advanced options of every page, and include the scripts from there? Screenshot attached.

    Regards,
    Georgi
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    06 May 2013 in reply to Georgi
    Link to this post
    Not even close fancypants

    The problem isn't "how can I include scripts in the header", it's "included scripts and styles are always hidden"

    So not only does this keep them way more hidden, but you can't put any of the scripts into the footer (where they should go anyway).  Or it would also mean we'd have to put stuff into physical files somewhere in the root (which isn't a bad idea, but when you just need like 3 lines of jquery sometimes...bit overkill)

    Just looking for better per page modifications of scripts\styles.

    Steve
  4. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    06 May 2013 in reply to Steve
    Link to this post
    ...also I would have replied sooner, but I don't appear to be able to log into sf.com on my ipad (safari)...am I alone on that?  Login button just does nothing...
  5. Georgi
    Georgi avatar
    3583 posts
    Registered:
    20 Sep 2016
    09 May 2013
    Link to this post
    Hello Steve,

    I've got what you mean about the scripts. I'll log it as a PITS feature request. As for the login, we have similar issue in the Sitefinity login control. Both our web team and product team are notified about this issue.

    Regards,
    Georgi
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered