GithubHelp home page GithubHelp logo

Archived Page Title about wet-boew-php HOT 13 CLOSED

wet-boew avatar wet-boew commented on August 20, 2024
Archived Page Title

from wet-boew-php.

Comments (13)

nschonni avatar nschonni commented on August 20, 2024

Appears to be in the Design spec for archived content so it applies to GCWU themes, but not necessarily any of the other themes.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

Thanks @nschonni

It's easy enough to make it a theme specific feature... I think.

from wet-boew-php.

nschonni avatar nschonni commented on August 20, 2024

I don't think it would hurt to have it in the others, but note the the Archived "plug-in" is dropped in v4. At that point it may make sense to move to the theme, since it will have now core JS/CSS shipped with it.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

Is there something replacing the Archive "plug-in"?

I'm going to have a very large amount of unhappy scientist if I tell them now that we've convinced you to give us control of your legacy content, moved it over to our new site and shutdown the site you had personal access to, oops too bad, it's all being turfed anyway.

from wet-boew-php.

nschonni avatar nschonni commented on August 20, 2024

There is an example implementation here http://wet-boew.github.io/v4.0-ci/demos/archived/archived-en.html, but it now just relies on using other plug-ins for display.
You can see the sample CSS http://wet-boew.github.io/v4.0-ci/unmin/demos/archived/demo/archived.css, but it is no longer included in the core.

from wet-boew-php.

michael-milette avatar michael-milette commented on August 20, 2024

@upsonp - I think adding ARCHIVED: as a prefix to the title is an excellent idea when the setting is turned on.

I would imagine that such a feature would be most appreciated for consistency and flexibility. If TBS decided that "OLD CONTENT" should be used instead of "ARCHIVED" tomorrow, it would be a simple matter of modifying the PHP code and the whole site would be done instantly. Same goes for eliminating typos or modifying formatting of the word.

That being said, we are not using this feature yet as all of our WET-GOC sites we are doing in Moodle are less than 8 months old. Moodle doesn't actually have a way to flag content as archived so it doesn't affect our projects at this point.

Best regards,

Michael Milette

from wet-boew-php.

michael-milette avatar michael-milette commented on August 20, 2024

On a side note, I think the modification should be made to all versions of the theme. If people don't want to make use of the feature, they don't have to.

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

Since I already have something on my code for the archived stuff I'm just thinking that it would be great to just keep what we have but update the code to the latest V4 code.

Agree with @michael-milette that our script can add automaticly the wording in the title only if the isArchived is setup.

So like that you only have 1 thing to think about when you want to archived a page.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

Agreed, I couldn't imagine having to keep track of pages using plain HTML and all the little things that need to be done manually that we're able to do by just setting one flag.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

Ok, I made the merge, then went and made the punctuation updates suggested by @michael-milette

from wet-boew-php.

crochefort avatar crochefort commented on August 20, 2024

I just add it to my site and it's working like a charm! :) THank you guy's!

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

Seems to be working on the BIO website as well. I hope the DFO AETT validator will start ignoring the Archived pages now, I won't know until next Tuesday.

from wet-boew-php.

upsonp avatar upsonp commented on August 20, 2024

I'm satisfied this is complete.

from wet-boew-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.