Jump to content
TNG Community
DickvV

(SOLVED) How to remove a frame

Recommended Posts

DickvV

I have slightly adjusted my website https://dickvanvels.nl/genealogie

Under the heading  “Inkijkjes”/"Insights" on my homepage I want to remove the frame for a picture, but I don't know how. If I want to use an example picture, the prompt appears on the spot and when I remove it, the picture disappears, but not the frame.

I am grateful if you could tell me how I managed to remove that box too.

Share this post


Link to post
Share on other sites
MichaelM

seems to be a template problem,

when I examine the empty frame there is a link to the template-Folder  but not to an image

<img src="templates/template15/" class="" alt="" height="100" width="100">    (image missing)

so the page shows an empty frame.

the next picture/Link  seems to be correct:
<img src="templates/template15/img/b_lvvels.jpg" class="" alt="" height="100" width="100">

 

May be, you have to delete all entries of the related part in the template configuration.

 

regards

Michael

 

image.png

Share this post


Link to post
Share on other sites
MichaelM

another workaround is to edit the index.php  on templates/template15     and remove the wrong entry manually.

Share this post


Link to post
Share on other sites
DickvV
Dear Michael,
Thank you for your response. The crazy thing is that when I download the relevant index.php I cannot find the relevant
text and therefore I cannot delete it. I cannot make any changes in the administration menu under template settings.
What could be going on here?

Regards,

Dick



Share this post


Link to post
Share on other sites
DickvV

The explanation of Michael is clear, but my problem is still a problem.

I want to delete the mentioned frame in the index.php of my website. I can do that easily if I could download the text from index.php. But: I only get access to the sections but not the text. So the question is really: what do I have to do to get that text on my pc to be able to edit it. I am really a website-newbie and an other problem is that I am 83...

Share this post


Link to post
Share on other sites
Michel KIRSCH

Dick the response is in the Administration >> Setup >> Template settings : all the unused featuresxxx must be set to blank.

Certainly there are "trailing" information in an unused feature...

Michel

Share this post


Link to post
Share on other sites
MichaelM

Yes, Michel and Dick,

this is the first action to look at the template settings and delete all unused entries.

for example, here:
image.png

 

Share this post


Link to post
Share on other sites
MichaelM

Dick,

otherwise you could send me your  templates/template15/index.php abs I will have a look into it and try to find out what's wrong.

 

Michael

Share this post


Link to post
Share on other sites
cfj

Here is the file as requested

I think this is the code you are looking for.

<article class="post entry">
	<a href="<?php echo $tmp['t15_featurelink4']; ?>" title="" class="alignleft"><img src="<?php echo $cms['tngpath'] . $templatepath . $tmp['t15_featurethumb4']; ?>" class="" alt="" height="100" width="100"></a>
	<header class="entry-header">
	<h2 class="entry-title"><a href="<?php echo $tmp['t15_featurelink4']; ?>"><?php echo getTemplateMessage('t15_featuretitle4'); ?></a></h2>
	</header>
	<?php echo getTemplateMessage('t15_featurepara4'); ?>
	<br clear="all">
	</article>

Oops wrong file.

Here's the correct file from theme 15

 

index.php

Share this post


Link to post
Share on other sites
MichaelM

Yes, Cathrin

but I think I`m wrong.
As long. you havent't changed anything by yourself, the index.php only contains placeholders, which are filled by the entries in the template configuration.

In this case, I think Dick should look into his template config first.

ThankYou

 

Share this post


Link to post
Share on other sites
DickvV

Dear colleagues,

 Many thanks for thinking along!

 I could easily solve the problem if I could change the text I entered at tpl 15/index.php.

 I now understand that I have to do that at templateconfig.php and indeed there I read a lot of my texts but not "Insights/Inkijkjes".  But I'm going to study that now.

To get rid of the hassle, I was in the process of creating a fresh installation, but now the problem is that I can't make a template choice in the template settings; a tpl number does not appear... Does anyone know if there's a bug here?

Regards,

Dick

Share this post


Link to post
Share on other sites
Michel KIRSCH

Dick,

Last chance,

open you phpMyAdmin,

open the tng_templates table, search for template = 15

and you should see all what's in your template 15.

 

Yu can now double-click in the field "Value" to modify it. Make a copy of the table (Administration >> Uilities >> click on the button backup of the template table)

Michel

Dick search 15.JPG

Dick - modify.JPG

Share this post


Link to post
Share on other sites
DickvV

Lot of thanks to you all. I have decided to install a clean TNG 13.03. Managing in MyAdmin and in templateconfig.php did not realise your and my purposes.

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

×