Changing themes doesn't change home page.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Changing themes doesn't change home page.
Hi Guys
I made a mistake posting to the Features section that I would like to change colors on the home page. I have since learnt about themes and how to change them which I did to Sandstone and I like it. However it doesn't change the colours on the home page, just the other ones. Is there anyway to do that or is it too complicated. Thanks very much
I made a mistake posting to the Features section that I would like to change colors on the home page. I have since learnt about themes and how to change them which I did to Sandstone and I like it. However it doesn't change the colours on the home page, just the other ones. Is there anyway to do that or is it too complicated. Thanks very much
- Attachments
-
- Colour-ag.jpg (50.27 KiB) Viewed 5339 times
Re: Changing themes doesn't change home page.
Hi,
the buttons used on the home page are :
btn-warning and btn-info.
So if you want to change that, you need to apply the changes to those two buttons.
As an alternative you can of course remove those classes and add the classes you want to have to display the buttons in a different colour.
the buttons used on the home page are :
btn-warning and btn-info.
So if you want to change that, you need to apply the changes to those two buttons.
As an alternative you can of course remove those classes and add the classes you want to have to display the buttons in a different colour.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Also is there away to get rid of the Icons completely so the text can be centered?
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Sorry Mr Super Hero, I feel out of my league around here so much but I love to learn AppGini. Are those buttons in a hooks file?
Re: Changing themes doesn't change home page.
Hi there,
the button definitions are in the css file, but you should avoid touching them as they will be overwritten once you recreate your app.
A better way is to create your own style definitions (you can copy the defintions out of the base file and change them to your needs).
Or you can apply the css style dynamically using jquery on the element(s).
For the glyphicons, you can remove the using jquery. If you want to apply the changes to all your pages, the footer-extras.php might work out for you.
you can try
$j(function() { $j('#top_buttons .btn-group:first').find('.glyphicon').remove() })
the button definitions are in the css file, but you should avoid touching them as they will be overwritten once you recreate your app.
A better way is to create your own style definitions (you can copy the defintions out of the base file and change them to your needs).
Or you can apply the css style dynamically using jquery on the element(s).
For the glyphicons, you can remove the using jquery. If you want to apply the changes to all your pages, the footer-extras.php might work out for you.
you can try
$j(function() { $j('#top_buttons .btn-group:first').find('.glyphicon').remove() })
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Wow, you are so helpful, thanks for pointing me in the right direction, I will learn what I can from here.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Hi Super Hero
I tried the jquery in both the headers-extras and footers-extras but neither worked. The icon take up a lot of space on the buttons,it would be so nice to be able to remove them. I will continue to learn what I can. BTW I have never understood what is the difference between the footers and headers files and when to use one or the other. Thanks for all your help.
I tried the jquery in both the headers-extras and footers-extras but neither worked. The icon take up a lot of space on the buttons,it would be so nice to be able to remove them. I will continue to learn what I can. BTW I have never understood what is the difference between the footers and headers files and when to use one or the other. Thanks for all your help.
Re: Changing themes doesn't change home page.
Hi,
let me make a guess. You copied the data I posted 1:1 into the hooks/footer-extras.php.
As this is a php file you need of course to put it into the script tags.
let me make a guess. You copied the data I posted 1:1 into the hooks/footer-extras.php.
As this is a php file you need of course to put it into the script tags.
Code: Select all
<script>
$j(function() { $j('#top_buttons .btn-group:first').find('.glyphicon').remove() })
</script>
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Now that is funny!! I just barely know enough that I had to put it inside of script tags and just a little more. Sorry it doesn't have any effect.
ps - When I replied last time I was going to mention that I did put it inside of the script tags. I really hope you enjoy all this help you give because I just love learning more about this wonderful program. I am 73 years old, have been in business the last 50 years and never found any software this useful and fun to use and at the same time develop useful applications that will help people manage their information. I never could figure out Access and Excel was never this much fun or interesting.
ps - When I replied last time I was going to mention that I did put it inside of the script tags. I really hope you enjoy all this help you give because I just love learning more about this wonderful program. I am 73 years old, have been in business the last 50 years and never found any software this useful and fun to use and at the same time develop useful applications that will help people manage their information. I never could figure out Access and Excel was never this much fun or interesting.
Re: Changing themes doesn't change home page.
Hi,
can you post your file here please. Are you using any other script to manipulate the layout?
In my system it looks like this:
can you post your file here please. Are you using any other script to manipulate the layout?
In my system it looks like this:
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
I am referring to these icons.
- Attachments
-
- icons.jpg (36.63 KiB) Viewed 5276 times
Re: Changing themes doesn't change home page.
Thanks for pointing that out. Could not see that in the picture you posted.
you can try
$j('.panel-body').find('.glyphicon-list-alt').remove();
you can try
$j('.panel-body').find('.glyphicon-list-alt').remove();
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
OK I like that Superhero, it works on the bottom grey buttons but not the home page .
Re: Changing themes doesn't change home page.
Hi,
well not sure what page you have there, as i do not habe the detail view on the same page as the index. Aslo I cannot really see what icons there are on the index page.
So you might try
$j('.panel-body a img').remove()
well not sure what page you have there, as i do not habe the detail view on the same page as the index. Aslo I cannot really see what icons there are on the index page.
So you might try
$j('.panel-body a img').remove()
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
This is the index page, I put the latest code in the footers-extra and nothing happened. As I mentioned the previous code worked for the detail pages.
- Attachments
-
- Homepage.jpg (23.35 KiB) Viewed 5258 times
Re: Changing themes doesn't change home page.
which theme are you using?
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
The rest of the pages changed to dark grey buttons but the home page buttons kept there colours.
Re: Changing themes doesn't change home page.
ok,
and what are the icon you have in front of the text? Images, or icons?
If you right click on the icon, do you see a "save picture as" option?
and what are the icon you have in front of the text? Images, or icons?
If you right click on the icon, do you see a "save picture as" option?
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Those are the png icons you can pick for each table
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Yes I can "save picture as"
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
Good morning
This is from my index page. I would like to get rid of the icon, which is of little value no matter what the icon looks like, and centre everything. If I can't get rid of the icon at least I want it to be centered so the text can all fit and it looks good.
Thanks very much for your help.
This is from my index page. I would like to get rid of the icon, which is of little value no matter what the icon looks like, and centre everything. If I can't get rid of the icon at least I want it to be centered so the text can all fit and it looks good.
Thanks very much for your help.
- Attachments
-
- index page.jpg (33.56 KiB) Viewed 5223 times
Re: Changing themes doesn't change home page.
Hi,
can you please post the footer-extras.php you have used.
can you please post the footer-extras.php you have used.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.
-
- Veteran Member
- Posts: 159
- Joined: 2019-02-03 17:26
Re: Changing themes doesn't change home page.
<?php
/*Changing Filter to Red callKenny */
?>
<script>
$j('.btn-group-lg.visible-xs, .btn-group-lg.visible-md').find('#Filter').html($j('.btn-group-lg.visible-xs, .btn-group-lg.visible-md')
.find('#Filter').html().replace('Filter', '<b><font color="red">Search callKenny</font></b>'));
</script>
<?php
/*Remove Glyphicon in child page buttons */
?>
<script>
$j('.panel-body').find('.glyphicon-list-alt').remove();
</script>
/*Changing Filter to Red callKenny */
?>
<script>
$j('.btn-group-lg.visible-xs, .btn-group-lg.visible-md').find('#Filter').html($j('.btn-group-lg.visible-xs, .btn-group-lg.visible-md')
.find('#Filter').html().replace('Filter', '<b><font color="red">Search callKenny</font></b>'));
</script>
<?php
/*Remove Glyphicon in child page buttons */
?>
<script>
$j('.panel-body').find('.glyphicon-list-alt').remove();
</script>
Re: Changing themes doesn't change home page.
ok,
so I'm missing
$j('.panel-body a img').remove()
Can you add this.
so I'm missing
$j('.panel-body a img').remove()
Can you add this.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.