Jump to content

pregunta sobre flux


aepa1940

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  50
  • Reputation:   0
  • Joined:  07/09/12
  • Last Seen:  

/? mi consulta como duplicar el tos.php y tener un tos2.php lo agrege a la aplicacion.php

me aparece pero al clikear  en feature

me arroja lo siguiente

error

Page Not Found
 
The page you have requested was not found on our server. Please check the address and make sure it is correct, and try again.
 
/flux/?module=service&action=tos2
 
como puedo agregar solo ese modulo q funcionaria igual al tos.php
solo q le cambiaria el nombre del menu dirigiendola al tos2.php  /hmm
 
esperando q me puedan ayudar
atte aepa
Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  10/29/12
  • Last Seen:  

eso es simple, cada vez que desees integrar una nueva página al flux debes agregar la página en blanco (o mejor dicho con este codigo):

 

<?php
if (!defined('FLUX_ROOT')) exit;
$title    = 'titulo de la página';
?>

Si quieres agregar un ToS2.php debe ir en Root>/CP/Module/service/tos2.php (ya que esa es la carpeta de Tos.php)

 

para que el flux te lo reconozca, y la otra página en tu Theme Root>/cp/Theme/youTheme/service/tos2.php (es en este php donde colocas toda la info que quieras q se vea al abrir www.tuweb.com/?module=service&action=tos2

 

saludos.

espero que te haya servido (aun por la demora del post xD)

Edited by xairox
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...