Jump to content
TNG Community

(SOLVED) How to remove a frame


DickvV

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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



Link to comment
Share on other sites

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...

Link to comment
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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

Link to comment
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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • DickvV changed the title to (SOLVED) How to remove a frame

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...