Josh Asbury Hace 15 años Ryan - What will be the recommended way to customize this type of stuff from here on out? For example, I typically change the company logo's size in the included CSS block. Also, should other Javascript includes still be added to the bottom of portal_normal.vm? Por favor identifíquese para votar. Contestar como... Cancelar Ryan Park Josh Asbury Hace 15 años Hi Josh,The CSS in that block could be over written simply by specifying a higher weighted CSS selector in you css file. For example,body #banner .logo a {height: 10px; width: 10px}As far as including the JS, what are you attempting to include? You could write your JS into javascript.js in the javascript folder in your theme and it will automatically get included. Por favor identifíquese para votar. Contestar como... Cancelar Josh Asbury Ryan Park Hace 15 años Thanks, Ryan. I'll give that a shot. Regarding the Javascript, I am including some other jQuery libraries like Superfish and Cycle Lite for some of my themes. I thought that adding them via the portal_normal in this manner #js("$javascript_folder/superfish.js")was a good practice -- and then calling them from the theme's javascript.js. How would you recommend including stuff like this? Por favor identifíquese para votar. Contestar como... Cancelar Ryan Park Josh Asbury Hace 15 años Hey Josh, I'm not entirely sure what is the best practice to include another JS library but that is how I would include it as well. Por favor identifíquese para votar. Contestar como... Cancelar
Ryan Park Josh Asbury Hace 15 años Hi Josh,The CSS in that block could be over written simply by specifying a higher weighted CSS selector in you css file. For example,body #banner .logo a {height: 10px; width: 10px}As far as including the JS, what are you attempting to include? You could write your JS into javascript.js in the javascript folder in your theme and it will automatically get included. Por favor identifíquese para votar. Contestar como... Cancelar Josh Asbury Ryan Park Hace 15 años Thanks, Ryan. I'll give that a shot. Regarding the Javascript, I am including some other jQuery libraries like Superfish and Cycle Lite for some of my themes. I thought that adding them via the portal_normal in this manner #js("$javascript_folder/superfish.js")was a good practice -- and then calling them from the theme's javascript.js. How would you recommend including stuff like this? Por favor identifíquese para votar. Contestar como... Cancelar Ryan Park Josh Asbury Hace 15 años Hey Josh, I'm not entirely sure what is the best practice to include another JS library but that is how I would include it as well. Por favor identifíquese para votar. Contestar como... Cancelar
Josh Asbury Ryan Park Hace 15 años Thanks, Ryan. I'll give that a shot. Regarding the Javascript, I am including some other jQuery libraries like Superfish and Cycle Lite for some of my themes. I thought that adding them via the portal_normal in this manner #js("$javascript_folder/superfish.js")was a good practice -- and then calling them from the theme's javascript.js. How would you recommend including stuff like this? Por favor identifíquese para votar. Contestar como... Cancelar Ryan Park Josh Asbury Hace 15 años Hey Josh, I'm not entirely sure what is the best practice to include another JS library but that is how I would include it as well. Por favor identifíquese para votar. Contestar como... Cancelar
Ryan Park Josh Asbury Hace 15 años Hey Josh, I'm not entirely sure what is the best practice to include another JS library but that is how I would include it as well. Por favor identifíquese para votar. Contestar como... Cancelar
Eddie Wang Hace 14 años Hi Ryan,Can I remove the $theme.include($top_head_include) from my theme? If yes, is there any significant effect to liferay functionality Or do you know specifically which head JavaScript can be remove ?? If no, any reason why not? Any suggestions, insights or advice would be welcome and appreciated.Thanks in advance Por favor identifíquese para votar. Contestar como... Cancelar