Jump to content
Sign in to follow this  
bestrag

How plaform-pro css version system works?

Recommended Posts

bestrag

Hi all, Is there any documentation on how css version system works? I did not find it. thanks


bestrag.net

professional dms plugins 

 

Share this post


Link to post
Share on other sites
catrina
To clarify, what do you mean by the CSS version system? Do you mean information on the CSS structure?

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
bestrag
Whenever css code is added to the PageLinesSection::section_styles() it returns baseUrl of css style followed by [ver] parametar. For example: [code] href="path/style.css?ver=1.2.0" [/code] I would like to read documentation on that. Thanks

bestrag.net

professional dms plugins 

 

Share this post


Link to post
Share on other sites
Jenny
I don't know the answer to that, however, if that is from your source of a PageLines theme, it is out of date. ;)

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
bestrag
@simple_mama I do not think this is something that is out of date. If you look at any page source that is built by the latest framework you will see that each style-sheet has its own version parameter. There is nothing wrong with it or anything, it is just a part of the framework that I would like to know about. Please do not mind, I would like to keep this question open to see if something will come up. Each will go through some kind of version system. So I thought maybe there is some info instead of me reading each line of code...

bestrag.net

professional dms plugins 

 

Share this post


Link to post
Share on other sites
Jenny
You didn't provide a link to your site so I was just speaking generally. For example, if you're using PlatformPro, the version would be 1.5.3. I'm just curious though about [i]why[/i] you're interested in this information so we can better help answer your question(s). The version number, at least the beginning, is related to the version of the theme. However, I don't know where the rest of the number comes from.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
bestrag
I just wanted to figure out how does it work. I was wondering if there is any documentation on subject. Thats all. Before I started developing my own sections I did not really care about it. But after I added my own styles and scripts, I realized that I have no clue what affects my version number, nor if there is any benefit I can achieve.

bestrag.net

professional dms plugins 

 

Share this post


Link to post
Share on other sites
Simon
Basically if you include a style.css file in your section it will be auto included if that section is used on the page/post. The version will be the version of the section. Unless its part of the framework then its the framework version.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×