Josh Asbury Vor 15 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Ryan Park Josh Asbury Vor 15 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Josh Asbury Ryan Park Vor 15 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Ryan Park Josh Asbury Vor 15 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Ryan Park Josh Asbury Vor 15 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Josh Asbury Ryan Park Vor 15 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Ryan Park Josh Asbury Vor 15 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Josh Asbury Ryan Park Vor 15 Jahren 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? Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen Ryan Park Josh Asbury Vor 15 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Ryan Park Josh Asbury Vor 15 Jahren 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. Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen
Eddie Wang Vor 14 Jahren 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 Melden Sie sich an, um auf diesen Beitrag zu antworten. Antworten als... Abbrechen