-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Including the Network and Footer #2
Comments
I like your thinking, Nils. I'll fix that up. What do you think of the location of the Factory assets? Does it make sense to you to have them in a |
When working on Factory, I was thinking about something like As we don't have different network themes so far, I wasn't thinking of that term. In my eyes factory is the new Symphony metaphor for network theme. So if the network will be redesigned in a few years time, this will just be a new version of Factory in my eyes (the name belongs to Symphony, not to us, so it doesn't matter who is in charge of the design). Of course, every network site owner can name these folders as he likes, but certainly the main site will set a standard. So I'd just use Are there any advantages for us to use the more abstract name |
I was thinking ahead to be able to easily apply different themes to the same functionality as what we will be delivering with the ensemble, so, if anyone wanted to create something similar, it might be a relatively simple task to swap out the Factory framework with a different design. That might be thinking too far ahead, but I wanted to at least have that option in mind as I was putting the templates together. I agree that it doesn't really matter, so for now, I will keep it simple and follow your suggestion, Nils:
|
I was considering your request to include the Because the Factory configuration file hard-codes the root URL, it becomes a problem if you want a URL that is going to work across multiple GitHub repositories when generating the GitHub pages and working in localhost development environments. So, this might be the way to go when we get around to deploying, but while this is in development, it's really cumbersome. I am trying to keep the generated HTML files environment-agnostic by generating relative URLs. Do you have any suggestions on how I can pull in the network and footer templates and be able to deal with the dependency on the |
Ah, right, I haven't thought about that when introducing the
We had to hardcode the configuration because we weren't able to generate links that worked across our different environments (localhost subfolders vs. Github Pages). So right now we set the configuration manually on all forks and mark the file as unchanged (not sure if that is actually a Git or a Tower command). I'll have to check that out again. |
For now, I'm doing things a little differently, to be able to dynamically render the network navigation and set the I load the I wasn't successful with GitHub pages (waiting more than 10 minutes to find out there was an error), so I'm testing the HTML on my own domain. |
Just to be clear here, I was able to get the HTML rendering just fine for the GitHub pages. |
Factory bundles two XSL templates for the network and the footer. Our idea was that these templates are used directly so that we can push changes to those areas of all network sites by updating Factory. Those files are static at the moment but they should be replaced by dynamic versions as soon as we have an official XML source on
getsymphony.com
we can use here.So – in order to be future-proof – I'd like to suggest to directly link to
/workspace/assets/themes/xsl/
and remove the identical files in/workspace/utilities/
.The text was updated successfully, but these errors were encountered: