Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#37 2011-10-21 15:20:37
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Is there any way to use article tags outside of article context?
No, it isn’t strange. Sorry, it was my error, form hasn’t position. Try with the z-index: 15000;
for #pp_full_res
.
Offline
#38 2011-10-21 15:23:24
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Is there any way to use article tags outside of article context?
GugUser wrote:
No, it isn’t strange. Sorry, it was my error, form hasn’t position. Try with the
z-index: 15000;
for#pp_full_res
.
not working
I am not sure, but I don’t think its a z-index problem, as you can see you can click on the form, and even in the submit button.
Offline
#39 2011-10-21 15:26:54
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Is there any way to use article tags outside of article context?
I’m sorry, I thought that might have to do with the levels
Offline
#40 2011-10-21 15:28:46
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Is there any way to use article tags outside of article context?
I wish it did!
Thanks for trying to help!
Offline
#41 2011-10-21 15:56:24
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Is there any way to use article tags outside of article context?
Can you show how you include the form? And, where is “pickimage”?
Offline
#42 2011-10-21 16:06:26
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Is there any way to use article tags outside of article context?
GugUser wrote:
Can you show how you include the form? And, where is “pickimage”?
Not sure what pick image is :(
<a href="#inline-1" class="contacto" rel="prettyPhoto" title=""><img src="images/web/info.png" /></a>
<div id="inline-1" style="display:none">
<div style="padding:10px 10px 0 10px; ">
<h3>
<txp:zem_contact label="" to="manuel@mlarino.com" subject="AD - Usuario interesado en inmueble"
thanks="Gracias por su interés, nos pondremos en contacto con usted lo antes posible.">
<txp:zem_contact_secret label="">
Una persona está interesada en recivir mas información acerca del inmueble con REF:<txp:title />
Estos son sus datos:
</txp:zem_contact_secret>
<txp:zem_contact_text name="zemSubscriberFirstName" label="Nombre" required="1" />
<br/>
<txp:zem_contact_email name="zemSubscriberEmail" label="Email" required="1"/>
<br/>
<txp:zem_contact_text name="zemSubscriberref" label="Referencia" required="0" />
<br/>
<txp:zem_contact_textarea label="Mensaje" required="0"/>
<br/>
<txp:zem_contact_checkbox label="Quiero suscribirme al Boletín inmobiliario." name="zemDoSubscribe" checked="yes" required="no" />
<txp:zem_contact_secret name="zemSubscriberLists"
value="default" />
<br/>
<txp:zem_contact_submit label="Enviar"/>
</txp:zem_contact>
</h3>
</div>
</div>
Last edited by mlarino (2011-10-21 16:07:40)
Offline
#43 2011-10-21 16:12:08
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Is there any way to use article tags outside of article context?
I think you don’t need the code in lines 75-140 (you can edit “jquery.prettyPhoto.js”). See this answer (at he bottom):
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
keyboard_shortcuts: false
});
});
</script>
By the way: It seems that the function “pickimage” doesn’t exist and that you don’t need onload="pickimage()"
in <body>
.
Last edited by GugUser (2011-10-21 16:28:00)
Offline
#44 2011-10-21 16:29:24
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Is there any way to use article tags outside of article context?
GugUser wrote:
I think you don’t need the code in lines 75-140 (you can edit “jquery.prettyPhoto.js”). See this answer (at he bottom):
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
keyboard_shortcuts: false
});
});
</script>
By the way: It seems that the function “pickimage” doesn’t exist and that you don’t need onload="pickimage()"
in <body>
.
I am using the keyboard_shortcuts:false, here http://www.mlarino.com/asesoria/1709
still the same problem, and seems the keyboard shortcuts still work as usual.
Offline
#45 2011-10-21 22:07:31
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,477
Re: Is there any way to use article tags outside of article context?
Hola, nuevamente … ;-)
I can’t find the cause of the problem. But I suggest to improve the situation for the search for the cause.
- Please correct these errors
- Use the latest version of prettyPhoto (3.1.3) and jQuery (1.6.x)
- Configure prettyPhoto in the file “jquery.prettyPhoto.js”
- Initialize prettyPhoto only with the following code before the closing tag of body,
</body>
, or before the closing tag of head,</head>
:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
Then we can look further …
Last edited by GugUser (2011-10-21 23:40:43)
Offline
#46 2011-10-31 12:22:21
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: Is there any way to use article tags outside of article context?
Thanks GugUser, the problem was that the version of PrettyPhoto was outdated, I uploaded the new one and its working great.
Thanks again
Last edited by mlarino (2011-10-31 12:22:42)
Offline