Page 1 of 1
correct source to header
Posted: 12 Sep 2012, 15:26
by malsadiq
hello
may you help what is the correct path for the header in mobile version.
href=?/img src=iv-includes/images/mobile/mobile-start-header.jpg
how it will be written
Re: correct source to header
Posted: 13 Sep 2012, 03:33
by mjau-mjau
This is explained here in detail:
https://www.photo.gallery/documentation/mobile-guide/
<img src="iv-config/startpage-mobile-header.jpg"/>
Re: correct source to header
Posted: 13 Sep 2012, 05:47
by malsadiq
this is not working with me :
the photo placed in iv-config folder
<img src="iv-config/startpage-mobile-header.jpg"/>
and after saving it in admin page it became same as this :
img src=iv-config/startpage-mobile-header.jpg/
even I removed the slash at the end still problem there, only link I can see from mobile view
how can be solved??
Re: correct source to header
Posted: 13 Sep 2012, 12:23
by Nick
This has been discussed on forums before:
viewtopic.php?p=30647#p30647
viewtopic.php?p=28641#p28641
You have PHP 5.2.17 which came with a buggy libxml:
libxml Version 2.6.32
Please contact your hosting provider and ask them to upgrade libxml, if they refuse - change the hosting. This version of libxml can't parse XML correctly.
Re: correct source to header
Posted: 13 Sep 2012, 14:23
by malsadiq
thanks alot
they did not agree to do that , so how I can add the link of the header directly in the main file (in which file to be added) so can be appeared correctly .
best regards
Re: correct source to header
Posted: 16 Sep 2012, 08:51
by Nick
You would need to edit iv-includes/templates/mobile/layout.phtml I think. Here:
<?php if ($theWelcomeHTML = $theConfig->get('/config/imagevue/mobile/heading')): ?>
<div class="heading"><?php echo t($theWelcomeHTML) ?></div>
<?php endif ?>
Replace this with
<div class="heading">your image</div>
But really, this is ridiculous, how they could not agree to upgrade their server to a non-buggy version of php.
Re: correct source to header
Posted: 22 Mar 2013, 10:49
by chrismarquesfoto
Hello Nick!
I have the same problem!!! Please help me! could you tell me a software to edit the code? I not understand anything of programming...
thank you!!!
Christiana
Can't upload my customized Header!!!
Posted: 22 Mar 2013, 14:31
by chrismarquesfoto
Hi everybody!
I have a problem with my hosting provider and they did not agree to upgrade libxml and I can't edit my header directly in admin.
I get adobe Dreamweaver and made the changes in the layout (iv-includes/templates/mobile/layout.phtml). Just saved and uploaded by FTP. I also put my customized header called "site-mobile-header.jpg" into 2 folders: iv-includes/images/mobile and /iv-config, but the problem continue the same! No header!!!
Maybe the problem is in the code!? Here is a copy of this:
Please? What is wrong???
Thanks!
Re: correct source to header
Posted: 23 Mar 2013, 06:33
by Nick
You have PHP5.2.17 with a buggy libxml. Please contact your host again and ask them for an upgrade. Here is more information:
https://www.photo.gallery/documentation/trou ... #html_tags
If they refuse - why not switch hosting? In fact you can edit iv-config/config.xml manually, but it's pretty cumbersome, you need to replace < and > with < and >
Re: correct source to header
Posted: 24 Mar 2013, 00:00
by chrismarquesfoto
Hi Nick. Grateful for the response. I'm from Brazil and my ISP is UOL, maybe you do don't know them, but it's pretty big around here, so obviously they could not change your schedule just by my difficulty. I said I don't understand much about programming but everything I learned today was because I have searched information on the web. I'm not afraid to try! I just you to
tell me exactly the folder path that i should change the characters!
Please take a look at the attachment and take a look at my site in the mobile version:
www.chrismarquesfoto.com. The header is there but is looks soooo large. I've
tried to change some files to test, so I always replace them for originals. So please help me? If you can guide me in the first issue (exactly name of the path/file to be changed), I'll feel happy! I bought your site makes years but only now felt that I have material and experience to publicize my work!
ps. in time: Sorry for my wrong English, I hope you understand me!
Thank you in advance!
Christiana
Re: correct source to header
Posted: 24 Mar 2013, 09:51
by mjau-mjau
You have somehow missed a required <div> tag with the
heading class assigned, as it should be:
<div class="heading">
<a href="?/" class="ui-link">
<img src="iv-config/site-mobile-header.jpg">
</a>
</div>
Re: correct source to header
Posted: 25 Mar 2013, 09:32
by chrismarquesfoto
Uhhhuuuu!!!
Perfect!!!!
Many thanks!!!

best regards to all!