I am a beginner for sitefinity, so sorry for long post, not sure if its already answered, couldn't find out. As working on sitefinity-8, looking for best option to select separate css while creating page each time. I know, I can use different theme for different css, which will not work in my case, as we are having long list of css to use in whole site. Also I know, I can add css or any link into the head tag option of page properties or I can add css widget on the page itself to select css for that page only, but our requirement is to select css file while creating the page itself, this will make easy for novice editors too. Basic thing I tried, to add css script tag into template, made it editable on page. So I can select css, but it exposes server folders, which is not ideal. Wish is there any way so that we can configure to select folder from sitefinity content- Documents & Files. But didn't find out a way to do so. Other thing I tries, I have created custom field (related media-images, videos, files) for page to select a document & use as a link to add into head tag (to say link to add css for page.) With this custom field I can select needed document from appropriate folder from sitefinity backend itself, not from server. When I am looking into page source, I could see the link tag is there, but href attribute is empty. I also tried with adding related media tag into template the page is using, but the issue is same, no any value in href attribute. Struggling to resolve this since long time, seeking for expert's advice.Thanks in advance.
Sitefinity cms related media link to document using custom field, not loading document path url
382 Views Asked by user1805900 At
1
There are 1 best solutions below
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in METADATA
- How to solve the issue faced during running command pip install google-colab?
- kid3 - Import Album Art along with other tags from Discogs
- How do I use class in SQLAlchemy. I have being trying to use class but the table is not creating
- How can I get the currently playing media metadata in rust
- Display custom field metadata encoded multidimentional array value in WordPress
- og:image not found when share on linkedin
- Can Powershell independently extract LYRICS audio metadata from multiple flac files to multiple text files?
- In which format should ISRC IDs be included in an Ogg comment field?
- Externally hosted private app in play store error
- Set picklist Value as default value in a field on sales a engagement Runtime Object
- Azure Search blob metadata split multiple values and map to indexer as seperate values
- Hide empty variation cutom fields displayed in WooCommerce
- How to edit the Samsung Trailer Tag "Timestamp"
- I am creating a metadata scrubber web app can anyone help me how can I remove metadata from images
- Meta Box Oxygen Builder Query Custom Post Type based on current date
Related Questions in CUSTOM-FIELDS
- Update a custom-field by another custom-field
- Fuzzy Searching a Non-Strict Mongoose Model
- How are product fields loaded to order WooCommerce?
- Create custom fields from Wordpress
- wordpress how to retrieve a single custom field value from a custom field array
- wordpress wp_include_post() in custom post with coustom field
- Wordpress get_post_metadata() returns serialized array
- WooCommerce Checkout add-on plugin: Get the a custom field value
- Displaying custom fields values under SKU in single product pages
- Translate custom labels fields in function.php file of my theme
- WordPress meta_query syntax issue
- Get custom fields without _edit_last, _edit_lock, _wp_page_template and _visual-subtitle
- Wordpress admin filter by meta, filter options disappear after search
- Adding user custom field to the order meta-data automatically
- If Custom Field Value : display, if not display another Custom Field
Related Questions in CUSTOM-FIELD-TYPE
- get_post_meta unserialize issue - retuns boolean(false)
- Expression Engine 3: Fieldtype settings - checkboxes
- Create custom field in Magnolia CMS -
- Solr - custom text field is being processed as Long instead of Text/String
- Magento 2: How do I create widget with dynamic fields?
- How to modify how the custom field looks on sharepoint list (allitems view)?
- How to access other model instance fields from to_python in a custom Django field implementation
- When is the formfield() method called in Django?
- Lookup field with multiple locations for SharePoint 2010
- Is it possible to extend SPFieldUrl to have more properties like url or description, to create a custom field type?
- How t set FieldType.USER in sharepoint file property with Java - Invalid data has been used to update the list item
- How to add target window as Pop Up for General Link Type in Sitecore?
- Not save url on meta box custom field after wp update 6.1
- Symfony2 My custom form field type isn't populated with data from entity
- Custom Field in Sharepoint 2010 with multiple Link and Asset Picker
Related Questions in SITEFINITY-8
- Not able to login to sitefinity backend when restoring a copy of its database on a local computer
- Could not find the sitemap node with URL '/login' in sitefinity
- Not able to publish content in dynamic module after sitefinity upgrade to 12.2
- Sitefinity upgrade from 8.2 to 12.2 - Build succeeded but while running the project it gets stuck in between and nothing seems to be happening
- {|Form.Title|} not displaying form title in email subject of a custom sitefinity form
- In Sitefinity, Sitemap generates wrong URLs
- In sitefinity, How to prevent appending default Language prefix in page URLs?
- Invalid root node configured for pages. - Sitefinity on Azure
- Page redirects does not keep the query string part of the URL after sitefinity version 8.2 migration? [asp.net/C#]
- Sitefinity 11 Can't get dropdown selected value on postback in Frontend Widget Control
- Sitefinity 11 Ecomerce Widget is not displaying in right section of page content
- Issue in simultaneous login of web app and sitefinity
- MVC and Sitefinity api
- Sitefinity 8.2 Filtering Back-end by Dynamic Module Items
- Sitefinity 8.2 - Front End Error with Rocketship Image, Cannot Figure out Source
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The custom field path you've chosen should work - you will need a custom widget on the Page Template that will read the value of the custom field. The GetRelatedItems extension method of the page node should give you the document object that was selected.
Having the document the widget will have to inject a link in the head of the page with the proper css attributes.