Jump to content
  • 0

help html or php code for flux


azze25

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

Hey guys, good day. I just wan't to ask for a help regarding my flux.

Actually, I'm using gerome's flux (diabro). And we know, almost of it are coded but not all. example which is the "Feature" button.

Untitled2.png

If, I click that, it shows an error ....

Untitled.png

I know that this error refers to a missing page. the given link on the browser after clicking this is http://thisismydomai...t&path=features

My problem is, how do I create a page for "feature" button so that whenever I click it, I will be redirected into it rather than having an error? And where fo i need to put it?

Thank you so much for your help.

Edited by azze25
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

If I remember right, you go to flux directory/templates/default

Then make a folder for /content/ and add a page in there for features.

OR

You make 2 folders, /content/features/ and then add in an index.php

I'm sorry, it's been a while. I forgot which way it goes.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

I tried it, but still, page not found. I tried creating a folder theme/myfluxtheme/content/features.php and theme/myfluxtheme/content/index.php; theme/myfluxtheme/content/features.php

I don't know my mistake but this is the path on the link on my browser /?module=pages&action=content&path=features

Did I miss something?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  410
  • Reputation:   29
  • Joined:  04/04/12
  • Last Seen:  

Ah, you're using a custom theme huh. There's no folder named /features/ in the default, so I'm a bit unsure.

I'd say to search your flux files for a folder named features. Because otherwise, all flux pages follow a standard path.

For example, the register page which is /?module=account&action=create is found in /themes/default/account/create.php

But with the features path, perhaps it's in a seperate folder. Try searching for that, then placing a file /pages/content.php

Link to comment
Share on other sites

×
×
  • Create New...