Hello, I have been trying to find the code to remove the version text from the ap div, bt I cant find it. I have looked in myNCleanBlue stylesheet to no availe. Could someone help me out please?............Matt.......
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
Remove Version text from apdiv.
Re: Remove Version text from apdiv.
what is an "ap" div?
Re: Remove Version text from apdiv.
Just remove that whole div if you don't want to show the version etc. just like it says in the template...
{* Start Optional tag CMS Version Information, also is a good example how smarty works, the big star that holds the version number, you may remove it here and the style sheet where it is marked. *}
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
{* End Optional tag *}
{* Start Optional tag CMS Version Information, also is a good example how smarty works, the big star that holds the version number, you may remove it here and the style sheet where it is marked. *}
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
{* End Optional tag *}
Re: Remove Version text from apdiv.
Thanks for the prompt reply, But I cant even find that div, but when I do I would like to remove just the text and keep a graphic. Where will I find this code? I have found were to edit the graphic and size of the div but I cant see where the text comes in from ..........Thanks.Matt
Re: Remove Version text from apdiv.
The code is either in the template, or the footer Global Content Block.
Nullig
Nullig
Re: Remove Version text from apdiv.
I recommend you read all the default content, it really helps understand how this works, link below to 1.8.2 default where you will see the home page, that is the "NCleanBlue" template this comes from...Dr.CSS wrote: Just remove that whole div if you don't want to show the version etc. just like it says in the template...
{* Start Optional tag CMS Version Information, also is a good example how smarty works, the big star that holds the version number, you may remove it here and the style sheet where it is marked. *}
{capture assign='cms_version'}{cms_version|lower}{/capture}{"/-([a-z]).*/"|preg_replace:"":$cms_version}
{* End Optional tag *}
Re: Remove Version text from apdiv.
Thanks Ill go read some for a while. Like most people I just dived in a couple of days ago without reading anything, But I am really loving CMSmadesimple, Ive tried a few and this is as good as it gets. Really .. Thank you.