Patrocinador



Voy a cenar y luego me ocupo del resto, el subsilver, hacer el .xml postearlo bien y todo eso. Necesitará un nombre. ¿No? Sugiero "Buscar temas de usuario al ver perfil v.1.0.0". ¿Original, no?
Moderador: Personalizaciones de Extensiones
Patrocinador
Código: Seleccionar todo
<!-- IF S_DISPLAY_SEARCH --><br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a><!-- ENDIF --></span></td>
Código: Seleccionar todo
<!-- IF S_DISPLAY_SEARCH --><br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a> | <a href="{U_SEARCH_USER_TOPICS}">{L_SEARCH_USER_TOPICS}</a><!-- ENDIF --></span></td>
Cuando dices que has intentado hacerlo a mano, a como te refieres ?Gabriel Grey escribió:Mmm. Lo del xml no era tan fácil como yo pensaba...Si no me equivoco los xml se generan habitualmente con algún tipo de software "Modx Creator". ¿No? He intentado hacerlo a mano y, bueno, no era tan fácil como yo pensana.
No se mucho de subsilver2, pero si el cambio de prosilver es correcto, creo que en subsilver2 sería tal y como lo has puestoGabriel Grey escribió: Abrir raíz/style/subsilver2/template/memberlist_view.html
Buscar:Reemplazar por:Código: Seleccionar todo
<!-- IF S_DISPLAY_SEARCH --><br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a><!-- ENDIF --></span></td>
Código: Seleccionar todo
<!-- IF S_DISPLAY_SEARCH --><br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a> | <a href="{U_SEARCH_USER_TOPICS}">{L_SEARCH_USER_TOPICS}</a><!-- ENDIF --></span></td>
Gracias por la info. Supongo que me será muy útil. Este fin de semana lo miraré con calma.Saske escribió:Gabriel Grey escribió:No se como lo estarás haciendo, pero yo los archivos .xml los hago desde phpBB.Com
Yo siempre los hice y los seguiré haciendo a manoGabriel Grey escribió:Lo intenté simplemente editando un .xml cualquiera. Me dí cuenta al poco de que esa no era la forma más profesional de hacerlo. Leyendo el archivo "por dentro" ví algo de un modx-creator y entendí que no estaba tomando el camino adecuado.
MOD en Desarrollo, :Gabriel Grey escribió:Tampoco tengo claro en qué subforo se deben postear estas cosas. ¿Mods en desarrollo? ¿En el "general" de los mods? ¿En discusión de autores?
Código: Seleccionar todo
<description lang="en"><![CDATA[Display a link to display user’s own topics when visit his prifile]]></description>
<description lang="es"><![CDATA[Muestra un link para buscar los temas iniciados por un usuario al ver su perfil.]]></description>
Código: Seleccionar todo
install.xml
license.txt
modx.prosilver.en.xsl
contrib/es.xml
contrib/subsilver2.xml
Código: Seleccionar todo
<edit>
<find><![CDATA[<dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF -->]]></find>
<action type="replace-with"><![CDATA[<dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><br /><strong><a href="{U_SEARCH_USER_TOPICS}">{L_SEARCH_USER_TOPICS}</a></strong><!-- ENDIF -->]]></action>
</edit>
Código: Seleccionar todo
<edit>
<find><![CDATA[ <dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF -->]]></find>
<inline-edit>
<inline-find><![CDATA[</a></strong>]]></inline-find>
<inline-action type="after-add"><![CDATA[<br /><strong><a href="{U_SEARCH_USER_TOPICS}">{L_SEARCH_USER_TOPICS}</a></strong>]]></inline-action>
</inline-edit>
</edit>