Search…

X3 Photo Gallery Support Forums

Search…
 
malsadiq
Topic Author
Posts: 8
Joined: 07 Sep 2012, 13:10

correct source to header

12 Sep 2012, 15:26

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: correct source to header

13 Sep 2012, 03:33

This is explained here in detail:
https://www.photo.gallery/documentation/mobile-guide/
Code
<img src="iv-config/startpage-mobile-header.jpg"/>
 
malsadiq
Topic Author
Posts: 8
Joined: 07 Sep 2012, 13:10

Re: correct source to header

13 Sep 2012, 05:47

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??
Attachments
SC20120913-132106.png
SC20120913-132106.png (120.57 KiB) Viewed 7003 times
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: correct source to header

13 Sep 2012, 12:23

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.
firedev.com
 
malsadiq
Topic Author
Posts: 8
Joined: 07 Sep 2012, 13:10

Re: correct source to header

13 Sep 2012, 14:23

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
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: correct source to header

16 Sep 2012, 08:51

You would need to edit iv-includes/templates/mobile/layout.phtml I think. Here:
Code
<?php if ($theWelcomeHTML = $theConfig->get('/config/imagevue/mobile/heading')): ?>
<div class="heading"><?php echo t($theWelcomeHTML) ?></div>
<?php endif ?>
Replace this with
Code
<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.
firedev.com
 
User avatar
chrismarquesfoto
Posts: 5
Joined: 18 Mar 2013, 15:02

Re: correct source to header

22 Mar 2013, 10:49

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

thank you!!!

Christiana
 
User avatar
chrismarquesfoto
Posts: 5
Joined: 18 Mar 2013, 15:02

Can't upload my customized Header!!!

22 Mar 2013, 14:31

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!
Attachments
ReportMobileLayout.jpg
ReportMobileLayout.jpg (205.18 KiB) Viewed 6596 times
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: correct source to header

23 Mar 2013, 06:33

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 >
firedev.com
 
User avatar
chrismarquesfoto
Posts: 5
Joined: 18 Mar 2013, 15:02

Re: correct source to header

24 Mar 2013, 00:00

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
Attachments
Header_240313.jpg
Header_240313.jpg (210.9 KiB) Viewed 6581 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: correct source to header

24 Mar 2013, 09:51

You have somehow missed a required <div> tag with the heading class assigned, as it should be:
Code
<div class="heading">
<a href="?/" class="ui-link">
<img src="iv-config/site-mobile-header.jpg">
</a>
</div>
 
User avatar
chrismarquesfoto
Posts: 5
Joined: 18 Mar 2013, 15:02

Re: correct source to header

25 Mar 2013, 09:32

Uhhhuuuu!!!
Perfect!!!!

Many thanks!!! :P best regards to all!