Jump to content
TNG Community
DickvV

(SOLVED) How to delete some sections in template 15

Recommended Posts

DickvV

 

 

Dear reader,

In my genealogy website https://www.dickvanvels.nl/genealogie I use template 15. You can see there that I do not want to use all sections.

Under setup / template settings / template 15 I can fill in / change / delete the texts for the various sections. But I don't know how to delete the headings myself, for example sidebar heading 2 and 3. It must be an easily solvable problem, I've done it before but I don't know how to do it anymore. Help!

And also: how do I adjust the dimensions of the images. The portrayed gentleman with a pipe on the home page is far too big ...

Thanks in advance! Dick

 

Various answers appeared to this question, which I was not able to handle at first.

In the meantime I have seen how I can remove any sections in the website via phpMyAdmin. We succeeded . The images are now at the desired size. What I am not able to do is to remove both bars in green color on the right side of the homepage. I have the impression that this has to be done somewhere else than in the database. The same applies to the section "SEARCH" at the bottom right. I also do not know how to remove these.

You may be able to help me with this.

Thanks in advance,

Dick

Only now did I see that there was already an answer from Michael ...
Regards,
Dick

Share this post


Link to post
Share on other sites
MichaelM

Hi Dick,

if there is no option to delete the entries from admin=>configuration=>template=>template15,

I would delete following entires in the template15/index.php manually:

---------------------------------------------------------------------------------------------

                <section class="widget widget_text">
                    <div class="">
                        <h4 class="widget-title"><?php echo getTemplateMessage('t15_sidebarhead2'); ?></h4>
                        <div class="">
                            <a href="<?php echo $tmp['t15_featurelink7']; ?>" title="" class="alignleft"><img src="<?php echo $cms['tngpath'] . $templatepath . $tmp['t15_featurethumb7']; ?>" class="" alt="" height="150" width="150"></a>
                            <?php echo getTemplateMessage('t15_featurepara7'); ?>
                        </div>
                    </div>
                </section>
                <section class="widget widget_text">
                    <div class="">
                        <h4 class="widget-title"><?php echo getTemplateMessage('t15_sidebarhead3'); ?></h4>
                            <a href="<?php echo $tmp['t15_featurelink8']; ?>" title="" class="alignnone"><img src="<?php echo $cms['tngpath'] . $templatepath . $tmp['t15_featurethumb8']; ?>" class="" alt="" height="200" width="360"></a>
                        <div class="">
                            <?php echo getTemplateMessage('t15_featurepara8'); ?>
                        </div>
                    </div>
                </section>

-----------------------------------------------------------------------------------------

regards,

Michael
 

 

Share this post


Link to post
Share on other sites
DickvV

Thanks Michael, Maybe I can find the solution to the remaining problem there.

Dick

Share this post


Link to post
Share on other sites
DickvV

Dear readers,

Thanks to your help, I managed to remove the mentioned sections partly via phpMyAdmin and partly manually via template15 / index.php.

I would also like to delete the section at the bottom right of "SEARCH". I can't find a way for that in the index.php. Who knows what to do?

Regards,

Dick

https://www.dickvanvels.nl

 

Share this post


Link to post
Share on other sites
MichaelM

Hi Dick,

what do you want to delete ?

Login-Button ?

Share this post


Link to post
Share on other sites
MichaelM

Hi Dick,

I had a deeper look into template15-Files (index.php and topmenu.php) and I tried to examine your page.

It seems for this template 15 (in contrary to other templates, for example 18, where I use a modified version) adjustments were administrated by database and not  in a php-File.
 

Now I understand your problem and currently I do not have a glance, how and where changes could be made...

Sorry,

Michael

 

Share this post


Link to post
Share on other sites
DickvV

Hi Michael,

It's a shame, but there is nothing to do about it. The section I wanted to change is at the bottom right of the homepage:

ZOEK - Doorzoek deze site - Zoek

Maybe there is a solution...??

Regards,

Dick


 

 

Screenshot23291.jpg

Share this post


Link to post
Share on other sites
tngrlkrz

Perhaps I misunderstand, but to remove the 'search box' and text, If you remove code in template15 folder's footer.php:

                <section class="widget widget_search">
                    <div class="">
                        <h4 class="widget-title-footer"><?php echo $text['search']; ?></h4>
                        <form method="get" class="search-form" action="helpme" role="search" onsubmit="return searchGoogleWebSite('<?php echo $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']); ?>')">
                            <input name="s" id="GoogleText" placeholder="<?php echo $text['searchsite']; ?> ..." type="search">
                            <input value="<?php echo $text['search']; ?>" type="submit">
                        </form>
                    </div>
                </section>

It will be removed.

image.png

 

Ron

Share this post


Link to post
Share on other sites
DickvV

Dear Ron,

Yes, you can see that I still have a lot to learn. It is indeed a section in the footer!
Thanks for your help!

Regards,

Dick

Share this post


Link to post
Share on other sites
DickvV

Problem solved!

Thanks all!

Regards,

Dick

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

×