DickvV Posted March 10, 2021 Report Share Posted March 10, 2021 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. Quote Link to comment Share on other sites More sharing options...
MichaelM Posted March 10, 2021 Report Share Posted March 10, 2021 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 Quote Link to comment Share on other sites More sharing options...
MichaelM Posted March 10, 2021 Report Share Posted March 10, 2021 another workaround is to edit the index.php on templates/template15 and remove the wrong entry manually. Quote Link to comment Share on other sites More sharing options...
DickvV Posted March 11, 2021 Author Report Share Posted March 11, 2021 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 Quote Link to comment Share on other sites More sharing options...
DickvV Posted March 11, 2021 Author Report Share Posted March 11, 2021 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... Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted March 11, 2021 Report Share Posted March 11, 2021 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 Quote Link to comment Share on other sites More sharing options...
MichaelM Posted March 12, 2021 Report Share Posted March 12, 2021 Yes, Michel and Dick, this is the first action to look at the template settings and delete all unused entries. for example, here: Quote Link to comment Share on other sites More sharing options...
MichaelM Posted March 12, 2021 Report Share Posted March 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
cfj Posted March 12, 2021 Report Share Posted March 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
MichaelM Posted March 12, 2021 Report Share Posted March 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
DickvV Posted March 12, 2021 Author Report Share Posted March 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted March 12, 2021 Report Share Posted March 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
DickvV Posted March 12, 2021 Author Report Share Posted March 12, 2021 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.